CloneSet4073


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4201.000statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14276
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/builder/NameEnvironment.java
24156
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/JavaSearchNameEnvironment.java
Clone Instance
1
Line Count
4
Source Line
276
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/builder/NameEnvironment.java

        if (qualifiedTypeName.length() > typeName.length) {
                int typeNameStart = qBinaryFileName.length() - typeName.length - 6; // size of ".class"
                qPackageName =  qBinaryFileName.substring(0, typeNameStart - 1);
                binaryFileName = qBinaryFileName.substring(typeNameStart);
        }


Clone Instance
2
Line Count
4
Source Line
156
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/JavaSearchNameEnvironment.java

                                if (qualifiedTypeName.length() > typeName.length) {
                                        int typeNameStart = qBinaryFileName.length() - typeName.length - 6; // size of ".class"
                                        qPackageName =  qBinaryFileName.substring(0, typeNameStart - 1);
                                        binaryFileName = qBinaryFileName.substring(typeNameStart);
                                }


Clone AbstractionParameter Count: 0Parameter Bindings

if (qualifiedTypeName.length() > typeName.length) {
  int typeNameStart = qBinaryFileName.length() - typeName.length - 6; // size of ".class"
  qPackageName = qBinaryFileName.substring(0, typeNameStart - 1);
  binaryFileName = qBinaryFileName.substring(typeNameStart);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None