CloneSet978


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11230.953statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11188
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/annotations/junit/CategoryTextAnnotationTests.java
2784
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/annotations/junit/TextAnnotationTests.java
Next
Last
Clone Instance
1
Line Count
11
Source Line
88
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/annotations/junit/CategoryTextAnnotationTests.java

CategoryTextAnnotation a1 = new CategoryTextAnnotation("Test", "Category", 1.0);
CategoryTextAnnotation a2 = new CategoryTextAnnotation("Test", "Category", 1.0);
assertTrue(a1.equals(a2));
// category
a1.setCategory("Category 2");
assertFalse(a1.equals(a2));


First
Previous
Clone Instance
2
Line Count
7
Source Line
84
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/annotations/junit/TextAnnotationTests.java

TextAnnotation a1 = new CategoryTextAnnotation("Test", "Category", 1.0);
TextAnnotation a2 = new CategoryTextAnnotation("Test", "Category", 1.0);
assertTrue(a1.equals(a2));
// text 
a1.setText("Text");
assertFalse(a1.equals(a2));


Clone AbstractionParameter Count: 3Parameter Bindings

 [[#variable18e25cc0]] a1 = new CategoryTextAnnotation("Test", "Category", 1.0);
 [[#variable18e25cc0]] a2 = new CategoryTextAnnotation("Test", "Category", 1.0);
assertTrue(a1.equals(a2));
// category
// text 
a1. [[#variable18e25c20]]( [[#variable18e25ba0]]);
assertFalse(a1.equals(a2));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18e25cc0]]
CategoryTextAnnotation 
12[[#18e25cc0]]
TextAnnotation 
21[[#18e25c20]]
setCategory 
22[[#18e25c20]]
setText 
31[[#18e25ba0]]
"Category 2" 
32[[#18e25ba0]]
"Text"