CloneSet1928


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7240.976statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17179
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/ClassFileMatchLocator.java
27191
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/ClassFileMatchLocator.java
Clone Instance
1
Line Count
7
Source Line
179
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/ClassFileMatchLocator.java

        if ( !pattern.findDeclarations) return false; // only relevant when finding declarations
        if ( !(binaryInfo instanceof IBinaryField)) return false;

        IBinaryField field = (IBinaryField) binaryInfo;
        if ( !pattern.matchesName(pattern.name, field.getName())) return false;
        if ( !checkDeclaringType(enclosingBinaryType, pattern.declaringSimpleName, pattern.declaringQualification, pattern.isCaseSensitive(), pattern.isCamelCase()))
                return false;


Clone Instance
2
Line Count
7
Source Line
191
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/ClassFileMatchLocator.java

        if ( !pattern.findDeclarations) return false; // only relevant when finding declarations
        if ( !(binaryInfo instanceof IBinaryMethod)) return false;

        IBinaryMethod method = (IBinaryMethod) binaryInfo;
        if ( !pattern.matchesName(pattern.selector, method.getSelector())) return false;
        if ( !checkDeclaringType(enclosingBinaryType, pattern.declaringSimpleName, pattern.declaringQualification, pattern.isCaseSensitive(), pattern.isCamelCase()))
                return false;


Clone AbstractionParameter Count: 4Parameter Bindings

if ( !pattern.findDeclarations)
  return false; // only relevant when finding declarations
if ( !(binaryInfo instanceof [[#variableb6746600]]))
  return false;
 [[#variableb6746600]]  [[#variableb6746640]]= ( [[#variableb6746600]]) binaryInfo;
if ( !pattern.matchesName(pattern. [[#variableb67465e0]],  [[#variableb6746640]]. [[#variableb67466c0]]()))
  return false;
if ( !checkDeclaringType(enclosingBinaryType, pattern.declaringSimpleName, pattern.declaringQualification, pattern.isCaseSensitive(), pattern.isCamelCase()))
  return false;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b6746600]]
IBinaryMethod 
12[[#b6746600]]
IBinaryField 
21[[#b6746640]]
method 
22[[#b6746640]]
field 
31[[#b67465e0]]
selector 
32[[#b67465e0]]
name 
41[[#b67466c0]]
getSelector 
42[[#b67466c0]]
getName