Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 3 | 0.982 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 611 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/CleanUpRefactoring.java |
2 | 9 | 621 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/CleanUpRefactoring.java |
| ||||
{ MultiTextEdit multiTextEdit1 = (MultiTextEdit) edit1; TextEdit[] children = multiTextEdit1.getChildren(); for (int i = 0; i < children.length; i++) { TextEdit child = children[i]; if (intersects(child, edit2)) return true; } return false; } |
| ||||
{ MultiTextEdit multiTextEdit2 = (MultiTextEdit) edit2; TextEdit[] children = multiTextEdit2.getChildren(); for (int i = 0; i < children.length; i++) { TextEdit child = children[i]; if (intersects(child, edit1)) return true; } return false; } |
| |||
{ MultiTextEdit [[#variablea0678de0]]= (MultiTextEdit) [[#variableb782f380]]; TextEdit[] children = [[#variablea0678de0]].getChildren(); for (int i = 0; i < children.length; i++) { TextEdit child = children[i]; if (intersects(child, [[#variablea0679b20]])) return true; } return false; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a0678de0]] | multiTextEdit1 |
1 | 2 | [[#a0678de0]] | multiTextEdit2 |
2 | 1 | [[#b782f380]] | edit1 |
2 | 2 | [[#b782f380]] | edit2 |
3 | 1 | [[#a0679b20]] | edit2 |
3 | 2 | [[#a0679b20]] | edit1 |