Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 3 | 0.959 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 752 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/presentation/MappingEditor.java |
2 | 6 | 775 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/presentation/MappingEditor.java |
| |||||
for (Iterator<Object> tree = new AdapterFactoryTreeIterator<Object>(getDecoratedAdapterFactory(), child, true); tree.hasNext();) { Object descendant = tree.next(); if (mappingDomain.getMappingRoot().getMappings(descendant).isEmpty() == exclude) { continue LOOP; } } |
| |||||
for (Iterator<Object> tree = new AdapterFactoryTreeIterator<Object>(getDecoratedAdapterFactory(), o, false); tree.hasNext();) { Object descendant = tree.next(); if (mappingDomain.getMappingRoot().getMappings(descendant).isEmpty() == exclude) { return true; } } |
| |||
for (Iterator<Object> tree = new AdapterFactoryTreeIterator<Object>(getDecoratedAdapterFactory(), [[#variable1735bda0]], [[#variable1735bd60]]); tree.hasNext();) { Object descendant = tree.next(); if (mappingDomain.getMappingRoot().getMappings(descendant).isEmpty() == exclude) { [[#variable1735bca0]] } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1735bda0]] | child |
1 | 2 | [[#1735bda0]] | o |
2 | 1 | [[#1735bd60]] | true |
2 | 2 | [[#1735bd60]] | false |
3 | 1 | [[#1735bca0]] | continue LOOP; |
3 | 2 | [[#1735bca0]] | return true; |