CloneSet558


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13220.963statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113498
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/TimePeriodValues.java
213661
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/XYSeries.java
Next
Last
Clone Instance
1
Line Count
13
Source Line
498
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/TimePeriodValues.java

if (this.data.size() > 0) {
  for (int index = start; index <= end; index++) {
    TimePeriodValue item = (TimePeriodValue) this.data.get(index);
    TimePeriodValue clone = (TimePeriodValue) item.clone();
    try {
      copy.add(clone);
    }
    catch (SeriesException
           e) {
      System.err.println("Failed to add cloned item.");
    }
  }
}
return copy;


First
Previous
Clone Instance
2
Line Count
13
Source Line
661
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/XYSeries.java

if (this.data.size() > 0) {
  for (int index = start; index <= end; index++) {
    XYDataItem item = (XYDataItem) this.data.get(index);
    XYDataItem clone = (XYDataItem) item.clone();
    try {
      copy.add(clone);
    }
    catch (SeriesException
           e) {
      System.err.println("Unable to add cloned data item.");
    }
  }
}
return copy;


Clone AbstractionParameter Count: 2Parameter Bindings

if (this.data.size() > 0) {
  for (int index = start; index <= end; index++) {
     [[#variable18c4a140]] item = ( [[#variable18c4a140]]) this.data.get(index);
     [[#variable18c4a140]] clone = ( [[#variable18c4a140]]) item.clone();
    try {
      copy.add(clone);
    }
    catch (SeriesException
           e) {
      System.err.println( [[#variable18c4bb60]]);
    }
  }
}
return copy;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18c4a140]]
TimePeriodValue 
12[[#18c4a140]]
XYDataItem 
21[[#18c4bb60]]
"Failed to add cloned item." 
22[[#18c4bb60]]
"Unable to add cloned data item."