Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 8 | 6 | 0.963 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 167 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CodeStyleCleanUp.java |
2 | 6 | 173 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CodeStyleCleanUp.java |
3 | 6 | 109 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/ControlStatementsCleanUp.java |
4 | 6 | 124 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/Java50CleanUp.java |
5 | 6 | 135 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/PotentialProgrammingProblemsCleanUp.java |
6 | 6 | 136 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/UnusedCodeCleanUp.java |
7 | 6 | 142 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/UnusedCodeCleanUp.java |
8 | 6 | 100 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/VariableDeclarationCleanUp.java |
| ||||
if (isFlag(QUALIFY_FIELD_ACCESS)) result.add(MultiFixMessages.CodeStyleMultiFix_AddThisQualifier_description); if (isFlag(QUALIFY_STATIC_FIELD_ACCESS)) result.add(MultiFixMessages.CodeStyleMultiFix_QualifyAccessToStaticField); if (isFlag(CHANGE_NON_STATIC_ACCESS_TO_STATIC)) result.add(MultiFixMessages.CodeStyleMultiFix_ChangeNonStaticAccess_description); |
| ||||
if (isFlag(CHANGE_INDIRECT_STATIC_ACCESS_TO_DIRECT)) result.add(MultiFixMessages.CodeStyleMultiFix_ChangeIndirectAccessToStaticToDirect); if (isFlag(QUALIFY_METHOD_ACCESS)) result.add(MultiFixMessages.CodeStyleCleanUp_QualifyNonStaticMethod_description); if (isFlag(QUALIFY_STATIC_METHOD_ACCESS)) result.add(MultiFixMessages.CodeStyleCleanUp_QualifyStaticMethod_description); |
| ||||
if (isFlag(ADD_BLOCK_TO_CONTROL_STATEMENTS)) result.add(MultiFixMessages.CodeStyleMultiFix_ConvertSingleStatementInControlBodeyToBlock_description); if (isFlag(CONVERT_FOR_LOOP_TO_ENHANCED_FOR_LOOP)) result.add(MultiFixMessages.Java50CleanUp_ConvertToEnhancedForLoop_description); if (isFlag(REMOVE_UNNECESSARY_BLOCKS)) result.add(MultiFixMessages.ControlStatementsCleanUp_RemoveUnnecessaryBlocks_description); |
| ||||
if (isFlag(ADD_OVERRIDE_ANNOATION)) result.add(MultiFixMessages.Java50MultiFix_AddMissingOverride_description); if (isFlag(ADD_DEPRECATED_ANNOTATION)) result.add(MultiFixMessages.Java50MultiFix_AddMissingDeprecated_description); if (isFlag(ADD_TYPE_PARAMETERS_TO_RAW_TYPE_REFERENCE)) result.add(MultiFixMessages.Java50CleanUp_AddTypeParameters_description); |
| ||||
if (isFlag(ADD_CALCULATED_SERIAL_VERSION_ID)) result.add(MultiFixMessages.SerialVersionCleanUp_Generated_description); if (isFlag(ADD_DEFAULT_SERIAL_VERSION_ID)) result.add(MultiFixMessages.CodeStyleCleanUp_addDefaultSerialVersionId_description); if (isFlag(ADD_RANDOM_SERIAL_VERSION_ID)) result.add(MultiFixMessages.PotentialProgrammingProblemsCleanUp_RandomSerialId_description); |
| ||||
if (isFlag(REMOVE_UNUSED_IMPORTS)) result.add(MultiFixMessages.UnusedCodeMultiFix_RemoveUnusedImport_description); if (isFlag(REMOVE_UNUSED_PRIVATE_METHODS)) result.add(MultiFixMessages.UnusedCodeMultiFix_RemoveUnusedMethod_description); if (isFlag(REMOVE_UNUSED_PRIVATE_CONSTRUCTORS)) result.add(MultiFixMessages.UnusedCodeMultiFix_RemoveUnusedConstructor_description); |
| ||||
if (isFlag(REMOVE_UNUSED_PRIVATE_TYPES)) result.add(MultiFixMessages.UnusedCodeMultiFix_RemoveUnusedType_description); if (isFlag(REMOVE_UNUSED_PRIVATE_FIELDS)) result.add(MultiFixMessages.UnusedCodeMultiFix_RemoveUnusedField_description); if (isFlag(REMOVE_UNUSED_LOCAL_VARIABLES)) result.add(MultiFixMessages.UnusedCodeMultiFix_RemoveUnusedVariable_description); |
| ||||
if (isFlag(ADD_FINAL_MODIFIER_FIELDS)) result.add(MultiFixMessages.VariableDeclarationCleanUp_AddFinalField_description); if (isFlag(ADD_FINAL_MODIFIER_PARAMETERS)) result.add(MultiFixMessages.VariableDeclarationCleanUp_AddFinalParameters_description); if (isFlag(ADD_FINAL_MODIFIER_LOCAL_VARIABLES)) result.add(MultiFixMessages.VariableDeclarationCleanUp_AddFinalLocals_description); |
| |||
if (isFlag( [[#variable58e14be0]])) result.add(MultiFixMessages. [[#variable59cce540]]); if (isFlag( [[#variable57c1f8c0]])) result.add(MultiFixMessages. [[#variablebcc44700]]); if (isFlag( [[#variablea3f53840]])) result.add(MultiFixMessages. [[#variable58e14b60]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#58e14be0]] | ADD_FINAL_MODIFIER_FIELDS |
1 | 2 | [[#58e14be0]] | REMOVE_UNUSED_IMPORTS |
1 | 3 | [[#58e14be0]] | REMOVE_UNUSED_PRIVATE_TYPES |
1 | 4 | [[#58e14be0]] | ADD_CALCULATED_SERIAL_VERSION_ID |
1 | 5 | [[#58e14be0]] | ADD_OVERRIDE_ANNOATION |
1 | 6 | [[#58e14be0]] | ADD_BLOCK_TO_CONTROL_STATEMENTS |
1 | 7 | [[#58e14be0]] | QUALIFY_FIELD_ACCESS |
1 | 8 | [[#58e14be0]] | CHANGE_INDIRECT_STATIC_ACCESS_TO_DIRECT |
2 | 1 | [[#59cce540]] | VariableDeclarationCleanUp_AddFinalField_description |
2 | 2 | [[#59cce540]] | UnusedCodeMultiFix_RemoveUnusedImport_description |
2 | 3 | [[#59cce540]] | UnusedCodeMultiFix_RemoveUnusedType_description |
2 | 4 | [[#59cce540]] | SerialVersionCleanUp_Generated_description |
2 | 5 | [[#59cce540]] | Java50MultiFix_AddMissingOverride_description |
2 | 6 | [[#59cce540]] | CodeStyleMultiFix_ConvertSingleStatementInControlBodeyToBlock_description |
2 | 7 | [[#59cce540]] | CodeStyleMultiFix_AddThisQualifier_description |
2 | 8 | [[#59cce540]] | CodeStyleMultiFix_ChangeIndirectAccessToStaticToDirect |
3 | 1 | [[#57c1f8c0]] | ADD_FINAL_MODIFIER_PARAMETERS |
3 | 2 | [[#57c1f8c0]] | REMOVE_UNUSED_PRIVATE_METHODS |
3 | 3 | [[#57c1f8c0]] | REMOVE_UNUSED_PRIVATE_FIELDS |
3 | 4 | [[#57c1f8c0]] | ADD_DEFAULT_SERIAL_VERSION_ID |
3 | 5 | [[#57c1f8c0]] | ADD_DEPRECATED_ANNOTATION |
3 | 6 | [[#57c1f8c0]] | CONVERT_FOR_LOOP_TO_ENHANCED_FOR_LOOP |
3 | 7 | [[#57c1f8c0]] | QUALIFY_STATIC_FIELD_ACCESS |
3 | 8 | [[#57c1f8c0]] | QUALIFY_METHOD_ACCESS |
4 | 1 | [[#bcc44700]] | VariableDeclarationCleanUp_AddFinalParameters_description |
4 | 2 | [[#bcc44700]] | UnusedCodeMultiFix_RemoveUnusedMethod_description |
4 | 3 | [[#bcc44700]] | UnusedCodeMultiFix_RemoveUnusedField_description |
4 | 4 | [[#bcc44700]] | CodeStyleCleanUp_addDefaultSerialVersionId_description |
4 | 5 | [[#bcc44700]] | Java50MultiFix_AddMissingDeprecated_description |
4 | 6 | [[#bcc44700]] | Java50CleanUp_ConvertToEnhancedForLoop_description |
4 | 7 | [[#bcc44700]] | CodeStyleMultiFix_QualifyAccessToStaticField |
4 | 8 | [[#bcc44700]] | CodeStyleCleanUp_QualifyNonStaticMethod_description |
5 | 1 | [[#a3f53840]] | ADD_FINAL_MODIFIER_LOCAL_VARIABLES |
5 | 2 | [[#a3f53840]] | REMOVE_UNUSED_PRIVATE_CONSTRUCTORS |
5 | 3 | [[#a3f53840]] | REMOVE_UNUSED_LOCAL_VARIABLES |
5 | 4 | [[#a3f53840]] | ADD_RANDOM_SERIAL_VERSION_ID |
5 | 5 | [[#a3f53840]] | ADD_TYPE_PARAMETERS_TO_RAW_TYPE_REFERENCE |
5 | 6 | [[#a3f53840]] | REMOVE_UNNECESSARY_BLOCKS |
5 | 7 | [[#a3f53840]] | CHANGE_NON_STATIC_ACCESS_TO_STATIC |
5 | 8 | [[#a3f53840]] | QUALIFY_STATIC_METHOD_ACCESS |
6 | 1 | [[#58e14b60]] | VariableDeclarationCleanUp_AddFinalLocals_description |
6 | 2 | [[#58e14b60]] | UnusedCodeMultiFix_RemoveUnusedConstructor_description |
6 | 3 | [[#58e14b60]] | UnusedCodeMultiFix_RemoveUnusedVariable_description |
6 | 4 | [[#58e14b60]] | PotentialProgrammingProblemsCleanUp_RandomSerialId_description |
6 | 5 | [[#58e14b60]] | Java50CleanUp_AddTypeParameters_description |
6 | 6 | [[#58e14b60]] | ControlStatementsCleanUp_RemoveUnnecessaryBlocks_description |
6 | 7 | [[#58e14b60]] | CodeStyleMultiFix_ChangeNonStaticAccess_description |
6 | 8 | [[#58e14b60]] | CodeStyleCleanUp_QualifyStaticMethod_description |