CloneSet5273


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3210.993statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1380
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickTemplateProcessor.java
23108
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickTemplateProcessor.java
Clone Instance
1
Line Count
3
Source Line
80
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickTemplateProcessor.java

                        int startLine = document.getLineOfOffset(offset);
                        int endLine = document.getLineOfOffset(offset + length);
                        IRegion region = document.getLineInformation(endLine);


Clone Instance
2
Line Count
3
Source Line
108
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickTemplateProcessor.java

                        // test if selection is either a full line or spans over multiple lines
                        int startLine = document.getLineOfOffset(offset);
                        int endLine = document.getLineOfOffset(offset + length);
                        IRegion endLineRegion = document.getLineInformation(endLine);


Clone AbstractionParameter Count: 1Parameter Bindings

// test if selection is either a full line or spans over multiple lines
int startLine = document.getLineOfOffset(offset);
int endLine = document.getLineOfOffset(offset + length);
IRegion  [[#variableb345c2c0]]= document.getLineInformation(endLine);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b345c2c0]]
endLineRegion 
12[[#b345c2c0]]
region