CloneSet4357


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.987statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14117
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/ExpressionsCleanUp.java
24122
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/ExpressionsCleanUp.java
Clone Instance
1
Line Count
4
Source Line
117
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/ExpressionsCleanUp.java

                if (isFlag(ADD_PARANOIC_PARENTHESIS)) {
                        IFix fix = ExpressionsFix.createAddParanoidalParenthesisFix(compilationUnit, new ASTNode[] {
                                                                                                                    problem.getCoveredNode(compilationUnit)
                                                                                                                   } );
                        if (fix != null)
                                return true;
                }


Clone Instance
2
Line Count
4
Source Line
122
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/ExpressionsCleanUp.java

                if (isFlag(REMOVE_UNNECESSARY_PARENTHESIS)) {
                        IFix fix = ExpressionsFix.createRemoveUnnecessaryParenthesisFix(compilationUnit, new ASTNode[] {
                                                                                                                        problem.getCoveredNode(compilationUnit)
                                                                                                                       } );
                        if (fix != null)
                                return true;
                }


Clone AbstractionParameter Count: 2Parameter Bindings

if (isFlag( [[#variable95b2af60]])) {
  IFix fix = ExpressionsFix. [[#variable95b2af00]](compilationUnit, new ASTNode[] {
                                                                                    problem.getCoveredNode(compilationUnit)
                                                                                  } );
  if (fix != null)
    return true;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#95b2af60]]
ADD_PARANOIC_PARENTHESIS 
12[[#95b2af60]]
REMOVE_UNNECESSARY_PARENTHESIS 
21[[#95b2af00]]
createAddParanoidalParenthesisFix 
22[[#95b2af00]]
createRemoveUnnecessaryParenthesisFix