| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 6 | 2 | 3 | 0.966 | statement_sequence[3] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 6 | 1035 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/BasicSearchEngine.java |
| 2 | 6 | 1056 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/BasicSearchEngine.java |
| ||||
SearchPattern decodedPattern =
new QualifiedTypeDeclarationPattern(packageDeclaration, typeDeclaration.name, convertTypeKind(TypeDeclaration.kind(typeDeclaration.modifiers)), matchRule);
if (pattern.matchesDecodedKey(decodedPattern)) {
nameRequestor.acceptType(typeDeclaration.modifiers, packageDeclaration, typeDeclaration.name, CharOperation.NO_CHAR_CHAR, path, null);
}
return true;
|
| ||||
SearchPattern decodedPattern =
new QualifiedTypeDeclarationPattern(qualification, memberTypeDeclaration.name, convertTypeKind(TypeDeclaration.kind(memberTypeDeclaration.modifiers)), matchRule);
if (pattern.matchesDecodedKey(decodedPattern)) {
nameRequestor.acceptType(memberTypeDeclaration.modifiers, packageDeclaration, memberTypeDeclaration.name, enclosingTypeNames, path, null);
}
return true;
|
| |||
SearchPattern decodedPattern = new QualifiedTypeDeclarationPattern( [[#variable9d9923c0]], [[#variablea432a520]].name, convertTypeKind(TypeDeclaration.kind( [[#variablea432a520]].modifiers)), matchRule);
if (pattern.matchesDecodedKey(decodedPattern)) {
nameRequestor.acceptType( [[#variablea432a520]].modifiers, packageDeclaration, [[#variablea432a520]].name, [[#variablea432a4a0]], path, null);
}
return true;
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#9d9923c0]] | packageDeclaration |
| 1 | 2 | [[#9d9923c0]] | qualification |
| 2 | 1 | [[#a432a520]] | typeDeclaration |
| 2 | 2 | [[#a432a520]] | memberTypeDeclaration |
| 3 | 1 | [[#a432a4a0]] | CharOperation.NO_CHAR_CHAR |
| 3 | 2 | [[#a432a4a0]] | enclosingTypeNames |