CloneSet2133


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4340.961statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1447
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/ASTNodeFinder.java
24140
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/ASTNodeFinder.java
34153
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/ASTNodeFinder.java
Clone Instance
1
Line Count
4
Source Line
47
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/ASTNodeFinder.java

                        for (int i = 0, length = fields.length; i < length; i++) {
                                FieldDeclaration field = fields[i];
                                if (CharOperation.equals(fieldName, field.name)) {
                                        return field;
                                }
                        }


Clone Instance
2
Line Count
4
Source Line
140
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/ASTNodeFinder.java

                                        for (int i = 0, length = types.length; i < length; i++) {
                                                TypeDeclaration type = types[i];
                                                if (CharOperation.equals(typeName, type.name)) {
                                                        return type;
                                                }
                                        }


Clone Instance
3
Line Count
4
Source Line
153
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/ASTNodeFinder.java

                                        for (int i = 0, length = types.length; i < length; i++) {
                                                TypeDeclaration type = types[i];
                                                if (CharOperation.equals(typeName, type.name)) {
                                                        return type;
                                                }
                                        }


Clone AbstractionParameter Count: 4Parameter Bindings

for (int i = 0, length = [[#variableb3d20c60]].length; i < length; i++) {
   [[#variableb3d20c00]]  [[#variableb3d20ba0]]= [[#variableb3d20c60]][i];
  if (CharOperation.equals( [[#variableb3d208a0]],  [[#variableb3d20ba0]].name)) {
    return [[#variableb3d20ba0]];
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b3d20c60]]
types 
12[[#b3d20c60]]
fields 
13[[#b3d20c60]]
types 
21[[#b3d20c00]]
TypeDeclaration 
22[[#b3d20c00]]
FieldDeclaration 
23[[#b3d20c00]]
TypeDeclaration 
31[[#b3d20ba0]]
type 
32[[#b3d20ba0]]
field 
33[[#b3d20ba0]]
type 
41[[#b3d208a0]]
typeName 
42[[#b3d208a0]]
fieldName 
43[[#b3d208a0]]
typeName