Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
1 | 2 | 0 | 1.000 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 1 | 61 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/PackageReferencePattern.java |
2 | 1 | 102 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/TypeReferencePattern.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); |
| ||||
// 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); |
| |||
// 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |