CloneSet5569


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5201.000statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15386
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/UnusedCodeFix.java
25479
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/UnusedCodeFix.java
Clone Instance
1
Line Count
5
Source Line
386
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/UnusedCodeFix.java

                ASTNode selectedNode = problem.getCoveringNode(compilationUnit);

                ASTNode curr = selectedNode;
                while (curr instanceof ParenthesizedExpression) {
                        curr = ((ParenthesizedExpression) curr).getExpression();
                }


Clone Instance
2
Line Count
5
Source Line
479
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/UnusedCodeFix.java

                                ASTNode selectedNode = problem.getCoveringNode(compilationUnit);

                                ASTNode curr = selectedNode;
                                while (curr instanceof ParenthesizedExpression) {
                                        curr = ((ParenthesizedExpression) curr).getExpression();
                                }


Clone AbstractionParameter Count: 0Parameter Bindings

ASTNode selectedNode = problem.getCoveringNode(compilationUnit);
ASTNode curr = selectedNode;
while (curr instanceof ParenthesizedExpression) {
  curr = ((ParenthesizedExpression) curr).getExpression();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None