CloneSet440


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8330.972statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1899
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/labels/junit/BoxAndWhiskerXYToolTipGeneratorTests.java
28109
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/labels/junit/BoxAndWhiskerXYToolTipGeneratorTests.java
38119
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/labels/junit/BoxAndWhiskerXYToolTipGeneratorTests.java
Next
Last
Clone Instance
1
Line Count
8
Source Line
99
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/labels/junit/BoxAndWhiskerXYToolTipGeneratorTests.java

// tooltip format
g1 = new BoxAndWhiskerXYToolTipGenerator("{0} --> {1} {2}", new SimpleDateFormat("yyyy"), new DecimalFormat("0.0"));
g2 = new BoxAndWhiskerXYToolTipGenerator("{1} {2}", new SimpleDateFormat("yyyy"), new DecimalFormat("0.0"));
assertFalse(g1.equals(g2));
g2 = new BoxAndWhiskerXYToolTipGenerator("{0} --> {1} {2}", new SimpleDateFormat("yyyy"), new DecimalFormat("0.0"));
assertTrue(g1.equals(g2));


Next
Previous
Clone Instance
2
Line Count
8
Source Line
109
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/labels/junit/BoxAndWhiskerXYToolTipGeneratorTests.java

// date format
g1 = new BoxAndWhiskerXYToolTipGenerator("{0} --> {1} {2}", new SimpleDateFormat("yyyy"), new DecimalFormat("0.0"));
g2 = new BoxAndWhiskerXYToolTipGenerator("{0} --> {1} {2}", new SimpleDateFormat("MMM-yyyy"), new DecimalFormat("0.0"));
assertFalse(g1.equals(g2));
g2 = new BoxAndWhiskerXYToolTipGenerator("{0} --> {1} {2}", new SimpleDateFormat("yyyy"), new DecimalFormat("0.0"));
assertTrue(g1.equals(g2));


First
Previous
Clone Instance
3
Line Count
8
Source Line
119
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/labels/junit/BoxAndWhiskerXYToolTipGeneratorTests.java

// Y format
g1 = new BoxAndWhiskerXYToolTipGenerator("{0} --> {1} {2}", new SimpleDateFormat("yyyy"), new DecimalFormat("0.0"));
g2 = new BoxAndWhiskerXYToolTipGenerator("{0} --> {1} {2}", new SimpleDateFormat("yyyy"), new DecimalFormat("0.00"));
assertFalse(g1.equals(g2));
g2 = new BoxAndWhiskerXYToolTipGenerator("{0} --> {1} {2}", new SimpleDateFormat("yyyy"), new DecimalFormat("0.0"));
assertTrue(g1.equals(g2));


Clone AbstractionParameter Count: 3Parameter Bindings

// Y format
// date format
// tooltip format
g1 = new BoxAndWhiskerXYToolTipGenerator("{0} --> {1} {2}", new SimpleDateFormat("yyyy"), new DecimalFormat("0.0"));
g2 = new BoxAndWhiskerXYToolTipGenerator( [[#variable1a9b61e0]], new SimpleDateFormat( [[#variable1a9b4c00]]), new DecimalFormat( [[#variable1a9b5fa0]]));
assertFalse(g1.equals(g2));
g2 = new BoxAndWhiskerXYToolTipGenerator("{0} --> {1} {2}", new SimpleDateFormat("yyyy"), new DecimalFormat("0.0"));
assertTrue(g1.equals(g2));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1a9b61e0]]
"{1} {2}" 
12[[#1a9b61e0]]
"{0} --> {1} {2}" 
13[[#1a9b61e0]]
"{0} --> {1} {2}" 
21[[#1a9b4c00]]
"yyyy" 
22[[#1a9b4c00]]
"MMM-yyyy" 
23[[#1a9b4c00]]
"yyyy" 
31[[#1a9b5fa0]]
"0.0" 
32[[#1a9b5fa0]]
"0.0" 
33[[#1a9b5fa0]]
"0.00"