CloneSet506


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12230.958block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112472
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/MultiplePiePlot.java
212486
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/MultiplePiePlot.java
Next
Last
Clone Instance
1
Line Count
12
Source Line
472
Source File
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);
  }
}


First
Previous
Clone Instance
2
Line Count
12
Source Line
486
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/MultiplePiePlot.java

{
  // 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);
  }
}


Clone AbstractionParameter Count: 3Parameter Bindings

{
  // 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1a9fcc40]]
c 
12[[#1a9fcc40]]
r 
21[[#1a9fcd00]]
getColumnCount 
22[[#1a9fcd00]]
getRowCount 
31[[#1a9fcca0]]
getColumnKey 
32[[#1a9fcca0]]
getRowKey