Location location = new Location(exc.getSystemId(),
exc.getLineNumber(), exc.getColumnNumber());
Throwable t = exc.getException();
Location location =
new Location(exc.getSystemId(), exc.getLineNumber(),
exc.getColumnNumber());
Throwable t = exc.getException();
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/helper/ProjectHelper2.java
|
|
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/helper/ProjectHelperImpl.java
|
Method name: void parse(Project, Object, RootHandler)
|
|
Method name: void parse(Project, Object)
|
Number of AST nodes: 2
|
|
Number of AST nodes: 2
|
|
1 | Location location =↵ | | 1 | Location location =↵
|
2 | new Location(exc.getSystemId(),↵ | | 2 | new Location(exc.getSystemId(),↵
|
3 | exc.getLineNumber(),↵ | | 3 | exc.getLineNumber(),↵
|
4 | exc.getColumnNumber());↵ | | 4 | exc.getColumnNumber());↵
|
|
5 | Throwable t = exc.getException(); | | 5 | Throwable t = exc.getException();
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are in different classes having the same super class |
Number of node comparisons | 0 |