Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 2 | 0.980 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 1542 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/BasicExtendedMetaData.java |
2 | 9 | 1591 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/BasicExtendedMetaData.java |
| |||||
{ EAnnotation eAnnotation = getAnnotation(eDataType, true); StringBuffer result = new StringBuffer(); for (int i = 0, size = literals.size(); i < size; ++i) { result.append(replace(replace(literals.get(i), "%", "%25"), " ", "%20")); result.append(' '); } eAnnotation.getDetails().put("enumeration", result.substring(0, result.length() - 1)); } |
| |||||
{ EAnnotation eAnnotation = getAnnotation(eDataType, true); StringBuffer result = new StringBuffer(); for (int i = 0, size = pattern.size(); i < size; ++i) { result.append(replace(replace(pattern.get(i), "%", "%25"), " ", "%20")); result.append(' '); } eAnnotation.getDetails().put("pattern", result.substring(0, result.length() - 1)); } |
| |||
{ EAnnotation eAnnotation = getAnnotation(eDataType, true); StringBuffer result = new StringBuffer(); for (int i = 0, size = [[#variable1721f880]].size(); i < size; ++i) { result.append(replace(replace( [[#variable1721f880]].get(i), "%", "%25"), " ", "%20")); result.append(' '); } eAnnotation.getDetails().put( [[#variable1721f7e0]], result.substring(0, result.length() - 1)); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1721f880]] | literals |
1 | 2 | [[#1721f880]] | pattern |
2 | 1 | [[#1721f7e0]] | "enumeration" |
2 | 2 | [[#1721f7e0]] | "pattern" |