| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 5 | 2 | 3 | 0.950 | statement_sequence[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 207 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/OverflowingLRUCache.java |
| 2 | 5 | 215 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/OverflowingLRUCache.java |
| ||||
while (entry != null) {
forwardListLength++;
entry = entry._fNext;
}
System.out.println("Forward length: " + forwardListLength); //$NON-NLS-1$
|
| ||||
while (entry != null) {
backwardListLength++;
entry = entry._fPrevious;
}
System.out.println("Backward length: " + backwardListLength); //$NON-NLS-1$
|
| |||
while (entry != null) {
[[#variablec1d06760]]++;
entry = entry. [[#variablebaea5020]];
}
System.out.println( [[#variablebaea5040]] + [[#variablec1d06760]]); //$NON-NLS-1$
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#c1d06760]] | forwardListLength |
| 1 | 2 | [[#c1d06760]] | backwardListLength |
| 2 | 1 | [[#baea5020]] | _fNext |
| 2 | 2 | [[#baea5020]] | _fPrevious |
| 3 | 1 | [[#baea5040]] | "Forward length: " |
| 3 | 2 | [[#baea5040]] | "Backward length: " |