CloneSet4726


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.966statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1658
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/JDTQuickMenuAction.java
25167
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/QuickMenuAction.java
Clone Instance
1
Line Count
6
Source Line
58
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/JDTQuickMenuAction.java

                Point result = styledText.getLocationAtOffset(start);
                result.y += styledText.getLineHeight(start);

                if ( !styledText.getClientArea().contains(result))
                        return null;
                return result;


Clone Instance
2
Line Count
5
Source Line
167
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/QuickMenuAction.java

                Point result = text.getLocationAtOffset(offset);
                result.y += text.getLineHeight(offset);
                if ( !text.getClientArea().contains(result))
                        return null;
                return result;


Clone AbstractionParameter Count: 2Parameter Bindings

Point result = [[#variable78030c40]].getLocationAtOffset( [[#variable78030b80]]);
result.y += [[#variable78030c40]].getLineHeight( [[#variable78030b80]]);
if ( ! [[#variable78030c40]].getClientArea().contains(result))
  return null;
return result;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#78030c40]]
text 
12[[#78030c40]]
styledText 
21[[#78030b80]]
offset 
22[[#78030b80]]
start