CloneSet9256


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
1201.000statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1161
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/PackageReferencePattern.java
21102
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/TypeReferencePattern.java
Clone Instance
1
Line Count
1
Source Line
61
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/PackageReferencePattern.java

        // if package has at least 4 segments, don't look at the first 2 since they are mostly
        // redundant (eg. in 'org.eclipse.jdt.core.*' 'org.eclipse' is used all the time)
        return --this.currentSegment >= (this.segments.length >= 4 ? 2:  0);


Clone Instance
2
Line Count
1
Source Line
102
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/TypeReferencePattern.java

                // Optimization, eg. type reference is 'org.eclipse.jdt.core.*'
                // if package has at least 4 segments, don't look at the first 2 since they are mostly
                // redundant (eg. in 'org.eclipse.jdt.core.*' 'org.eclipse' is used all the time)
                return --this.currentSegment >= (this.segments.length >= 4 ? 2:  0);


Clone AbstractionParameter Count: 0Parameter Bindings

// Optimization, eg. type reference is 'org.eclipse.jdt.core.*'
// if package has at least 4 segments, don't look at the first 2 since they are mostly
// redundant (eg. in 'org.eclipse.jdt.core.*' 'org.eclipse' is used all the time)
return --this.currentSegment >= (this.segments.length >= 4 ? 2: 0);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None