void testFilterReaderBeforeAfter() { doTest("testFilterReaderPrependAppend", FILE_PREPEND_WITH, FILE_APPEND_WITH); } public void testConcatFilter() { doTest("testConcatFilter", FILE_PREPEND, FILE_APPEND); } public void testConcatFilterBefore() { doTest("testConcatFilterPrepend", FILE_PREPEND_WITH, FILE_APPEND); } public void testConcatFilterAfter() { doTest("testConcatFilterAppend", FILE_PREPEND, FILE_APPEND_WITH); } public void testConcatFilterBeforeAfter() { doTest("testConcatFilterPrependAppend", FILE_PREPEND_WITH, FILE_APPEND_WITH);
void testFilterReaderBefore() { doTest("testFilterReaderPrepend", FILE_PREPEND_WITH, FILE_APPEND); } public void testFilterReaderAfter() { doTest("testFilterReaderAppend", FILE_PREPEND, FILE_APPEND_WITH); } public void testFilterReaderBeforeAfter() { doTest("testFilterReaderPrependAppend", FILE_PREPEND_WITH, FILE_APPEND_WITH); } public void testConcatFilter() { doTest("testConcatFilter", FILE_PREPEND, FILE_APPEND); } public void testConcatFilterBefore() { doTest("testConcatFilterPrepend", FILE_PREPEND_WITH, FILE_APPEND);
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/filters/ConcatFilterTest.java File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/filters/ConcatFilterTest.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void testFilterReaderBefore() {
2
        doTest("testFilterReaderPrepend", FILE_PREPEND_WITH, FILE_APPEND);
3
    }
4
    public void testFilterReaderAfter() {
5
        doTest("testFilterReaderAppend", FILE_PREPEND, FILE_APPEND_WITH);
6
    }
1
void testFilterReaderBeforeAfter() {
7
    public void testFilterReaderBeforeAfter() {
2
        doTest("testFilterReaderPrependAppend", FILE_PREPEND_WITH, FILE_APPEND_WITH);
8
        doTest("testFilterReaderPrependAppend", FILE_PREPEND_WITH, FILE_APPEND_WITH);
3
    }
9
    }
4
    public void testConcatFilter() {
10
    public void testConcatFilter() {
5
        doTest("testConcatFilter", FILE_PREPEND, FILE_APPEND);
11
        doTest("testConcatFilter", FILE_PREPEND, FILE_APPEND);
6
    }
12
    }
7
    public void testConcatFilterBefore() {
13
    public void testConcatFilterBefore() {
8
        doTest("testConcatFilterPrepend", FILE_PREPEND_WITH, FILE_APPEND);
14
        doTest("testConcatFilterPrepend", FILE_PREPEND_WITH, FILE_APPEND);
9
    }
15
    
10
    public void testConcatFilterAfter() {
11
        doTest("testConcatFilterAppend", FILE_PREPEND, FILE_APPEND_WITH);
12
    }
13
    public void testConcatFilterBeforeAfter() {
14
        doTest("testConcatFilterPrependAppend", FILE_PREPEND_WITH, FILE_APPEND_WITH);
15
    
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