| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 8 | 7 | 4 | 0.950 | statement_sequence[3] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 8 | 73 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/ConstraintVariableFactory.java |
| 2 | 8 | 132 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/ConstraintVariableFactory.java |
| 3 | 8 | 146 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/ConstraintVariableFactory.java |
| 4 | 8 | 161 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/ConstraintVariableFactory.java |
| 5 | 8 | 192 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/ConstraintVariableFactory.java |
| 6 | 8 | 214 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/ConstraintVariableFactory.java |
| 7 | 8 | 231 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/ConstraintVariableFactory.java |
| ||||
if ( ! fLiteralMap.containsKey(nodeType)) {
fLiteralMap.put(nodeType, new ExpressionVariable(expression));
if (REPORT) nrCreated++;
}
else {
if (REPORT) nrRetrieved++;
}
if (REPORT) dumpConstraintStats();
return (ExpressionVariable) fLiteralMap.get(nodeType);
|
| ||||
if ( ! fDeclaringTypeVariableMap.containsKey(key)) {
fDeclaringTypeVariableMap.put(key, new DeclaringTypeVariable(memberTypeBinding));
if (REPORT) nrCreated++;
}
else {
if (REPORT) nrRetrieved++;
}
if (REPORT) dumpConstraintStats();
return (DeclaringTypeVariable) fDeclaringTypeVariableMap.get(key);
|
| ||||
if ( ! fDeclaringTypeVariableMap.containsKey(key)) {
fDeclaringTypeVariableMap.put(key, new DeclaringTypeVariable(fieldBinding));
if (REPORT) nrCreated++;
}
else {
if (REPORT) nrRetrieved++;
}
if (REPORT) dumpConstraintStats();
return (DeclaringTypeVariable) fDeclaringTypeVariableMap.get(key);
|
| ||||
if ( ! fDeclaringTypeVariableMap.containsKey(key)) {
fDeclaringTypeVariableMap.put(key, new DeclaringTypeVariable(methodBinding));
if (REPORT) nrCreated++;
}
else {
if (REPORT) nrRetrieved++;
}
if (REPORT) dumpConstraintStats();
return (DeclaringTypeVariable) fDeclaringTypeVariableMap.get(key);
|
| ||||
if ( ! fRawBindingMap.containsKey(key)) {
fRawBindingMap.put(key, new RawBindingVariable(binding));
if (REPORT) nrCreated++;
}
else {
if (REPORT) nrRetrieved++;
}
if (REPORT) dumpConstraintStats();
return (RawBindingVariable) fRawBindingMap.get(key);
|
| ||||
if ( !fReturnVariableMap.containsKey(key)) {
fReturnVariableMap.put(key, new ReturnTypeVariable(methodBinding));
if (REPORT) nrCreated++;
}
else {
if (REPORT) nrRetrieved++;
}
if (REPORT) dumpConstraintStats();
return (ReturnTypeVariable) fReturnVariableMap.get(key);
|
| ||||
if ( ! fTypeVariableMap.containsKey(range)) {
fTypeVariableMap.put(range, new TypeVariable(type));
if (REPORT) nrCreated++;
}
else {
if (REPORT) nrRetrieved++;
}
if (REPORT) dumpConstraintStats();
return (TypeVariable) fTypeVariableMap.get(range);
|
| |||
if ( ! [[#variable942de9c0]].containsKey( [[#variable97209020]])) {
[[#variable942de9c0]].put( [[#variable97209020]], new [[#variable9ced40c0]]( [[#variable9429f100]]));
if (REPORT)
nrCreated++;
}
else {
if (REPORT)
nrRetrieved++;
}
if (REPORT)
dumpConstraintStats();
return ( [[#variable9ced40c0]]) [[#variable942de9c0]].get( [[#variable97209020]]);
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#942de9c0]] | fLiteralMap |
| 1 | 2 | [[#942de9c0]] | fDeclaringTypeVariableMap |
| 1 | 3 | [[#942de9c0]] | fDeclaringTypeVariableMap |
| 1 | 4 | [[#942de9c0]] | fDeclaringTypeVariableMap |
| 1 | 5 | [[#942de9c0]] | fRawBindingMap |
| 1 | 6 | [[#942de9c0]] | fReturnVariableMap |
| 1 | 7 | [[#942de9c0]] | fTypeVariableMap |
| 2 | 1 | [[#97209020]] | nodeType |
| 2 | 2 | [[#97209020]] | key |
| 2 | 3 | [[#97209020]] | key |
| 2 | 4 | [[#97209020]] | key |
| 2 | 5 | [[#97209020]] | key |
| 2 | 6 | [[#97209020]] | key |
| 2 | 7 | [[#97209020]] | range |
| 3 | 1 | [[#9ced40c0]] | ExpressionVariable |
| 3 | 2 | [[#9ced40c0]] | DeclaringTypeVariable |
| 3 | 3 | [[#9ced40c0]] | DeclaringTypeVariable |
| 3 | 4 | [[#9ced40c0]] | DeclaringTypeVariable |
| 3 | 5 | [[#9ced40c0]] | RawBindingVariable |
| 3 | 6 | [[#9ced40c0]] | ReturnTypeVariable |
| 3 | 7 | [[#9ced40c0]] | TypeVariable |
| 4 | 1 | [[#9429f100]] | expression |
| 4 | 2 | [[#9429f100]] | memberTypeBinding |
| 4 | 3 | [[#9429f100]] | fieldBinding |
| 4 | 4 | [[#9429f100]] | methodBinding |
| 4 | 5 | [[#9429f100]] | binding |
| 4 | 6 | [[#9429f100]] | methodBinding |
| 4 | 7 | [[#9429f100]] | type |