if (Execute.isFailure(returncode)) { String msg = "'" + toExecute.getExecutable() + "' failed with exit code " + returncode; if (failOnError) { throw new BuildException(msg); } else { log(msg, Project.MSG_ERR); } }
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/Rpm.java File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/Sleep.java
Method name: void execute() Method name: void execute()
Number of AST nodes: 5 Number of AST nodes: 0
1
if (Execute.isFailure(returncode)) {
2
                String msg = "'" + toExecute.getExecutable()
3
                    + "' failed with exit code " + returncode;
4
                if (failOnError) {
5
                    throw new BuildException(msg);
6
                } else {
7
                    log(msg, Project.MSG_ERR);
8
                }
9
            }
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 locationClones are in different classes having the same super class
Number of node comparisons0