CloneSet4734


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6240.966executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16206
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaMoveLinesAction.java
26215
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaMoveLinesAction.java
Clone Instance
1
Line Count
6
Source Line
206
Source File
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;
                                }
                                             }


Clone Instance
2
Line Count
6
Source Line
215
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaMoveLinesAction.java

                                          {
                                if (document.getLineOfOffset(visEnd) != selection.getEndLine())
                                        return false;
                                if ( !isWhitespace(document.get(visEnd, max - visEnd))) {
                                        showStatus();
                                        return false;
                                }
                                          }


Clone AbstractionParameter Count: 4Parameter Bindings

{
  if (document.getLineOfOffset( [[#variable76b9e780]]) != selection. [[#variable76b9e720]]())
    return false;
  if ( !isWhitespace(document.get( [[#variable76b9e560]],  [[#variable76b9e700]] -  [[#variable76b9e560]]))) {
    showStatus();
    return false;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#76b9e780]]
visOffset 
12[[#76b9e780]]
visEnd 
21[[#76b9e720]]
getStartLine 
22[[#76b9e720]]
getEndLine 
31[[#76b9e560]]
min 
32[[#76b9e560]]
visEnd 
41[[#76b9e700]]
visOffset 
42[[#76b9e700]]
max