CloneSet3779


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3340.958statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1398
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/TestKind.java
23687
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeProcessor.java
33238
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeAssistAdvancedConfigurationBlock.java
Clone Instance
1
Line Count
3
Source Line
98
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/TestKind.java

                for (int i = 0; i < ids.length; i++) {
                        if (ids[i].equals(otherKind.getId()))
                                return true;
                }


Clone Instance
2
Line Count
3
Source Line
687
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeProcessor.java

                        for (int i = 0; i < params.length; i++) {
                                if (params[i].equals(currentLocal.getElementName()))
                                        return true;
                        }


Clone Instance
3
Line Count
3
Source Line
238
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeAssistAdvancedConfigurationBlock.java

                for (int i = 0; i < ids.length; i++) {
                        if (ids[i].equals(cat.getId()))
                                return false;
                }


Clone AbstractionParameter Count: 4Parameter Bindings

for (int i = 0; i <  [[#variableb2ffc700]].length; i++) {
  if ( [[#variableb2ffc700]][i].equals( [[#variableb2ffc6a0]]. [[#variableb2ffc620]]()))
    return [[#variableb2ffc3e0]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b2ffc700]]
ids 
12[[#b2ffc700]]
params 
13[[#b2ffc700]]
ids 
21[[#b2ffc6a0]]
otherKind 
22[[#b2ffc6a0]]
currentLocal 
23[[#b2ffc6a0]]
cat 
31[[#b2ffc620]]
getId 
32[[#b2ffc620]]
getElementName 
33[[#b2ffc620]]
getId 
41[[#b2ffc3e0]]
true 
42[[#b2ffc3e0]]
true 
43[[#b2ffc3e0]]
false