Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 1 | 0.992 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 299 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightingPresenter.java |
2 | 5 | 305 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightingPresenter.java |
| ||||
for (int i = 0,n = removedPositions.size(); i < n; i++) { Position position = (Position) removedPositions.get(i); int offset = position.getOffset(); minStart = Math.min(minStart, offset); maxEnd = Math.max(maxEnd, offset + position.getLength()); } |
| ||||
for (int i = 0,n = addedPositions.size(); i < n; i++) { Position position = (Position) addedPositions.get(i); int offset = position.getOffset(); minStart = Math.min(minStart, offset); maxEnd = Math.max(maxEnd, offset + position.getLength()); } |
| |||
for (int i = 0, n = [[#variable556351a0]].size(); i < n; i++) { Position position = (Position) [[#variable556351a0]].get(i); int offset = position.getOffset(); minStart = Math.min(minStart, offset); maxEnd = Math.max(maxEnd, offset + position.getLength()); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#556351a0]] | addedPositions |
1 | 2 | [[#556351a0]] | removedPositions |