void testFilesmatchDifferentEol() { executeTarget("filesmatch-different-eol"); } public void testFilesmatchSameEol() { executeTarget("filesmatch-same-eol"); } public void testFilesmatchNeitherExist() { executeTarget("filesmatch-neitherexist"); } public void testContains() { expectPropertySet("contains","contains");
void test3() { executeTarget("test3"); } public void test4() { executeTarget("test4"); } public void test5() { executeTarget("test5"); } public void test6() { expectBuildException("test6", "Failed executing: /never/heard/of/a/directory/structure/like/this/pcli lvf -z -aw -pr//ct4serv2/pvcs/monitor /. Exception: /never/heard/of/a/directory/structure/like/this/pcli: not found");
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/ConditionTest.java File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/optional/PvcsTest.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void testFilesmatchDifferentEol() {
1
void test3() {
2
        executeTarget("filesmatch-different-eol");
2
        executeTarget("test3");
3
    }
3
    }
4
    public void testFilesmatchSameEol() {
4
    public void test4() {
5
        executeTarget("filesmatch-same-eol");
5
        executeTarget("test4");
6
    }
6
    }
7
    public void testFilesmatchNeitherExist() {
7
    public void test5() {
8
        executeTarget("filesmatch-neitherexist");
8
        executeTarget("test5");
9
    }
9
    }
10
    public void testContains() {
10
    public void test6() {
11
        expectPropertySet("contains","contains");
11
        expectBuildException("test6", "Failed executing: /never/heard/of/a/directory/structure/like/this/pcli lvf -z -aw -pr//ct4serv2/pvcs/monitor /. Exception: /never/heard/of/a/directory/structure/like/this/pcli: not found");
12
    
12
    
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