| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 2 | 2 | 0.987 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 117 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/ExpressionsCleanUp.java |
| 2 | 4 | 122 | 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;
}
|
| ||||
if (isFlag(REMOVE_UNNECESSARY_PARENTHESIS)) {
IFix fix = ExpressionsFix.createRemoveUnnecessaryParenthesisFix(compilationUnit, new ASTNode[] {
problem.getCoveredNode(compilationUnit)
} );
if (fix != null)
return true;
}
|
| |||
if (isFlag( [[#variable95b2af60]])) {
IFix fix = ExpressionsFix. [[#variable95b2af00]](compilationUnit, new ASTNode[] {
problem.getCoveredNode(compilationUnit)
} );
if (fix != null)
return true;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#95b2af60]] | ADD_PARANOIC_PARENTHESIS |
| 1 | 2 | [[#95b2af60]] | REMOVE_UNNECESSARY_PARENTHESIS |
| 2 | 1 | [[#95b2af00]] | createAddParanoidalParenthesisFix |
| 2 | 2 | [[#95b2af00]] | createRemoveUnnecessaryParenthesisFix |