File path: /columba-1.4-src/calendar/src/main/java/org/columba/calendar/ui/navigation/DateAreaBeanFactory.java | File path: /columba-1.4-src/calendar/src/main/java/org/columba/calendar/ui/calendar/DateAreaBeanFactory.java | |||
Method name: DateAreaBean initDateArea()
|
Method name: DateAreaBean initMonthlyDateArea()
|
|||
Number of AST nodes: 3 | Number of AST nodes: 3 | |||
1 | eastDateHeaderBean.setLabelRotation(TextAShape.TYPE_SINGE_LINE_ROT_CW↵ | 1 | monthlyWestDateHeaderBean↵ | |
2 | );↵ | 2 | .setTextAntiAlias(com.miginfocom.util.gfx.GfxUtil.AA_HINT_ON);↵ | |
3 | monthlyNorthDateHeaderBean↵ | 3 | monthlyNorthDateHeaderBean↵ | |
4 | .setBackgroundPaint(new com.miginfocom.util.gfx.ShapeGradientPaint(↵ | 4 | .setBackgroundPaint(new com.miginfocom.util.gfx.ShapeGradientPaint(↵ | |
5 | new java.awt.Color(240, 240, 240), new java.awt.Color(↵ | 5 | new java.awt.Color(240, 240, 240), new java.awt.Color(↵ | |
6 | 255, 255, 255), 90.0f, 0.7f, 0.6f, false));↵ | 6 | 255, 255, 255), 90.0f, 0.7f, 0.6f, false));↵ | |
7 | monthlyNorthDateHeaderBean↵ | 7 | monthlyNorthDateHeaderBean↵ | |
8 | .setHeaderRows(new CellDecorationRow[] { new com.miginfocom.calendar.header.CellDecorationRow(↵ | 8 | .setHeaderRows(new CellDecorationRow[] { new com.miginfocom.calendar.header.CellDecorationRow(↵ | |
9 | DateRangeI.RANGE_TYPE_DAY, new DateFormatList("1E",↵ | 9 | DateRangeI.RANGE_TYPE_DAY, new DateFormatList(↵ | |
10 | null), new AtFixed(20.0f), ↵ | 10 | "EEEE|EEE|1E|", null), new AtFixed(20.0f),↵ | |
11 | new AbsRect(↵ | 11 | new AbsRect(↵ | |
12 | new AtStart(0.0f), new AtStart(0.0f),↵ | 12 | new AtStart(0.0f), new AtStart(0.0f),↵ | |
13 | new AtEnd(0.0f), new AtEnd(0.0f), null, null,↵ | 13 | new AtEnd(0.0f), new AtEnd(0.0f), null, null,↵ | |
14 | null), (java.awt.Paint[]) null,↵ | 14 | null), (java.awt.Paint[]) null,↵ | |
15 | new java.awt.Paint[] { labelColor }, null,↵ | 15 | new java.awt.Paint[] { labelColor }, null,↵ | |
16 | new Font[] { UIManager.getFont("Label.font") },↵ | 16 | new Font[] { UIManager.getFont("Label.font") },↵ | |
17 | new Integer[] { null }, new AtFraction(0.5f),↵ | 17 | new Integer[] { null }, new AtFraction(0.5f),↵ | |
18 | new AtFraction(0.5f)) }); | 18 |
| |
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 | 9 |
Number of mapped statements | 2 |
Number of unmapped statements in the first code fragment | 1 |
Number of unmapped statements in the second code fragment | 1 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 2 |
ID | Statement | ID | Statement | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 9 | monthlyWestDateHeaderBean.setTextAntiAlias(com.miginfocom.util.gfx.GfxUtil.AA_HINT_ON); | ||||||||||||
14 | eastDateHeaderBean.setLabelRotation(TextAShape.TYPE_SINGE_LINE_ROT_CW); | | ||||||||||||
15 | monthlyNorthDateHeaderBean.setBackgroundPaint(new com.miginfocom.util.gfx.ShapeGradientPaint(new java.awt.Color(240, 240, 240), new java.awt.Color(255, 255, 255), 90.0f, 0.7f, 0.6f, false)); | 10 | monthlyNorthDateHeaderBean.setBackgroundPaint(new com.miginfocom.util.gfx.ShapeGradientPaint(new java.awt.Color(240, 240, 240), new java.awt.Color(255, 255, 255), 90.0f, 0.7f, 0.6f, false)); | |||||||||||
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))}); |
| 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))}); |
Row | Violation |
---|