Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.978 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 145 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/NodeFinder.java |
2 | 4 | 739 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java |
| ||||
int nodeEnd = nodeStart + node.getLength(); if (nodeEnd < fStart || fEnd < nodeStart) { return false; } |
| ||||
int nodeEnd = nodeStart + node.getLength(); // if node does not intersects with selection, don't visit children if (nodeEnd < selectionBegin || selectionEnd < nodeStart) { return false; } |
| |||
int nodeEnd = nodeStart + node.getLength(); // if node does not intersects with selection, don't visit children if (nodeEnd < [[#variable4ea75a80]]|| [[#variable4eec2240]] < nodeStart) { return false; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4ea75a80]] | selectionBegin |
1 | 2 | [[#4ea75a80]] | fStart |
2 | 1 | [[#4eec2240]] | selectionEnd |
2 | 2 | [[#4eec2240]] | fEnd |