10622-10-22

if (result || theDiagnostics != null) { result &= validate_EveryReferenceIsContained(object, theDiagnostics, context); } if (result || theDiagnostics != null) { result &= validate_EveryDataValueConforms(object, theDiagnostics, context); } if (result || theDiagnostics != null) { result &= validate_UniqueID(object, theDiagnostics, context); } if (result || theDiagnostics != null) { result &= validate_EveryKeyUnique(object, theDiagnostics, context); } if (result || theDiagnostics != null) { result &= validate_EveryMapEntryUnique(object, theDiagnostics, context); }
if (result || diagnostics != null) result &= validateEClass_UniqueOperationSignatures(eClass, diagnostics, context); if (result || diagnostics != null) result &= validateEClass_NoCircularSuperTypes(eClass, diagnostics, context); if (result || diagnostics != null) result &= validateEClass_WellFormedMapEntryClass(eClass, diagnostics, context); if (result || diagnostics != null) result &= validateEClass_ConsistentSuperTypes(eClass, diagnostics, context); if (result || diagnostics != null) result &= validateEClass_DisjointFeatureAndOperationSignatures(eClass, diagnostics, context);

Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/util/EObjectValidator.java |  | File path: /emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreValidator.java
Method name: `` |  | Method name: ``
Number of AST nodes: 0 |  | Number of AST nodes: 0

1

    if (result || theDiagnostics != null)↵

1

    if (result || diagnostics != null)↵

2

        {↵

3

          result &= validate_EveryReferenceIsContained(object, theDiagnostics, context);↵

2

     result &= validateEClass_UniqueOperationSignatures(eClass, diagnostics, context);↵

4

        }↵

5

        if (result || theDiagnostics != null)↵

3

        if (result || diagnostics != null)↵

6

        {↵

7

          result &= validate_EveryDataValueConforms(object, theDiagnostics, context);↵

4

     result &= validateEClass_NoCircularSuperTypes(eClass, diagnostics, context);↵

8

        }↵

9

        if (result || theDiagnostics != null)↵

5

        if (result || diagnostics != null)↵

10

        {↵

11

          result &= validate_UniqueID(object, theDiagnostics, context);↵

6

     result &= validateEClass_WellFormedMapEntryClass(eClass, diagnostics, context);↵

12

        }↵

13

        if (result || theDiagnostics != null)↵

7

        if (result || diagnostics != null)↵

14

        {↵

15

          result &= validate_EveryKeyUnique(object, theDiagnostics, context);↵

8

     result &= validateEClass_ConsistentSuperTypes(eClass, diagnostics, context);↵

16

        }↵

17

        if (result || theDiagnostics != null)↵

9

        if (result || diagnostics != null)↵

18

        {↵

19

          result &= validate_EveryMapEntryUnique(object, theDiagnostics, context);↵

10

     result &= validateEClass_DisjointFeatureAndOperationSignatures(eClass, diagnostics, context);↵

20

        }

11

See real code fragment |  | See real code fragment

Summary
Number of common nesting structure subtrees | 0
Number of refactorable cases | 0
Number of non-refactorable cases | 0
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0
Clones location |
Number of node comparisons | 0