File path: /apache-ant-1.7.0/src/org/apache/tools/ant/types/ZipScanner.java | File path: /apache-ant-1.7.0/src/org/apache/tools/ant/types/TarScanner.java | |||
Method name: void fillMapsFromArchive(Resource, String, Map, Map, Map, Map)
|
Method name: void fillMapsFromArchive(Resource, String, Map, Map, Map, Map)
|
|||
Number of AST nodes: 3 | Number of AST nodes: 3 | |||
1 | fileEntries.put(name, r);↵ | 1 | fileEntries.put(name, r);↵ | |
2 | if (match(name)) {↵ | 2 | if (match(name)) {↵ | |
3 | matchFileEntries.put(name, r);↵ | 3 | matchFileEntries.put(name, r);↵ | |
4 | } | 4 |
| |
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 in different classes having the same super class |
Number of node comparisons | 8 |
Number of mapped statements | 3 |
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) | 2.3 |
Clone type | Type 1 |
ID | Statement | ID | Statement | |
---|---|---|---|---|
20 | fileEntries.put(name, r); | 14 | fileEntries.put(name, r); | |
21 | if (match(name)) | 15 | if (match(name)) | |
22 | matchFileEntries.put(name, r); | 16 | matchFileEntries.put(name, r); |
Row | Violation |
---|