CloneSet678


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8330.962statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18217
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/data/time/junit/MonthTests.java
28227
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/data/time/junit/MonthTests.java
38237
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/data/time/junit/MonthTests.java
Next
Last
Clone Instance
1
Line Count
8
Source Line
217
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/data/time/junit/MonthTests.java

// test 1...
try {
  month = Month.parseMonth("1990-01");
}
catch (TimePeriodFormatException
       e) {
  month = new Month(1, 1900);
}
assertEquals(1, month.getMonth());
assertEquals(1990, month.getYear().getYear());


Next
Previous
Clone Instance
2
Line Count
8
Source Line
227
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/data/time/junit/MonthTests.java

// test 2...
try {
  month = Month.parseMonth("02-1991");
}
catch (TimePeriodFormatException
       e) {
  month = new Month(1, 1900);
}
assertEquals(2, month.getMonth());
assertEquals(1991, month.getYear().getYear());


First
Previous
Clone Instance
3
Line Count
8
Source Line
237
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/data/time/junit/MonthTests.java

// test 3...
try {
  month = Month.parseMonth("March 1993");
}
catch (TimePeriodFormatException
       e) {
  month = new Month(1, 1900);
}
assertEquals(3, month.getMonth());
assertEquals(1993, month.getYear().getYear());


Clone AbstractionParameter Count: 3Parameter Bindings

// test 1...
// test 2...
// test 3...
try {
  month = Month.parseMonth( [[#variable18d03200]]);
}
catch (TimePeriodFormatException
       e) {
  month = new Month(1, 1900);
}
assertEquals( [[#variable18d01440]], month.getMonth());
assertEquals( [[#variable18cf80a0]], month.getYear().getYear());
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18d03200]]
"1990-01" 
12[[#18d03200]]
"02-1991" 
13[[#18d03200]]
"March 1993" 
21[[#18d01440]]
1 
22[[#18d01440]]
2 
23[[#18d01440]]
3 
31[[#18cf80a0]]
1990 
32[[#18cf80a0]]
1991 
33[[#18cf80a0]]
1993