RoseNode node = nodes.get(i); if (key.equals(node.getKey())) { return node; }
GenAnnotation nestedGenAnnotation = genAnnotation.getGenAnnotation(nestedGenAnnotationSource); if (nestedGenAnnotation != null) { return nestedGenAnnotation.getDetails(); }
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/importer/rose/parser/RoseNode.java File path: /emf-2.4.1/src/org/eclipse/emf/exporter/ModelExporter.java
Method name: RoseNode findNodeWithKey(String) Method name: EMap getExporterNestedGenAnnotationDetails(GenBase, String)
Number of AST nodes: 3 Number of AST nodes: 3
1
RoseNode node = nodes.get(i);
2
      if (key.equals(node.getKey()))
3
      {
4
        return node
1
GenAnnotation nestedGenAnnotation = genAnnotation.getGenAnnotation(nestedGenAnnotationSource);
2
      if (nestedGenAnnotation != null)
3
      {
5
;
4
        return nestedGenAnnotation.getDetails();
6
      }
5
      }
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.1
Clones locationClones are in different classes
Number of node comparisons1