CloneSet4903


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6220.979statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16279
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/jres/VMLibraryBlock.java
26978
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/JavaSnippetEditor.java
Clone Instance
1
Line Count
6
Source Line
279
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/jres/VMLibraryBlock.java

                                for (int i = 0; i < def.length; i++) {
                                        if ( !def[i].equals(libraryLocations[i])) {
                                                return false;
                                        }
                                }
                                return true;


Clone Instance
2
Line Count
6
Source Line
978
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/JavaSnippetEditor.java

                for (int i = 0; i < path1.length; i++) {
                        if ( !path1[i].equals(path2[i])) {
                                return false;
                        }
                }
                return true;


Clone AbstractionParameter Count: 2Parameter Bindings

for (int i = 0; i <  [[#variablebc6abde0]].length; i++) {
  if ( ! [[#variablebc6abde0]][i].equals( [[#variablebc6abe20]][i])) {
    return false;
  }
}
return true;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#bc6abde0]]
path1 
12[[#bc6abde0]]
def 
21[[#bc6abe20]]
path2 
22[[#bc6abe20]]
libraryLocations