Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 2 | 0.961 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 160 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/JavaPreview.java |
2 | 2 | 167 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/JavaPreview.java |
| ||||
final int totalPixels0 = getHeightOfAllLines(widget); final int topPixelRange0 = totalPixels0 > height ? totalPixels0 - height: 0; |
| ||||
final int totalPixels1 = getHeightOfAllLines(widget); final int topPixelRange1 = totalPixels1 > height ? totalPixels1 - height: 0; |
| |||
final int [[#variable56abf3e0]]= getHeightOfAllLines(widget); final int [[#variable56abf3c0]]= [[#variable56abf3e0]] > height ? [[#variable56abf3e0]] - height: 0; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#56abf3e0]] | totalPixels1 |
1 | 2 | [[#56abf3e0]] | totalPixels0 |
2 | 1 | [[#56abf3c0]] | topPixelRange1 |
2 | 2 | [[#56abf3c0]] | topPixelRange0 |