CloneSet3082


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.971statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
146769
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java
246775
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java
Clone Instance
1
Line Count
4
Source Line
6769
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java

                        for (int k = 0; k < excludedNames.length;  k++) {
                                if (CharOperation.equals(name, excludedNames[k], false)) {
                                        name = CharOperation.concat(firstName, String.valueOf(count++).toCharArray());
                                        continue next;
                                }
                        }


Clone Instance
2
Line Count
4
Source Line
6775
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java

                        for (int i = 0; i < otherParameterNames.length; i++) {
                                if (CharOperation.equals(name, otherParameterNames[i], false)) {
                                        name = CharOperation.concat(firstName, String.valueOf(count++).toCharArray());
                                        continue next;
                                }
                        }


Clone AbstractionParameter Count: 2Parameter Bindings

for (int  [[#variable97bca980]]= 0; [[#variable97bca980]] <  [[#variable97bca920]].length; [[#variable97bca980]]++) {
  if (CharOperation.equals(name,  [[#variable97bca920]][ [[#variable97bca980]]], false)) {
    name = CharOperation.concat(firstName, String.valueOf(count++).toCharArray());
    continue next;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#97bca980]]
i 
12[[#97bca980]]
k 
21[[#97bca920]]
otherParameterNames 
22[[#97bca920]]
excludedNames