Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.966 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 58 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/JDTQuickMenuAction.java |
2 | 5 | 167 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/QuickMenuAction.java |
| ||||
Point result = styledText.getLocationAtOffset(start); result.y += styledText.getLineHeight(start); if ( !styledText.getClientArea().contains(result)) return null; return result; |
| ||||
Point result = text.getLocationAtOffset(offset); result.y += text.getLineHeight(offset); if ( !text.getClientArea().contains(result)) return null; return result; |
| |||
Point result = [[#variable78030c40]].getLocationAtOffset( [[#variable78030b80]]); result.y += [[#variable78030c40]].getLineHeight( [[#variable78030b80]]); if ( ! [[#variable78030c40]].getClientArea().contains(result)) return null; return result; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#78030c40]] | text |
1 | 2 | [[#78030c40]] | styledText |
2 | 1 | [[#78030b80]] | offset |
2 | 2 | [[#78030b80]] | start |