CloneSet3374


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

                //
                Expression leftOperand = getInversedBooleanExpression(ast, rewrite, infixExpression.getLeftOperand(), provider);
                int leftPrecedence = getExpressionPrecedence(leftOperand);
                if (newOperatorPrecedence < leftPrecedence) {
                        leftOperand = getParenthesizedExpression(ast, leftOperand);
                }


Clone Instance
2
Line Count
4
Source Line
611
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java

                //
                Expression rightOperand = getInversedBooleanExpression(ast, rewrite, infixExpression.getRightOperand(), provider);
                int rightPrecedence = getExpressionPrecedence(rightOperand);
                if (newOperatorPrecedence < rightPrecedence) {
                        rightOperand = getParenthesizedExpression(ast, rightOperand);
                }


Clone AbstractionParameter Count: 3Parameter Bindings

//
Expression  [[#variable97b3dcc0]]= getInversedBooleanExpression(ast, rewrite, infixExpression. [[#variable97b3dd20]](), provider);
int  [[#variable97b3dd80]]= getExpressionPrecedence( [[#variable97b3dcc0]]);
if (newOperatorPrecedence <  [[#variable97b3dd80]]) {
   [[#variable97b3dcc0]]= getParenthesizedExpression(ast,  [[#variable97b3dcc0]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#97b3dcc0]]
leftOperand 
12[[#97b3dcc0]]
rightOperand 
21[[#97b3dd20]]
getLeftOperand 
22[[#97b3dd20]]
getRightOperand 
31[[#97b3dd80]]
leftPrecedence 
32[[#97b3dd80]]
rightPrecedence