CloneSet3053


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2420.962statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12187
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/IndentUtil.java
22211
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/IndentUtil.java
32803
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java
42826
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java
Clone Instance
1
Line Count
2
Source Line
187
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/IndentUtil.java

                        while (insert < endOffset - 2 && document.get(insert, 2).equals(SLASHES))
                                insert += 2;


Clone Instance
2
Line Count
2
Source Line
211
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/IndentUtil.java

                // go behind line comments
                while (from < endOffset - 2 && document.get(from, 2).equals(SLASHES))
                        from += 2;


Clone Instance
3
Line Count
2
Source Line
803
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java

                // go behind line comments
                while (insert < endOffset - 2 && document.get(insert, 2).equals(LINE_COMMENT))
                        insert += 2;


Clone Instance
4
Line Count
2
Source Line
826
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java

                // go behind line comments
                while (from < endOffset - 2 && document.get(from, 2).equals(LINE_COMMENT))
                        from += 2;


Clone AbstractionParameter Count: 2Parameter Bindings

// go behind line comments
while ( [[#variableba6a3280]] < endOffset - 2 && document.get( [[#variableba6a3280]], 2).equals( [[#variableba6a3240]]))
   [[#variableba6a3280]]+= 2;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#ba6a3280]]
from 
12[[#ba6a3280]]
insert 
13[[#ba6a3280]]
from 
14[[#ba6a3280]]
insert 
21[[#ba6a3240]]
SLASHES 
22[[#ba6a3240]]
LINE_COMMENT 
23[[#ba6a3240]]
LINE_COMMENT 
24[[#ba6a3240]]
SLASHES