File path: /columba-1.4-src/calendar/src/main/java/org/columba/calendar/ui/calendar/DateAreaBeanFactory.java | File path: /columba-1.4-src/calendar/src/main/java/org/columba/calendar/ui/navigation/DateAreaBeanFactory.java | |||
Method name: DateAreaBean initMonthlyDateArea()
|
Method name: DateAreaBean initDateArea()
|
|||
Number of AST nodes: 1 | Number of AST nodes: 1 | |||
1 | monthlyNorthDateHeaderBean↵ | 1 | monthlyNorthDateHeaderBean↵ | |
2 | .setHeaderRows(new CellDecorationRow[] { new com.miginfocom.calendar.header.CellDecorationRow(↵ | 2 | .setHeaderRows(new CellDecorationRow[] { new com.miginfocom.calendar.header.CellDecorationRow(↵ | |
3 | DateRangeI.RANGE_TYPE_DAY, new DateFormatList(↵ | 3 | DateRangeI.RANGE_TYPE_DAY, new DateFormatList("1E",↵ | |
4 | "EEEE|EEE|1E|", null), new AtFixed(20.0f),↵ | 4 | null), new AtFixed(20.0f),↵ | |
5 | new AbsRect(↵ | 5 | new AbsRect(↵ | |
6 | new AtStart(0.0f), new AtStart(0.0f),↵ | 6 | new AtStart(0.0f), new AtStart(0.0f),↵ | |
7 | new AtEnd(0.0f), new AtEnd(0.0f), null, null,↵ | 7 | new AtEnd(0.0f), new AtEnd(0.0f), null, null,↵ | |
8 | null), (java.awt.Paint[]) null,↵ | 8 | null), (java.awt.Paint[]) null,↵ | |
9 | new java.awt.Paint[] { labelColor }, null,↵ | 9 | new java.awt.Paint[] { labelColor }, null,↵ | |
10 | new Font[] { UIManager.getFont("Label.font") },↵ | 10 | new Font[] { UIManager.getFont("Label.font") },↵ | |
11 | new Integer[] { null }, new AtFraction(0.5f),↵ | 11 | new Integer[] { null }, new AtFraction(0.5f),↵ | |
12 | new AtFraction(0.5f)) }); | 12 |
| |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 1 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are in different classes |
Number of node comparisons | 1 |
Number of mapped statements | 1 |
Number of unmapped statements in the first code fragment | 0 |
Number of unmapped statements in the second code fragment | 0 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 2 |
ID | Statement | ID | Statement | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
11 | monthlyNorthDateHeaderBean.setHeaderRows(new CellDecorationRow[] {new com.miginfocom.calendar.header.CellDecorationRow(DateRangeI.RANGE_TYPE_DAY, new DateFormatList("EEEE|EEE|1E|", null), new AtFixed(20.0f), new AbsRect(new AtStart(0.0f), new AtStart(0.0f), new AtEnd(0.0f), new AtEnd(0.0f), null, null, null), (java.awt.Paint[])null, new java.awt.Paint[] {labelColor}, null, new Font[] {UIManager.getFont("Label.font")}, new Integer[] {null}, new AtFraction(0.5f), new AtFraction(0.5f))}); |
| 16 | monthlyNorthDateHeaderBean.setHeaderRows(new CellDecorationRow[] {new com.miginfocom.calendar.header.CellDecorationRow(DateRangeI.RANGE_TYPE_DAY, new DateFormatList("1E", null), new AtFixed(20.0f), new AbsRect(new AtStart(0.0f), new AtStart(0.0f), new AtEnd(0.0f), new AtEnd(0.0f), null, null, null), (java.awt.Paint[])null, new java.awt.Paint[] {labelColor}, null, new Font[] {UIManager.getFont("Label.font")}, new Integer[] {null}, new AtFraction(0.5f), new AtFraction(0.5f))}); |
Row | Violation |
---|