File path: /columba-1.4-src/calendar/src/main/java/org/columba/calendar/store/LocalCalendarStore.java | File path: /columba-1.4-src/calendar/src/main/java/org/columba/calendar/store/LocalCalendarStore.java | |||
Method name: IComponentInfoList getComponentInfoList()
|
Method name: Iterator
|
|||
Number of AST nodes: 4 | Number of AST nodes: 4 | |||
1 | Document document = (Document) it.next();↵ | 1 | Document document = (Document) it.next();↵ | |
2 | IComponentInfo basicModel = null;↵ | 2 | IComponentInfo basicModel = null;↵ | |
3 | try {↵ | 3 | try {↵ | |
4 | basicModel = VCalendarModelFactory.unmarshall(document);↵ | 4 | basicModel = VCalendarModelFactory.unmarshall(document);↵ | |
5 | } catch (SyntaxException e) {↵ | 5 | } catch (SyntaxException e) {↵ | |
6 | throw new StoreException(e);↵ | 6 | throw new StoreException(e);↵ | |
7 | } catch (IllegalArgumentException e) {↵ | 7 | } catch (IllegalArgumentException e) {↵ | |
8 | throw new StoreException(e);↵ | 8 | throw new StoreException(e);↵ | |
9 | } | 9 |
| |
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.2 |
Clones location | Clones are declared in the same class |
Number of node comparisons | 9 |
Number of mapped statements | 4 |
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) | 3.4 |
Clone type | Type 1 |
ID | Statement | ID | Statement | |
---|---|---|---|---|
4 | Document document = (Document)it.next(); | 4 | Document document = (Document)it.next(); | |
5 | IComponentInfo basicModel = null; | 5 | IComponentInfo basicModel = null; | |
6 | try | 6 | try | |
7 | basicModel = VCalendarModelFactory.unmarshall(document); | 7 | basicModel = VCalendarModelFactory.unmarshall(document); |
Row | Violation |
---|