CloneSet4648


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6201.000statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16171
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/sourcelookup/ArchiveSourceLocation.java
26101
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/sourcelookup/DirectorySourceLocation.java
Clone Instance
1
Line Count
6
Source Line
171
Source File
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/sourcelookup/ArchiveSourceLocation.java

                                int index = typeName.lastIndexOf('$');
                                if (index > lastSlash) {
                                        typeName = typeName.substring(0, index);
                                        possibleInnerType = true;
                                }
                                else   {
                                        possibleInnerType = false;
                                }


Clone Instance
2
Line Count
6
Source Line
101
Source File
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/sourcelookup/DirectorySourceLocation.java

                                int index = typeName.lastIndexOf('$');
                                if (index > lastSlash) {
                                        typeName = typeName.substring(0, index);
                                        possibleInnerType = true;
                                }
                                else   {
                                        possibleInnerType = false;
                                }


Clone AbstractionParameter Count: 0Parameter Bindings

int index = typeName.lastIndexOf('$');
if (index > lastSlash) {
  typeName = typeName.substring(0, index);
  possibleInnerType = true;
}
else {
  possibleInnerType = false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None