Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 2 | 0.958 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 288 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/BasicExtendedMetaData.java |
2 | 12 | 325 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/BasicExtendedMetaData.java |
| |||||
protected String basicGetName(EClassifier eClassifier) { EAnnotation eAnnotation = getAnnotation(eClassifier, false); if (eAnnotation != null) { String result = eAnnotation.getDetails().get("name"); if (result != null) { return result; } } return eClassifier.getName(); } |
| |||||
protected String basicGetName(EStructuralFeature eStructuralFeature) { EAnnotation eAnnotation = getAnnotation(eStructuralFeature, false); if (eAnnotation != null) { String result = eAnnotation.getDetails().get("name"); if (result != null) { return result; } } return eStructuralFeature.getName(); } |
| |||
protected String basicGetName( [[#variable1736e600]] [[#variable1736e520]]) { EAnnotation eAnnotation = getAnnotation( [[#variable1736e520]], false); if (eAnnotation != null) { String result = eAnnotation.getDetails().get("name"); if (result != null) { return result; } } return [[#variable1736e520]].getName(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1736e600]] | EClassifier |
1 | 2 | [[#1736e600]] | EStructuralFeature |
2 | 1 | [[#1736e520]] | eClassifier |
2 | 2 | [[#1736e520]] | eStructuralFeature |