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.984 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 549 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightingPresenter.java |
2 | 4 | 558 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightingPresenter.java |
| ||||
for (; i < n; i++) { HighlightedPosition position = (HighlightedPosition) fPositions.get(i); if ( !position.isDeleted()) ranges.add(position.createStyleRange()); } |
| ||||
for (; i < n; i++) { HighlightedPosition position = (HighlightedPosition) fPositions.get(i); if ( !position.isDeleted()) textPresentation.replaceStyleRange(position.createStyleRange()); } |
| |||
for (; i < n; i++) { HighlightedPosition position = (HighlightedPosition) fPositions.get(i); if ( !position.isDeleted()) [[#variable8f0e7260]]. [[#variable8f0e70a0]](position.createStyleRange()); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#8f0e7260]] | ranges |
1 | 2 | [[#8f0e7260]] | textPresentation |
2 | 1 | [[#8f0e70a0]] | add |
2 | 2 | [[#8f0e70a0]] | replaceStyleRange |