CloneSet287


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
19230.963executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1193151
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/XYPlot.java
2193186
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/XYPlot.java
Next
Last
Clone Instance
1
Line Count
19
Source Line
3151
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/XYPlot.java

if (bandPaint != null) {
  boolean fillBand = false;
  ValueAxis xAxis = getDomainAxis();
  double previous = xAxis.getLowerBound();
  Iterator iterator = ticks.iterator();
  while (iterator.hasNext()) {
    ValueTick tick = (ValueTick) iterator.next();
    double current = tick.getValue();
    if (fillBand) {
      getRenderer().fillDomainGridBand(g2, this, xAxis, dataArea, previous, current);
    }
    previous = current;
    fillBand = !fillBand;
  }
  double end = xAxis.getUpperBound();
  if (fillBand) {
    getRenderer().fillDomainGridBand(g2, this, xAxis, dataArea, previous, end);
  }
}


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

if (bandPaint != null) {
  boolean fillBand = false;
  ValueAxis axis = getRangeAxis();
  double previous = axis.getLowerBound();
  Iterator iterator = ticks.iterator();
  while (iterator.hasNext()) {
    ValueTick tick = (ValueTick) iterator.next();
    double current = tick.getValue();
    if (fillBand) {
      getRenderer().fillRangeGridBand(g2, this, axis, dataArea, previous, current);
    }
    previous = current;
    fillBand = !fillBand;
  }
  double end = axis.getUpperBound();
  if (fillBand) {
    getRenderer().fillRangeGridBand(g2, this, axis, dataArea, previous, end);
  }
}


Clone AbstractionParameter Count: 3Parameter Bindings

if (bandPaint != null) {
  boolean fillBand = false;
  ValueAxis  [[#variable1a8a3800]]= [[#variable1a8a3760]]();
  double previous = [[#variable1a8a3800]].getLowerBound();
  Iterator iterator = ticks.iterator();
  while (iterator.hasNext()) {
    ValueTick tick = (ValueTick) iterator.next();
    double current = tick.getValue();
    if (fillBand) {
      getRenderer(). [[#variable1a8a2e00]](g2, this,  [[#variable1a8a3800]], dataArea, previous, current);
    }
    previous = current;
    fillBand = !fillBand;
  }
  double end = [[#variable1a8a3800]].getUpperBound();
  if (fillBand) {
    getRenderer(). [[#variable1a8a2e00]](g2, this,  [[#variable1a8a3800]], dataArea, previous, end);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1a8a3800]]
xAxis 
12[[#1a8a3800]]
axis 
21[[#1a8a3760]]
getDomainAxis 
22[[#1a8a3760]]
getRangeAxis 
31[[#1a8a2e00]]
fillDomainGridBand 
32[[#1a8a2e00]]
fillRangeGridBand