Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 2 | 0.963 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 498 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/TimePeriodValues.java |
2 | 13 | 661 | 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++) { 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; |
| |||||
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; |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18c4a140]] | TimePeriodValue |
1 | 2 | [[#18c4a140]] | XYDataItem |
2 | 1 | [[#18c4bb60]] | "Failed to add cloned item." |
2 | 2 | [[#18c4bb60]] | "Unable to add cloned data item." |