Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 2 | 0.985 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 686 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/LookupEnvironment.java |
2 | 7 | 727 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/LookupEnvironment.java |
| ||||
int cachedArgLength = cachedArguments == null ? 0: cachedArguments.length; if (argLength != cachedArgLength) continue nextCachedMethod; for (int j = 0; j < cachedArgLength; j++) { if (typeArguments[j] != cachedArguments[j]) continue nextCachedMethod; } // all arguments match, reuse current return cachedMethod; |
| ||||
int cachedArgLength = cachedArguments == null ? 0: cachedArguments.length; if (argLength != cachedArgLength) continue nextCachedType; // would be an error situation (from unresolved binaries) for (int j = 0; j < cachedArgLength; j++) { if (typeArguments[j] != cachedArguments[j]) continue nextCachedType; } // all arguments match, reuse current return cachedType; |
| |||
int cachedArgLength = cachedArguments == null ? 0: cachedArguments.length; if (argLength != cachedArgLength) continue [[#variableb1d5dde0]]; // would be an error situation (from unresolved binaries) for (int j = 0; j < cachedArgLength; j++) { if (typeArguments[j] != cachedArguments[j]) continue [[#variableb1d5dde0]]; } // all arguments match, reuse current return [[#variableb5304620]]; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b1d5dde0]] | nextCachedType |
1 | 2 | [[#b1d5dde0]] | nextCachedMethod |
2 | 1 | [[#b5304620]] | cachedType |
2 | 2 | [[#b5304620]] | cachedMethod |