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 createDarkGrayShape()
|
Method name: RootAShape createTraslucentShapeHorizontal()
|
|||
Number of AST nodes: 6 | Number of AST nodes: 6 | |||
1 | PropertyKey trigger = MouseKeyInteractor.MOUSE_PRESS; Integer button = new Integer(MouseEvent.BUTTON1); AShapeUtil.addMouseFireEvent(containerAShape, trigger, DefaultDateArea.AE_SELECTED_PRESSED, true, false, button); AShapeUtil.addMouseFireEvent(containerAShape, trigger, DefaultDateArea.AE_DRAG_PRESSED, true, true, button); AShapeUtil.addMouseEventBlock(containerAShape, false, new Integer( MouseEvent.MOUSE_MOVED)); return root; | 1 | PropertyKey trigger = MouseKeyInteractor.MOUSE_PRESS; Integer button = new Integer(MouseEvent.BUTTON1); AShapeUtil.addMouseFireEvent(outlineAShape, trigger, DefaultDateArea.AE_SELECTED_PRESSED, true, false, button); AShapeUtil.addMouseFireEvent(outlineAShape, trigger, DefaultDateArea.AE_DRAG_PRESSED, true, true, button); AShapeUtil.addMouseEventBlock(outlineAShape, false, new Integer( MouseEvent.MOUSE_MOVED)); return root; | |
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 | 26 |
Number of mapped statements | 6 |
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 | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
45 | PropertyKey trigger = MouseKeyInteractor.MOUSE_PRESS; | 25 | PropertyKey trigger = MouseKeyInteractor.MOUSE_PRESS; | ||||||||||||||
46 | Integer button = new Integer(MouseEvent.BUTTON1); | 26 | Integer button = new Integer(MouseEvent.BUTTON1); | ||||||||||||||
47 | AShapeUtil.addMouseFireEvent(containerAShape, trigger, DefaultDateArea.AE_SELECTED_PRESSED, true, false, button); |
| 27 | AShapeUtil.addMouseFireEvent(outlineAShape, trigger, DefaultDateArea.AE_SELECTED_PRESSED, true, false, button); | |||||||||||||
48 | AShapeUtil.addMouseFireEvent(containerAShape, trigger, DefaultDateArea.AE_DRAG_PRESSED, true, true, button); |
| 28 | AShapeUtil.addMouseFireEvent(outlineAShape, trigger, DefaultDateArea.AE_DRAG_PRESSED, true, true, button); | |||||||||||||
49 | AShapeUtil.addMouseEventBlock(containerAShape, false, new Integer(MouseEvent.MOUSE_MOVED)); |
| 29 | AShapeUtil.addMouseEventBlock(outlineAShape, false, new Integer(MouseEvent.MOUSE_MOVED)); | |||||||||||||
50 | return root; | 30 | return root; |
Row | Violation |
---|