if (util.match("/^... clientFile (.+)$/", line)) { String f = util.group(1); existing.add(f);
} else if (util.match("/^(.+) - no such file/", line)) { String f = util.group(1); nonExisting.add(f);
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/perforce/FStatP4OutputHandler.java File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/perforce/FStatP4OutputHandler.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
if (util.match("/^... clientFile (.+)$/", line)) {
1
} else if (util.match("/^(.+) - no such file/", line)) {
2
            String f = util.group(1);
2
            String f = util.group(1);
3
            existing.add(f);
3
            nonExisting.add(f);
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0