CloneSet7284


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4210.980statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1490
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/NLSKeyHyperlinkDetector.java
24115
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/NLSStringHover.java
Clone Instance
1
Line Count
4
Source Line
90
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/NLSKeyHyperlinkDetector.java

                if (node instanceof StringLiteral) {
                        keyName = ((StringLiteral) node).getLiteralValue();
                }
                else   {
                        keyName = ((SimpleName) node).getIdentifier();
                }


Clone Instance
2
Line Count
4
Source Line
115
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/NLSStringHover.java

                if (node instanceof StringLiteral) {
                        identifier = ((StringLiteral) node).getLiteralValue();
                }
                else   {
                        identifier = ((SimpleName) node).getIdentifier();
                }


Clone AbstractionParameter Count: 1Parameter Bindings

if (node instanceof StringLiteral) {
   [[#variable576f6820]]= ((StringLiteral) node).getLiteralValue();
}
else {
   [[#variable576f6820]]= ((SimpleName) node).getIdentifier();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#576f6820]]
identifier 
12[[#576f6820]]
keyName