Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 1 | 0.980 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 90 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/NLSKeyHyperlinkDetector.java |
2 | 4 | 115 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/NLSStringHover.java |
| ||||
if (node instanceof StringLiteral) { keyName = ((StringLiteral) node).getLiteralValue(); } else { keyName = ((SimpleName) node).getIdentifier(); } |
| ||||
if (node instanceof StringLiteral) { identifier = ((StringLiteral) node).getLiteralValue(); } else { identifier = ((SimpleName) node).getIdentifier(); } |
| |||
if (node instanceof StringLiteral) { [[#variable576f6820]]= ((StringLiteral) node).getLiteralValue(); } else { [[#variable576f6820]]= ((SimpleName) node).getIdentifier(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#576f6820]] | identifier |
1 | 2 | [[#576f6820]] | keyName |