public class EchoLocation extends Task {
public void execute() {
log("Line: " + getLocation().getLineNumber(), Project.MSG_INFO);
public static class EchoLocation extends Task {
public void execute() {
log("Line: " + getLocation().getLineNumber(), Project.MSG_INFO);
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/tests/antunit/core/location/src/task/EchoLocation.java
|
|
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/LocationTest.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public class EchoLocation extends Task {↵ | | 1 | public static class EchoLocation extends Task {↵
|
2 | public void execute() {↵ | | 2 | public void execute() {↵
|
3 | log("Line: " + getLocation().getLineNumber(), Project.MSG_INFO); | | 3 | log("Line: " + getLocation().getLineNumber(), Project.MSG_INFO);
|
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 |