Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 3 | 0.958 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 472 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/MultiplePiePlot.java |
2 | 12 | 486 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/MultiplePiePlot.java |
| |||||
{ // column keys provide potential keys for individual pies for (int c = 0; c < this.dataset.getColumnCount(); c++) { Comparable key = this.dataset.getColumnKey(c); Paint p = piePlot.getSectionPaint(key); if (p == null) { p = (Paint) this.sectionPaints.get(key); if (p == null) { p = getDrawingSupplier().getNextPaint(); } } this.sectionPaints.put(key, p); } } |
| |||||
{ // row keys provide potential keys for individual pies for (int r = 0; r < this.dataset.getRowCount(); r++) { Comparable key = this.dataset.getRowKey(r); Paint p = piePlot.getSectionPaint(key); if (p == null) { p = (Paint) this.sectionPaints.get(key); if (p == null) { p = getDrawingSupplier().getNextPaint(); } } this.sectionPaints.put(key, p); } } |
| |||
{ // row keys provide potential keys for individual pies // column keys provide potential keys for individual pies for (int [[#variable1a9fcc40]]= 0; [[#variable1a9fcc40]] < this.dataset. [[#variable1a9fcd00]](); [[#variable1a9fcc40]]++) { Comparable key = this.dataset. [[#variable1a9fcca0]]( [[#variable1a9fcc40]]); Paint p = piePlot.getSectionPaint(key); if (p == null) { p = (Paint) this.sectionPaints.get(key); if (p == null) { p = getDrawingSupplier().getNextPaint(); } } this.sectionPaints.put(key, p); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1a9fcc40]] | c |
1 | 2 | [[#1a9fcc40]] | r |
2 | 1 | [[#1a9fcd00]] | getColumnCount |
2 | 2 | [[#1a9fcd00]] | getRowCount |
3 | 1 | [[#1a9fcca0]] | getColumnKey |
3 | 2 | [[#1a9fcca0]] | getRowKey |