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);
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);
Clone fragments detected by clone detection tool
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);
Summary
Number of common nesting structure subtrees1
Number of refactorable cases1
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones locationClones are declared in the same class
Number of node comparisons5
  1. {Refactorable}
    Mapping Summary
    Number of mapped statements2
    Number of unmapped statements in the first code fragment1
    Number of unmapped statements in the second code fragment1
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 2
    Mapped Statements
    ID Statement ID Statement
    8
    PlaceRect contentAbsRect = new AbsRect(new AtStart(12), new AtStart(0), new AtEnd(-1), new AtEnd(-1));
    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));
    Differences
    Expression1Expression2Difference
    123LITERAL_VALUE_MISMATCH
    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);
    Precondition Violations (0)
    Row Violation