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 subtrees1
Number of refactorable cases0
Number of non-refactorable cases1
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones locationClones are declared in the same class
Number of node comparisons0
  1. {Non-refactorable}
    Mapping Summary
    Number of mapped statements0
    Number of unmapped statements in the first code fragment0
    Number of unmapped statements in the second code fragment0
    Time elapsed for statement mapping (ms)0.0
    Clone typeUnknown type
    Mapped Statements
    ID Statement ID Statement
    Precondition Violations (0)
    Row Violation