Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 4 | 0.966 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 206 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaMoveLinesAction.java |
2 | 6 | 215 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaMoveLinesAction.java |
| ||||
{ if (document.getLineOfOffset(visOffset) != selection.getStartLine()) return false; if ( !isWhitespace(document.get(min, visOffset - min))) { showStatus(); return false; } } |
| ||||
{ if (document.getLineOfOffset(visEnd) != selection.getEndLine()) return false; if ( !isWhitespace(document.get(visEnd, max - visEnd))) { showStatus(); return false; } } |
| |||
{ if (document.getLineOfOffset( [[#variable76b9e780]]) != selection. [[#variable76b9e720]]()) return false; if ( !isWhitespace(document.get( [[#variable76b9e560]], [[#variable76b9e700]] - [[#variable76b9e560]]))) { showStatus(); return false; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#76b9e780]] | visOffset |
1 | 2 | [[#76b9e780]] | visEnd |
2 | 1 | [[#76b9e720]] | getStartLine |
2 | 2 | [[#76b9e720]] | getEndLine |
3 | 1 | [[#76b9e560]] | min |
3 | 2 | [[#76b9e560]] | visEnd |
4 | 1 | [[#76b9e700]] | visOffset |
4 | 2 | [[#76b9e700]] | max |