String msg = "IOException caught while checking " + "for links, couldn't get canonical path!"; // will be caught and redirected to Ant's logging system System.err.println(msg);
String msg = "IOException caught while checking " + "for links, couldn't get canonical path!"; // will be caught and redirected to Ant's logging system System.err.println(msg);
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/DirectoryScanner.java File path: /apache-ant-1.7.0/src/org/apache/tools/ant/DirectoryScanner.java
Method name: void scandir(File, String, boolean) Method name: boolean isSymlink(File, Vector)
Number of AST nodes: 2 Number of AST nodes: 2
1
String msg = "IOException caught while checking "
1
String msg = "IOException caught while checking "
2
                        + "for links, couldn't get canonical path!";
2
                    + "for links, couldn't get canonical path!";
3
                    // will be caught and redirected to Ant's logging system
3
                // will be caught and redirected to Ant's logging system
4
                    System.err.println(msg);
4
                System.err.println(msg);
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 locationClones are declared in the same class
Number of node comparisons0