File path: /columba-1.4-src/calendar/src/main/java/org/columba/calendar/ui/calendar/AShapeCreator.java | File path: /columba-1.4-src/calendar/src/main/java/org/columba/calendar/ui/calendar/AShapeCreator.java | |||
Method name: RootAShape createLightShape()
|
Method name: RootAShape createTraslucentShapeHorizontal()
|
|||
Number of AST nodes: 3 | Number of AST nodes: 3 | |||
1 | PlaceRect contentAbsRect = new AbsRect(new AtStart(12), new AtStart(0), new AtEnd(-1), new AtEnd(-1)); ContainerAShape content = new ContainerAShape("dock", contentAbsRect, new CutEdgeAShapeLayout()); PlaceRect titleTextAbsRect = new AbsRect(new AtStart(0), new AtStart(0), new AtEnd(0), new AtStart(12), null, null, null); | 1 | PlaceRect contentAbsRect = new AbsRect(new AtStart(3), new AtStart(0), new AtEnd(-1), new AtEnd(-1)); ContainerAShape content = new ContainerAShape("dock", contentAbsRect, new CutEdgeAShapeLayout()); PlaceRect titleTextAbsRect = new AbsRect(new AtStart(0), new AtStart(0), new AtEnd(0), new AtEnd(-1), null, null, null); | |
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 declared in the same class |
Number of node comparisons | 5 |
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8 | PlaceRect contentAbsRect = new AbsRect(new AtStart(12), new AtStart(0), new AtEnd(-1), new AtEnd(-1)); |
| 10 | PlaceRect contentAbsRect = new AbsRect(new AtStart(3), new AtStart(0), new AtEnd(-1), new AtEnd(-1)); | ||||||||||
9 | ContainerAShape content = new ContainerAShape("dock", contentAbsRect, new CutEdgeAShapeLayout()); | 11 | ContainerAShape content = new ContainerAShape("dock", contentAbsRect, new CutEdgeAShapeLayout()); | |||||||||||
10 | PlaceRect titleTextAbsRect = new AbsRect(new AtStart(0), new AtStart(0), new AtEnd(0), new AtStart(12), null, null, null); | | ||||||||||||
| 12 | PlaceRect titleTextAbsRect = new AbsRect(new AtStart(0), new AtStart(0), new AtEnd(0), new AtEnd(-1), null, null, null); |
Row | Violation |
---|