void testNoRecreateBasedirExcludesWithoutUpdate() { testNoRecreate("testNoRecreateBasedirExcludesWithoutUpdate"); } public void testNoRecreateZipfilesetExcludesWithUpdate() { testNoRecreate("testNoRecreateZipfilesetExcludesWithUpdate"); } public void testNoRecreateZipfilesetExcludesWithoutUpdate() { testNoRecreate("testNoRecreateZipfilesetExcludesWithoutUpdate"); } public void testRecreateZipfilesetWithoutUpdateAdditionalFiles() { testRecreate("test4", "testRecreateZipfilesetWithoutUpdateAdditionalFiles");
void testAddCondition() { executeTarget("addcondition"); } public void testAddFilter() { executeTarget("addfilter"); } public void testAddSelector() { executeTarget("addselector"); } public void testNestedA() { expectLogContaining("nested.a", "add A called");
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/JarTest.java File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/AddTypeTest.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void testNoRecreateBasedirExcludesWithoutUpdate() {
1
void test
2
        testNoRecreate("testNoRecreateBasedirExcludesWithoutUpdate");
3
    }
4
    public void testNoRecreateZipfilesetExcludesWithUpdate() {
5
        testNoRecreate("testNoRecreateZipfilesetExcludesWithUpdate");
6
    }
7
    public void testNoRecreateZipfilesetExcludesWithoutUpdate() {
8
        testNoRecreate("testNoRecreateZipfilesetExcludesWithoutUpdate");
9
    }
10
    public void testRecreateZipfilesetWithoutUpdateAdditionalFiles() {
11
        testRecreate
2
AddCondition() {
3
        executeTarget("addcondition");
4
    }
5
    public void testAddFilter() {
6
        executeTarget("addfilter");
7
    }
8
    public void testAddSelector() {
9
        executeTarget("addselector");
10
    }
11
    public void testNestedA() {
12
("test4",
12
        expectLogContaining("nest
13
                     "testRecreateZipfilesetWithoutUpdateAdditionalFiles");
13
ed.a", "add A called");
14
    
14
    
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