CloneSet5657


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3240.957statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13318
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ImportRewriteAnalyzer.java
23592
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Util.java
Clone Instance
1
Line Count
3
Source Line
318
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ImportRewriteAnalyzer.java

                for (int i = 0; i < len; i++) {
                        if (s.charAt(i) != t.charAt(i)) {
                                return i;
                        }
                }


Clone Instance
2
Line Count
3
Source Line
592
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Util.java

                for (int i = 0; i < stringLength; i++)  {
                        if (fileName.charAt(i) != string.charAt(i)) {
                                return false;
                        }
                }


Clone AbstractionParameter Count: 4Parameter Bindings

for (int i = 0; i <  [[#variable971f16c0]]; i++) {
  if ( [[#variable971f1620]].charAt(i) != [[#variable971f1580]].charAt(i)) {
    return [[#variable971f14c0]];
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#971f16c0]]
len 
12[[#971f16c0]]
stringLength 
21[[#971f1620]]
s 
22[[#971f1620]]
fileName 
31[[#971f1580]]
t 
32[[#971f1580]]
string 
41[[#971f14c0]]
i 
42[[#971f14c0]]
false