CloneSet3230


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5201.000statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15323
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaDoubleClickSelector.java
2550
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaStringDoubleClickSelector.java
Clone Instance
1
Line Count
5
Source Line
323
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaDoubleClickSelector.java

                if (region != null && region.getLength() >= 2) {
                        textViewer.setSelectedRange(region.getOffset() + 1, region.getLength() - 2);
                }
                else   {
                        region = selectWord(document, offset);
                        textViewer.setSelectedRange(region.getOffset(), region.getLength());
                }


Clone Instance
2
Line Count
5
Source Line
50
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaStringDoubleClickSelector.java

                if (region != null && region.getLength() >= 2) {
                        textViewer.setSelectedRange(region.getOffset() + 1, region.getLength() - 2);
                }
                else   {
                        region = selectWord(document, offset);
                        textViewer.setSelectedRange(region.getOffset(), region.getLength());
                }


Clone AbstractionParameter Count: 0Parameter Bindings

if (region != null && region.getLength() >= 2) {
  textViewer.setSelectedRange(region.getOffset() + 1, region.getLength() - 2);
}
else {
  region = selectWord(document, offset);
  textViewer.setSelectedRange(region.getOffset(), region.getLength());
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None