CloneSet5319


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5250.955statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15348
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/comment/CommentRegion.java
2641
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/engine/DefaultSpellChecker.java
Clone Instance
1
Line Count
5
Source Line
348
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/comment/CommentRegion.java

                for (int index = 0; index < token.length(); index++) {
                        if (ScannerHelper.isLetterOrDigit(token.charAt(index)))
                                return false;
                }
                return true;


Clone Instance
2
Line Count
6
Source Line
41
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/engine/DefaultSpellChecker.java

                for (int index = 0; index < word.length(); index++) {

                        if (Character.isDigit(word.charAt(index)))
                                return true;
                }
                return false;


Clone AbstractionParameter Count: 5Parameter Bindings

for (int index = 0; index <  [[#variableb1ae4be0]].length(); index++) {
  if ( [[#variableb1ae4ae0]]. [[#variableb1ae4b00]]( [[#variableb1ae4be0]].charAt(index)))
    return [[#variableb1ae4a40]];
}
return [[#variableb1ae49e0]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b1ae4be0]]
token 
12[[#b1ae4be0]]
word 
21[[#b1ae4ae0]]
ScannerHelper 
22[[#b1ae4ae0]]
Character 
31[[#b1ae4b00]]
isLetterOrDigit 
32[[#b1ae4b00]]
isDigit 
41[[#b1ae4a40]]
false 
42[[#b1ae4a40]]
true 
51[[#b1ae49e0]]
true 
52[[#b1ae49e0]]
false