if (eContents == null) { eContents = EContentsEList.createEContentsEList(this); } return eContents;
if (metaObjectID == -1) { metaObjectID = computeClassifierID(); } return metaObjectID;
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/impl/FlatEObjectImpl.java File path: /emf-2.4.1/src/org/eclipse/emf/ecore/impl/EClassifierImpl.java
Method name: EList eContents() Method name: int getClassifierID()
Number of AST nodes: 3 Number of AST nodes: 3
1
if (eContents == null)
1
if (metaObjectID == -1)
2
    {
2
    {
3
      eContents = EContentsEList.createEContentsEList(this);
3
      metaObjectID = computeClassifierID();
4
    }
4
    }
5
    return eContents;
5
    return metaObjectID;
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 having the same super class
Number of node comparisons1