case XMLTypePackage.ANY_TYPE__MIXED: ((FeatureMap.Internal)getMixed()).set(newValue); return; case XMLTypePackage.ANY_TYPE__ANY: ((FeatureMap.Internal)getAny()).set(newValue); return; case XMLTypePackage.ANY_TYPE__ANY_ATTRIBUTE: ((FeatureMap.Internal)getAnyAttribute()).set(newValue); return;
case XMLTypePackage.SIMPLE_ANY_TYPE__MIXED: ((FeatureMap.Internal)getMixed()).set(newValue); return; case XMLTypePackage.SIMPLE_ANY_TYPE__ANY: ((FeatureMap.Internal)getAny()).set(newValue); return; case XMLTypePackage.SIMPLE_ANY_TYPE__ANY_ATTRIBUTE: ((FeatureMap.Internal)getAnyAttribute()).set(newValue); return;
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/xml/type/impl/AnyTypeImpl.java File path: /emf-2.4.1/src/org/eclipse/emf/ecore/xml/type/impl/SimpleAnyTypeImpl.java
Method name: void eSet(int, Object) Method name: void eSet(int, Object)
Number of AST nodes: 9 Number of AST nodes: 9
1
case XMLTypePackage.ANY_TYPE__MIXED:
1
case XMLTypePackage.SIMPLE_ANY_TYPE__MIXED:
2
        ((FeatureMap.Internal)getMixed()).set(newValue);
2
        ((FeatureMap.Internal)getMixed()).set(newValue);
3
        return;
3
        return;
4
      case XMLTypePackage.ANY_TYPE__ANY:
4
      case XMLTypePackage.SIMPLE_ANY_TYPE__ANY:
5
        ((FeatureMap.Internal)getAny()).set(newValue);
5
        ((FeatureMap.Internal)getAny()).set(newValue);
6
        return;
6
        return;
7
      case XMLTypePackage.ANY_TYPE__ANY_ATTRIBUTE:
7
      case XMLTypePackage.SIMPLE_ANY_TYPE__ANY_ATTRIBUTE:
8
        ((FeatureMap.Internal)getAnyAttribute()).set(newValue);
8
        ((FeatureMap.Internal)getAnyAttribute()).set(newValue);
9
        return;
9
        return;
Summary
Number of common nesting structure subtrees1
Number of refactorable cases0
Number of non-refactorable cases1
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones locationClones are in different classes having the same super class
Number of node comparisons54
  1. {Non-refactorable}
    Mapping Summary
    Number of mapped statements9
    Number of unmapped statements in the first code fragment0
    Number of unmapped statements in the second code fragment0
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 2
    Mapped Statements
    ID Statement ID Statement
    2
    case XMLTypePackage.ANY_TYPE__MIXED:
    2
    case XMLTypePackage.ANY_TYPE__MIXED:
    2
    case XMLTypePackage.SIMPLE_ANY_TYPE__MIXED:
    Differences
    Expression1Expression2Difference
    ANY_TYPE__MIXEDSIMPLE_ANY_TYPE__MIXEDVARIABLE_NAME_MISMATCH
    2
    case XMLTypePackage.SIMPLE_ANY_TYPE__MIXED:
    3
    ((FeatureMap.Internal)getMixed()).set(newValue);
    3
    ((FeatureMap.Internal)getMixed()).set(newValue);
    4
    return;
    4
    return;
    4
    return;
    Preondition Violations
    Conditional return;
    Conditional return;
    4
    return;
    5
    case XMLTypePackage.ANY_TYPE__ANY:
    5
    case XMLTypePackage.ANY_TYPE__ANY:
    5
    case XMLTypePackage.SIMPLE_ANY_TYPE__ANY:
    Differences
    Expression1Expression2Difference
    ANY_TYPE__ANYSIMPLE_ANY_TYPE__ANYVARIABLE_NAME_MISMATCH
    5
    case XMLTypePackage.SIMPLE_ANY_TYPE__ANY:
    6
    ((FeatureMap.Internal)getAny()).set(newValue);
    6
    ((FeatureMap.Internal)getAny()).set(newValue);
    7
    return;
    7
    return;
    7
    return;
    Preondition Violations
    Conditional return;
    Conditional return;
    7
    return;
    8
    case XMLTypePackage.ANY_TYPE__ANY_ATTRIBUTE:
    8
    case XMLTypePackage.ANY_TYPE__ANY_ATTRIBUTE:
    8
    case XMLTypePackage.SIMPLE_ANY_TYPE__ANY_ATTRIBUTE:
    Differences
    Expression1Expression2Difference
    ANY_TYPE__ANY_ATTRIBUTESIMPLE_ANY_TYPE__ANY_ATTRIBUTEVARIABLE_NAME_MISMATCH
    8
    case XMLTypePackage.SIMPLE_ANY_TYPE__ANY_ATTRIBUTE:
    9
    ((FeatureMap.Internal)getAnyAttribute()).set(newValue);
    9
    ((FeatureMap.Internal)getAnyAttribute()).set(newValue);
    10
    return;
    10
    return;
    10
    return;
    Preondition Violations
    Conditional return;
    Conditional return;
    10
    return;
    Precondition Violations (6)
    Row Violation
    1Conditional return;
    2Conditional return;
    3Conditional return;
    4Conditional return;
    5Conditional return;
    6Conditional return;