CloneSet5704


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5340.952switch_group
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15262
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/ValidBreakpointLocationLocator.java
25258
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractMethodAnalyzer.java
35804
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java
Clone Instance
1
Line Count
5
Source Line
262
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/ValidBreakpointLocationLocator.java

                        // litterals are constant
                        case ASTNode.BOOLEAN_LITERAL:
                        case ASTNode.CHARACTER_LITERAL:
                        case ASTNode.NUMBER_LITERAL:
                        case ASTNode.STRING_LITERAL:
                                return true;


Clone Instance
2
Line Count
5
Source Line
258
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractMethodAnalyzer.java

                        case ASTNode.BOOLEAN_LITERAL:
                        case ASTNode.CHARACTER_LITERAL:
                        case ASTNode.NULL_LITERAL:
                        case ASTNode.NUMBER_LITERAL:
                                return true;


Clone Instance
3
Line Count
5
Source Line
804
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java

                        case ASTNode.IF_STATEMENT:
                        case ASTNode.WHILE_STATEMENT:
                        case ASTNode.FOR_STATEMENT:
                        case ASTNode.DO_STATEMENT:
                                return true;


Clone AbstractionParameter Count: 4Parameter Bindings

// litterals are constant
case ASTNode. [[#variable92b9e2c0]]:
case ASTNode. [[#variable92b9e280]]:
case ASTNode. [[#variable92cadc60]]:
case ASTNode. [[#variable92b9e220]]:
  return true;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#92b9e2c0]]
BOOLEAN_LITERAL 
12[[#92b9e2c0]]
BOOLEAN_LITERAL 
13[[#92b9e2c0]]
IF_STATEMENT 
21[[#92b9e280]]
CHARACTER_LITERAL 
22[[#92b9e280]]
CHARACTER_LITERAL 
23[[#92b9e280]]
WHILE_STATEMENT 
31[[#92cadc60]]
NUMBER_LITERAL 
32[[#92cadc60]]
NULL_LITERAL 
33[[#92cadc60]]
FOR_STATEMENT 
41[[#92b9e220]]
STRING_LITERAL 
42[[#92b9e220]]
NUMBER_LITERAL 
43[[#92b9e220]]
DO_STATEMENT