CloneSet7181


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2220.961statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12160
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/JavaPreview.java
22167
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/JavaPreview.java
Clone Instance
1
Line Count
2
Source Line
160
Source File
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;


Clone Instance
2
Line Count
2
Source Line
167
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/JavaPreview.java

                final int totalPixels1 = getHeightOfAllLines(widget);
                final int topPixelRange1 = totalPixels1 > height ? totalPixels1 - height:  0;


Clone AbstractionParameter Count: 2Parameter Bindings

final int  [[#variable56abf3e0]]= getHeightOfAllLines(widget);
final int  [[#variable56abf3c0]]= [[#variable56abf3e0]] > height ? [[#variable56abf3e0]] - height: 0;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#56abf3e0]]
totalPixels1 
12[[#56abf3e0]]
totalPixels0 
21[[#56abf3c0]]
topPixelRange1 
22[[#56abf3c0]]
topPixelRange0