Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 2 | 0.969 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 228 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/annotations/XYPolygonAnnotation.java |
2 | 10 | 239 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/annotations/XYPolygonAnnotation.java |
| |||||
{ area.moveTo((float) y, (float) x); for (int i = 2; i < this.polygon.length; i += 2) { x = domainAxis.valueToJava2D(this.polygon[i], dataArea, domainEdge); y = rangeAxis.valueToJava2D(this.polygon[i + 1], dataArea, rangeEdge); area.lineTo((float) y, (float) x); } area.closePath(); } |
| |||||
{ area.moveTo((float) x, (float) y); for (int i = 2; i < this.polygon.length; i += 2) { x = domainAxis.valueToJava2D(this.polygon[i], dataArea, domainEdge); y = rangeAxis.valueToJava2D(this.polygon[i + 1], dataArea, rangeEdge); area.lineTo((float) x, (float) y); } area.closePath(); } |
| |||
{ area.moveTo((float) [[#variable18c7cca0]], (float) [[#variable18c7cc20]]); for (int i = 2; i < this.polygon.length; i += 2) { x = domainAxis.valueToJava2D(this.polygon[i], dataArea, domainEdge); y = rangeAxis.valueToJava2D(this.polygon[i + 1], dataArea, rangeEdge); area.lineTo((float) [[#variable18c7cca0]], (float) [[#variable18c7cc20]]); } area.closePath(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18c7cca0]] | y |
1 | 2 | [[#18c7cca0]] | x |
2 | 1 | [[#18c7cc20]] | x |
2 | 2 | [[#18c7cc20]] | y |