File path: /emf-2.4.1/src/org/eclipse/emf/importer/java/builder/JavaEcoreBuilder.java | File path: /emf-2.4.1/src/org/eclipse/emf/importer/java/builder/JavaEcoreBuilder.java | |||
Method name: void analyzeType(JType)
|
Method name: void analyzeType(JType)
|
|||
Number of AST nodes: 1 | Number of AST nodes: 1 | |||
1 | analyzeMethod↵ | 1 | analyzeMethod↵ | |
2 | (eClass,↵ | 2 | ↵ | |
3 | (eClass,↵ | |||
3 | getFilteredModelAnnotations(modelAnnotation, feature),↵ | 4 | getFilteredModelAnnotations(methodAnnotation, feature),↵ | |
4 | "get" + Character.toUpperCase(feature.charAt(0)) + feature.substring(1),↵ | 5 | "get" + Character.toUpperCase(feature.charAt(0)) + feature.substring(1),↵ | |
5 | "java.lang.Object",↵ | 6 | "java.lang.Object",↵ | |
6 | EMPTY_STRING_ARRAY,↵ | 7 | EMPTY_STRING_ARRAY,↵ | |
7 | EMPTY_STRING_ARRAY,↵ | 8 | EMPTY_STRING_ARRAY,↵ | |
8 | EMPTY_STRING_ARRAY,↵ | 9 | EMPTY_STRING_ARRAY,↵ | |
9 | EMPTY_STRING_ARRAY); | 10 | EMPTY_STRING_ARRAY); | |
See real code fragment | See real code fragment |
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.0 |
Clones location | Clones are in the same method |
Number of node comparisons | 5 |
Number of mapped statements | 1 |
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) | 0.0 |
Clone type | Type 2 |
ID | Statement | ID | Statement | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
67 | analyzeMethod(eClass, getFilteredModelAnnotations(modelAnnotation, feature), "get" + Character.toUpperCase(feature.charAt(0)) + feature.substring(1), "java.lang.Object", EMPTY_STRING_ARRAY, EMPTY_STRING_ARRAY, EMPTY_STRING_ARRAY, EMPTY_STRING_ARRAY); |
| 176 | analyzeMethod(eClass, getFilteredModelAnnotations(methodAnnotation, feature), "get" + Character.toUpperCase(feature.charAt(0)) + feature.substring(1), "java.lang.Object", EMPTY_STRING_ARRAY, EMPTY_STRING_ARRAY, EMPTY_STRING_ARRAY, EMPTY_STRING_ARRAY); |
Row | Violation |
---|