Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
18 | 3 | 3 | 0.963 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 18 | 416 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/BasicExtendedMetaData.java |
2 | 18 | 460 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/BasicExtendedMetaData.java |
3 | 18 | 1187 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/BasicExtendedMetaData.java |
| |||||
{ EAnnotation eAnnotation = getAnnotation(eStructuralFeature, false); if (eAnnotation != null) { Object kind = eAnnotation.getDetails().get("kind"); if (kind != null) { for (int i = 1; i < FEATURE_KINDS.length; ++i) { if (FEATURE_KINDS[i].equals(kind)) { return i; } } } } return 0; } |
| |||||
{ EAnnotation eAnnotation = getAnnotation(eClass, false); if (eAnnotation != null) { Object kind = eAnnotation.getDetails().get("kind"); if (kind != null) { for (int i = 1; i < CONTENT_KINDS.length; ++i) { if (CONTENT_KINDS[i].equals(kind)) { return i; } } } } return 0; } |
| |||||
{ EAnnotation eAnnotation = getAnnotation(eStructuralFeature, false); if (eAnnotation != null) { Object kind = eAnnotation.getDetails().get("processing"); if (kind != null) { for (int i = 1; i < PROCESSING_KINDS.length; ++i) { if (PROCESSING_KINDS[i].equals(kind)) { return i; } } } } return 0; } |
| |||
{ EAnnotation eAnnotation = getAnnotation( [[#variable17264460]], false); if (eAnnotation != null) { Object kind = eAnnotation.getDetails().get( [[#variable172643e0]]); if (kind != null) { for (int i = 1; i < [[#variable17264360]].length; ++i) { if ( [[#variable17264360]][i].equals(kind)) { return i; } } } } return 0; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#17264460]] | eStructuralFeature |
1 | 2 | [[#17264460]] | eClass |
1 | 3 | [[#17264460]] | eStructuralFeature |
2 | 1 | [[#172643e0]] | "kind" |
2 | 2 | [[#172643e0]] | "kind" |
2 | 3 | [[#172643e0]] | "processing" |
3 | 1 | [[#17264360]] | FEATURE_KINDS |
3 | 2 | [[#17264360]] | CONTENT_KINDS |
3 | 3 | [[#17264360]] | PROCESSING_KINDS |