CloneSet169


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
31210.975statement_sequence[16]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13198
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/labels/junit/StandardPieSectionLabelGeneratorTests.java
23198
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/labels/junit/StandardPieToolTipGeneratorTests.java
Next
Last
Clone Instance
1
Line Count
31
Source Line
98
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/labels/junit/StandardPieSectionLabelGeneratorTests.java

g1 = new StandardPieSectionLabelGenerator("{0}", new DecimalFormat("#,##0.00"), NumberFormat.getPercentInstance());
assertFalse(g1.equals(g2));
g2 = new StandardPieSectionLabelGenerator("{0}", new DecimalFormat("#,##0.00"), NumberFormat.getPercentInstance());
assertTrue(g1.equals(g2));
g1 = new StandardPieSectionLabelGenerator("{0} {1}", new DecimalFormat("#,##0.00"), NumberFormat.getPercentInstance());
assertFalse(g1.equals(g2));
g2 = new StandardPieSectionLabelGenerator("{0} {1}", new DecimalFormat("#,##0.00"), NumberFormat.getPercentInstance());
assertTrue(g1.equals(g2));
g1 = new StandardPieSectionLabelGenerator("{0} {1}", new DecimalFormat("#,##0"), NumberFormat.getPercentInstance());
assertFalse(g1.equals(g2));
g2 = new StandardPieSectionLabelGenerator("{0} {1}", new DecimalFormat("#,##0"), NumberFormat.getPercentInstance());
assertTrue(g1.equals(g2));
g1 = new StandardPieSectionLabelGenerator("{0} {1}", new DecimalFormat("#,##0"), new DecimalFormat("0.000%"));
assertFalse(g1.equals(g2));
g2 = new StandardPieSectionLabelGenerator("{0} {1}", new DecimalFormat("#,##0"), new DecimalFormat("0.000%"));
assertTrue(g1.equals(g2));


First
Previous
Clone Instance
2
Line Count
31
Source Line
98
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/labels/junit/StandardPieToolTipGeneratorTests.java

g1 = new StandardPieToolTipGenerator("{0}", new DecimalFormat("#,##0.00"), NumberFormat.getPercentInstance());
assertFalse(g1.equals(g2));
g2 = new StandardPieToolTipGenerator("{0}", new DecimalFormat("#,##0.00"), NumberFormat.getPercentInstance());
assertTrue(g1.equals(g2));
g1 = new StandardPieToolTipGenerator("{0} {1}", new DecimalFormat("#,##0.00"), NumberFormat.getPercentInstance());
assertFalse(g1.equals(g2));
g2 = new StandardPieToolTipGenerator("{0} {1}", new DecimalFormat("#,##0.00"), NumberFormat.getPercentInstance());
assertTrue(g1.equals(g2));
g1 = new StandardPieToolTipGenerator("{0} {1}", new DecimalFormat("#,##0"), NumberFormat.getPercentInstance());
assertFalse(g1.equals(g2));
g2 = new StandardPieToolTipGenerator("{0} {1}", new DecimalFormat("#,##0"), NumberFormat.getPercentInstance());
assertTrue(g1.equals(g2));
g1 = new StandardPieToolTipGenerator("{0} {1}", new DecimalFormat("#,##0"), new DecimalFormat("0.000%"));
assertFalse(g1.equals(g2));
g2 = new StandardPieToolTipGenerator("{0} {1}", new DecimalFormat("#,##0"), new DecimalFormat("0.000%"));
assertTrue(g1.equals(g2));


Clone AbstractionParameter Count: 1Parameter Bindings

g1 = new [[#variable1aac59c0]]("{0}", new DecimalFormat("#,##0.00"), NumberFormat.getPercentInstance());
assertFalse(g1.equals(g2));
g2 = new [[#variable1aac59c0]]("{0}", new DecimalFormat("#,##0.00"), NumberFormat.getPercentInstance());
assertTrue(g1.equals(g2));
g1 = new [[#variable1aac59c0]]("{0} {1}", new DecimalFormat("#,##0.00"), NumberFormat.getPercentInstance());
assertFalse(g1.equals(g2));
g2 = new [[#variable1aac59c0]]("{0} {1}", new DecimalFormat("#,##0.00"), NumberFormat.getPercentInstance());
assertTrue(g1.equals(g2));
g1 = new [[#variable1aac59c0]]("{0} {1}", new DecimalFormat("#,##0"), NumberFormat.getPercentInstance());
assertFalse(g1.equals(g2));
g2 = new [[#variable1aac59c0]]("{0} {1}", new DecimalFormat("#,##0"), NumberFormat.getPercentInstance());
assertTrue(g1.equals(g2));
g1 = new [[#variable1aac59c0]]("{0} {1}", new DecimalFormat("#,##0"), new DecimalFormat("0.000%"));
assertFalse(g1.equals(g2));
g2 = new [[#variable1aac59c0]]("{0} {1}", new DecimalFormat("#,##0"), new DecimalFormat("0.000%"));
assertTrue(g1.equals(g2));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1aac59c0]]
StandardPieSectionLabelGenerator 
12[[#1aac59c0]]
StandardPieToolTipGenerator