Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 0 | 1.000 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 341 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SortElementsOperation.java |
2 | 11 | 76 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/changes/TextChangeCompatibility.java |
| ||||
if ( !parent.hasChildren()) { parent.addChild(edit); return; } TextEdit[] children = parent.getChildren(); // First dive down to find the right parent. for (int i = 0; i < children.length; i++) { TextEdit child = children[i]; if (covers(child, edit)) { insert(child, edit); return; } } |
| ||||
if ( !parent.hasChildren()) { parent.addChild(edit); return; } TextEdit[] children = parent.getChildren(); // First dive down to find the right parent. for (int i = 0; i < children.length; i++) { TextEdit child = children[i]; if (covers(child, edit)) { insert(child, edit); return; } } |
| |||
if ( !parent.hasChildren()) { parent.addChild(edit); return; } TextEdit[] children = parent.getChildren(); // First dive down to find the right parent. for (int i = 0; i < children.length; i++) { TextEdit child = children[i]; if (covers(child, edit)) { insert(child, edit); return; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |