CloneSet399


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15230.977statement_sequence[14]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
115218
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/plot/dial/junit/DialPlotTests.java
215302
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/plot/dial/junit/DialPlotTests.java
Next
Last
Clone Instance
1
Line Count
15
Source Line
218
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/plot/dial/junit/DialPlotTests.java

DialPlot p = new DialPlot();
DialBackground b1 = new DialBackground(Color.red);
p.setBackground(b1);
p.addChangeListener(this );
this.lastEvent = null;
b1.setPaint(Color.blue);
assertNotNull(this.lastEvent);
DialBackground b2 = new DialBackground(Color.green);
p.setBackground(b2);
this.lastEvent = null;
b1.setPaint(Color.red);
assertNull(this.lastEvent);
b2.setPaint(Color.red);
assertNotNull(this.lastEvent);


First
Previous
Clone Instance
2
Line Count
15
Source Line
302
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/plot/dial/junit/DialPlotTests.java

DialPlot p = new DialPlot();
DialBackground b1 = new DialBackground(Color.red);
p.addLayer(b1);
p.addChangeListener(this );
this.lastEvent = null;
b1.setPaint(Color.blue);
assertNotNull(this.lastEvent);
DialBackground b2 = new DialBackground(Color.green);
p.addLayer(b2);
this.lastEvent = null;
b1.setPaint(Color.red);
assertNotNull(this.lastEvent);
b2.setPaint(Color.green);
assertNotNull(this.lastEvent);


Clone AbstractionParameter Count: 3Parameter Bindings

DialPlot p = new DialPlot();
DialBackground b1 = new DialBackground(Color.red);
p. [[#variable1a97e4c0]](b1);
p.addChangeListener(this );
this.lastEvent = null;
b1.setPaint(Color.blue);
assertNotNull(this.lastEvent);
DialBackground b2 = new DialBackground(Color.green);
p. [[#variable1a97e4c0]](b2);
this.lastEvent = null;
b1.setPaint(Color.red);
 [[#variable1a9804c0]](this.lastEvent);
b2.setPaint(Color. [[#variable1a97e7c0]]);
assertNotNull(this.lastEvent);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1a97e4c0]]
setBackground 
12[[#1a97e4c0]]
addLayer 
21[[#1a9804c0]]
assertNull 
22[[#1a9804c0]]
assertNotNull 
31[[#1a97e7c0]]
red 
32[[#1a97e7c0]]
green