c = ianaEncoding.charAt(i); if ((c < 'A' || c > 'Z') && (c < 'a' || c > 'z') && (c < '0' || c > '9') && c != '.' && c != '_' && c != '-') { return false; }
char c = javaEncoding.charAt(i); if ((c < 'A' || c > 'Z') && (c < 'a' || c > 'z') && (c < '0' || c > '9') && c != '.' && c != '_' && c != '-') { return false; }
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/xml/type/internal/DataValue.java File path: /emf-2.4.1/src/org/eclipse/emf/ecore/xml/type/internal/DataValue.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
c = ianaEncoding.charAt(i);
1
char c = javaEncoding.charAt(i);
2
                         if ((c < 'A' || c > 'Z') && (c < 'a' || c > 'z') &&
2
                     if ((c < 'A' || c > 'Z') && (c < 'a' || c > 'z') &&
3
                             (c < '0' || c > '9') && c != '.' && c != '_' &&
3
                         (c < '0' || c > '9') && c != '.' && c != '_' &&
4
                             c != '-') {
4
                         c != '-') {
5
                             return false;
5
                         return false;
6
                         }
6
                     }
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 location
Number of node comparisons0