| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 8 | 2 | 5 | 0.955 | block |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 8 | 116 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/ReferenceTypeImpl.java |
| 2 | 8 | 264 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/ReferenceTypeImpl.java |
| ||||
{
Integer key = new Integer(inputLine);
List outputLines = (List) fLineInfo.get(key);
if (outputLines == null) {
outputLines = new ArrayList();
fLineInfo.put(key, outputLines);
}
outputLines.add(new int[] {
outputStartLine, outputLineRange
} );
}
|
| ||||
{
Integer key = new Integer(outputStartLine);
List inputLines = (List) fOutputLineToInputLine.get(key);
if (inputLines == null) {
inputLines = new ArrayList();
fOutputLineToInputLine.put(key, inputLines);
}
inputLines.add(new int[] {
lineFileId, inputStartLine
} );
}
|
| |||
{
Integer key = new Integer( [[#variableb1e4fd80]]);
List [[#variableb1e4fd20]]= (List) [[#variableb1e4fca0]].get(key);
if ( [[#variableb1e4fd20]]== null) {
[[#variableb1e4fd20]]= new ArrayList();
[[#variableb1e4fca0]].put(key, [[#variableb1e4fd20]]);
}
[[#variableb1e4fd20]].add(new int[] {
[[#variableb1e4faa0]],
[[#variableb1e4fd40]]
} );
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#b1e4fd80]] | outputStartLine |
| 1 | 2 | [[#b1e4fd80]] | inputLine |
| 2 | 1 | [[#b1e4fd20]] | inputLines |
| 2 | 2 | [[#b1e4fd20]] | outputLines |
| 3 | 1 | [[#b1e4fca0]] | fOutputLineToInputLine |
| 3 | 2 | [[#b1e4fca0]] | fLineInfo |
| 4 | 1 | [[#b1e4faa0]] | lineFileId |
| 4 | 2 | [[#b1e4faa0]] | outputStartLine |
| 5 | 1 | [[#b1e4fd40]] | inputStartLine |
| 5 | 2 | [[#b1e4fd40]] | outputLineRange |