LOG.severe("Couldn't find constructor for " + className
+ " with matching argument-list: ");
for (int i = 0; i < arguments.length; i++) {
LOG.severe("argument[" + i + "]=" + arguments[i]);
}
return null;
LOG.severe("Couldn't find constructor for " + className
+ " with matching argument-list: ");
for (int i = 0; i < arguments.length; i++) {
LOG.severe("argument[" + i + "]=" + arguments[i]);
}
return null;
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/core/src/main/java/org/columba/core/plugin/DefaultPluginLoader.java
|
|
File path: /columba-1.4-src/core/src/main/java/org/columba/core/plugin/Extension.java
|
Method name: IExtensionInterface loadPlugin(String, String, Object[])
|
|
Method name: IExtensionInterface instanciateJavaClass(String, Object[])
|
Number of AST nodes: 4
|
|
Number of AST nodes: 4
|
|
1 | LOG.severe("Couldn't find constructor for " + className↵ | | 1 | LOG.severe("Couldn't find constructor for " + className↵
|
2 | + " with matching argument-list: ");↵ | | 2 | + " with matching argument-list: ");↵
|
3 | for (int i = 0; i < arguments.length; i++) {↵ | | 3 | for (int i = 0; i < arguments.length; i++) {↵
|
4 | LOG.severe("argument[" + i + "]=" + arguments[i]);↵ | | 4 | LOG.severe("argument[" + i + "]=" + arguments[i]);↵
|
5 | }↵ | | 5 | }↵
|
|
6 | return null; | | 6 | return null;
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 1 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.3 |
Clones location | Clones are in different classes |
Number of node comparisons | 9 |
-
{Refactorable}
Mapping Summary
Number of mapped statements | 4 |
Number of unmapped statements in the first code fragment | 0 |
Number of unmapped statements in the second code fragment | 0 |
Time elapsed for statement mapping (ms) | 1.4 |
Clone type | Type 1 |
Mapped Statements
ID |
Statement |
|
ID |
Statement |
11 | LOG.severe("Couldn't find constructor for " + className + " with matching argument-list: "); | | 12 | LOG.severe("Couldn't find constructor for " + className + " with matching argument-list: "); |
12 | for (int i = 0; i < arguments.length; i++) | | 13 | for (int i = 0; i < arguments.length; i++) |
13 | LOG.severe("argument[" + i + "]=" + arguments[i]); | | 14 | LOG.severe("argument[" + i + "]=" + arguments[i]); |
14 | return null; | | 15 | return null; |
Precondition Violations (0)
Row |
Violation |