Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 4 | 0.976 | statement_sequence[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 179 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/ClassFileMatchLocator.java |
2 | 7 | 191 | 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; |
| ||||
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; |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b6746600]] | IBinaryMethod |
1 | 2 | [[#b6746600]] | IBinaryField |
2 | 1 | [[#b6746640]] | method |
2 | 2 | [[#b6746640]] | field |
3 | 1 | [[#b67465e0]] | selector |
3 | 2 | [[#b67465e0]] | name |
4 | 1 | [[#b67466c0]] | getSelector |
4 | 2 | [[#b67466c0]] | getName |