if ( ! paramTypes[j].equals( methodParamTypes[j] ) ) {
found = false;
break;
}
if(!Character.isWhitespace(rem.str.charAt(i)))
{
allWhitespace = false;
break;
}
Clone fragments detected by clone detection tool
File path: /jEdit-4.2/src/bsh/ClassGeneratorUtil.java
|
|
File path: /jEdit-4.2/src/org/gjt/sp/jedit/buffer/KillRing.java
|
Method name: boolean classContainsMethod(Class, String, String[])
|
|
Method name: void add(UndoManager.Remove)
|
Number of AST nodes: 3
|
|
Number of AST nodes: 3
|
|
1 | if ( ! paramTypes[j].equals( methodParamTypes[j] ) ) {↵ | | 1 | if↵
|
2 | found↵ | | 2 | (!Character.isWhitespace(rem.str.charAt(i)))↵
|
| | | 3 | {↵
|
3 | = false;↵ | | 4 | allWhitespace = false;↵
|
4 | break;↵ | | 5 | break;↵
|
5 | } | | 6 | }
|
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.2 |
Clones location | Clones are in different classes |
Number of node comparisons | 1 |