Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 3 | 3 | 0.962 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 217 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/data/time/junit/MonthTests.java |
2 | 8 | 227 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/data/time/junit/MonthTests.java |
3 | 8 | 237 | 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()); |
| |||||
// 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()); |
| |||||
// 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()); |
| |||
// 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18d03200]] | "1990-01" |
1 | 2 | [[#18d03200]] | "02-1991" |
1 | 3 | [[#18d03200]] | "March 1993" |
2 | 1 | [[#18d01440]] | 1 |
2 | 2 | [[#18d01440]] | 2 |
2 | 3 | [[#18d01440]] | 3 |
3 | 1 | [[#18cf80a0]] | 1990 |
3 | 2 | [[#18cf80a0]] | 1991 |
3 | 3 | [[#18cf80a0]] | 1993 |