1671-6-7

String getEcoreConstraints() { String attributeValue = getAttributeValue("Ecore", "constraints"); return attributeValue; } public String getReferenceName() { String attributeValue = getAttributeValue("Ecore", "referenceName"); return attributeValue; } public String getAttributeName() { String attributeValue = getAttributeValue("Ecore", "attributeName"); return attributeValue; }
String getClassifierName() { String attributeValue = getAttributeValue("Ecore", "classifierName"); return attributeValue; } public String getEcoreConstraints() { String attributeValue = getAttributeValue("Ecore", "constraints"); return attributeValue; } public String getReferenceName() { String attributeValue = getAttributeValue("Ecore", "referenceName"); return attributeValue; }

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/importer/rose/parser/RoseNode.java
Method name: `` |  | Method name: ``
Number of AST nodes: 0 |  | Number of AST nodes: 0

1

    String getClassifierName()↵

2

      {↵

3

        String attributeValue = getAttributeValue("Ecore", "classifierName");↵

4

        return attributeValue;↵

5

      }↵

1

    String getEcoreConstraints()↵

6

      public String getEcoreConstraints()↵

2

      {↵

7

      {↵

3

        String attributeValue = getAttributeValue("Ecore", "constraints");↵

8

        String attributeValue = getAttributeValue("Ecore", "constraints");↵

4

        return attributeValue;↵

9

        return attributeValue;↵

5

      }↵

10

      }↵

6

      public String getReferenceName()↵

11

      public String getReferenceName()↵

7

      {↵

12

      {↵

8

        String attributeValue = getAttributeValue("Ecore", "referenceName");↵

13

        String attributeValue = getAttributeValue("Ecore", "referenceName");↵

9

        return attributeValue;↵

14

        return attributeValue;↵

10

      }↵

15

      }

11

      public String getAttributeName()↵

12

      {↵

13

        String attributeValue = getAttributeValue("Ecore", "attributeName");↵

14

        return attributeValue;↵

15

      }

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