Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.979 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 42 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/PackageReferencePattern.java |
2 | 5 | 78 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/TypeReferencePattern.java |
| ||||
public void decodeIndexKey(char[] key) { // Package reference keys are encoded as 'name' (where 'name' is the last segment of the package name) this.pkgName = key; } public SearchPattern getBlankPattern() { return new PackageReferencePattern(R_EXACT_MATCH| R_CASE_SENSITIVE); } |
| ||||
public void decodeIndexKey(char[] key) { this.simpleName = key; } public SearchPattern getBlankPattern() { return new TypeReferencePattern(R_EXACT_MATCH| R_CASE_SENSITIVE); } |
| |||
public void decodeIndexKey(char[] key) { // Package reference keys are encoded as 'name' (where 'name' is the last segment of the package name) this. [[#variable5b1fd7e0]]= key; } public SearchPattern getBlankPattern() { return new [[#variable5b1fd780]](R_EXACT_MATCH|R_CASE_SENSITIVE); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5b1fd7e0]] | simpleName |
1 | 2 | [[#5b1fd7e0]] | pkgName |
2 | 1 | [[#5b1fd780]] | TypeReferencePattern |
2 | 2 | [[#5b1fd780]] | PackageReferencePattern |