void setUp()
throws Exception {
project = new Project();
project.setBasedir(".");
}
/**
* The teardown method for JUnit
*
* @throws Exception
*/
protected void tearDown()
throws Exception {
File file = new File(project.getBaseDir(), LOCAL_PATH);
if (file.exists()) {
file.delete();
}
void setUp()
throws Exception {
project = new Project();
project.setBasedir(".");
}
/**
* The teardown method for JUnit
*
* @throws Exception
*/
protected void tearDown()
throws Exception {
File file = new File(project.getBaseDir(), LOCAL_PATH);
if (file.exists()) {
file.delete();
}
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/optional/vss/MSVSSTest.java
|
|
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/optional/sos/SOSTest.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | void setUp()↵ | | 1 | void setUp()↵
|
2 | throws Exception {↵ | | 2 | throws Exception {↵
|
3 | project = new Project();↵ | | 3 | project = new Project();↵
|
4 | project.setBasedir(".");↵ | | 4 | project.setBasedir(".");↵
|
5 | }↵ | | 5 | }↵
|
|
6 | /**↵ | | 6 | /**↵
|
7 | * The teardown method for JUnit↵ | | 7 | * The teardown method for JUnit↵
|
8 | *↵ | | 8 | *↵
|
9 | * @throws Exception↵ | | 9 | * @throws Exception↵
|
10 | */↵ | | 10 | */↵
|
11 | protected void tearDown()↵ | | 11 | protected void tearDown()↵
|
12 | throws Exception {↵ | | 12 | throws Exception {↵
|
13 | File file = new File(project.getBaseDir(), LOCAL_PATH);↵ | | 13 | File file = new File(project.getBaseDir(), LOCAL_PATH);↵
|
14 | if (file.exists()) {↵ | | 14 | if (file.exists()) {↵
|
15 | file.delete();↵ | | 15 | file.delete();↵
|
16 | }↵ | | 16 | }↵
|
17 | | | 17 |
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | |
Number of node comparisons | 0 |