Event model = new Event(uuid); model.setSummary("summary"); model.setDescription("description"); EventInfo eventInfo = new EventInfo(uuid, "calendar1", model); storage.add(eventInfo);
Event model = new Event(uuid); model.setSummary("summary"); model.setDescription("description"); EventInfo eventInfo = new EventInfo(uuid, "calendar1", model); storage.add(eventInfo);
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/calendar/src/test/java/org/columba/calendar/store/LocalCalendarStoreTest.java File path: /columba-1.4-src/calendar/src/test/java/org/columba/calendar/store/LocalCalendarStoreTest.java
Method name: void testAddGet() Method name: void testRemove()
Number of AST nodes: 5 Number of AST nodes: 5
1
Event model = new Event(uuid);
1
Event model = new Event(uuid);
2
		model.setSummary("summary");
2
		model.setSummary("summary");
3
		model.setDescription("description");
3
		model.setDescription("description");
4
		
4
		
5
		EventInfo eventInfo = new EventInfo(uuid, "calendar1", model);
5
		EventInfo eventInfo = new EventInfo(uuid, "calendar1", model);
6
		storage.add(eventInfo);
6
		storage.add(eventInfo);
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 comparisons11
  1. {Refactorable}
    Mapping Summary
    Number of mapped statements5
    Number of unmapped statements in the first code fragment0
    Number of unmapped statements in the second code fragment0
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 1
    Mapped Statements
    ID Statement ID Statement
    2
    Event model = new Event(uuid);
    2
    Event model = new Event(uuid);
    3
    model.setSummary("summary");
    3
    model.setSummary("summary");
    4
    model.setDescription("description");
    4
    model.setDescription("description");
    5
    EventInfo eventInfo = new EventInfo(uuid, "calendar1", model);
    5
    EventInfo eventInfo = new EventInfo(uuid, "calendar1", model);
    6
    storage.add(eventInfo);
    6
    storage.add(eventInfo);
    Precondition Violations (0)
    Row Violation