| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 5 | 22 | 4 | 0.970 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 87 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/impl/AssistOptions.java |
| 2 | 5 | 94 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/impl/AssistOptions.java |
| 3 | 5 | 181 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/impl/AssistOptions.java |
| 4 | 5 | 188 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/impl/AssistOptions.java |
| 5 | 5 | 195 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/impl/AssistOptions.java |
| 6 | 5 | 202 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/impl/AssistOptions.java |
| 7 | 5 | 464 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java |
| 8 | 5 | 471 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java |
| 9 | 5 | 478 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java |
| 10 | 5 | 485 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java |
| 11 | 5 | 519 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java |
| 12 | 5 | 526 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java |
| 13 | 5 | 533 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java |
| 14 | 5 | 571 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java |
| 15 | 5 | 587 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java |
| 16 | 5 | 594 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java |
| 17 | 5 | 648 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java |
| 18 | 5 | 669 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java |
| 19 | 5 | 676 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java |
| 20 | 5 | 683 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java |
| 21 | 5 | 704 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java |
| 22 | 5 | 725 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java |
| ||||
if ((optionValue = optionsMap.get(OPTION_PerformVisibilityCheck)) != null) {
if (ENABLED.equals(optionValue)) {
this.checkVisibility = true;
}
else if (DISABLED.equals(optionValue)) {
this.checkVisibility = false;
}
}
|
| ||||
if ((optionValue = optionsMap.get(OPTION_ForceImplicitQualification)) != null) {
if (ENABLED.equals(optionValue)) {
this.forceImplicitQualification = true;
}
else if (DISABLED.equals(optionValue)) {
this.forceImplicitQualification = false;
}
}
|
| ||||
if ((optionValue = optionsMap.get(OPTION_PerformForbiddenReferenceCheck)) != null) {
if (ENABLED.equals(optionValue)) {
this.checkForbiddenReference = true;
}
else if (DISABLED.equals(optionValue)) {
this.checkForbiddenReference = false;
}
}
|
| ||||
if ((optionValue = optionsMap.get(OPTION_PerformDiscouragedReferenceCheck)) != null) {
if (ENABLED.equals(optionValue)) {
this.checkDiscouragedReference = true;
}
else if (DISABLED.equals(optionValue)) {
this.checkDiscouragedReference = false;
}
}
|
| ||||
if ((optionValue = optionsMap.get(OPTION_CamelCaseMatch)) != null) {
if (ENABLED.equals(optionValue)) {
this.camelCaseMatch = true;
}
else if (DISABLED.equals(optionValue)) {
this.camelCaseMatch = false;
}
}
|
| ||||
if ((optionValue = optionsMap.get(OPTION_PerformDeprecationCheck)) != null) {
if (ENABLED.equals(optionValue)) {
this.checkDeprecation = true;
}
else if (DISABLED.equals(optionValue)) {
this.checkDeprecation = false;
}
}
|
| ||||
if ((optionValue = optionsMap.get(OPTION_PreserveUnusedLocal)) != null) {
if (PRESERVE.equals(optionValue)) {
this.preserveAllLocalVariables = true;
}
else if (OPTIMIZE_OUT.equals(optionValue)) {
this.preserveAllLocalVariables = false;
}
}
|
| ||||
if ((optionValue = optionsMap.get(OPTION_ReportDeprecationInDeprecatedCode)) != null) {
if (ENABLED.equals(optionValue)) {
this.reportDeprecationInsideDeprecatedCode = true;
}
else if (DISABLED.equals(optionValue)) {
this.reportDeprecationInsideDeprecatedCode = false;
}
}
|
| ||||
if ((optionValue = optionsMap.get(OPTION_ReportDeprecationWhenOverridingDeprecatedMethod)) != null) {
if (ENABLED.equals(optionValue)) {
this.reportDeprecationWhenOverridingDeprecatedMethod = true;
}
else if (DISABLED.equals(optionValue)) {
this.reportDeprecationWhenOverridingDeprecatedMethod = false;
}
}
|
| ||||
if ((optionValue = optionsMap.get(OPTION_ReportUnusedDeclaredThrownExceptionWhenOverriding)) != null) {
if (ENABLED.equals(optionValue)) {
this.reportUnusedDeclaredThrownExceptionWhenOverriding = true;
}
else if (DISABLED.equals(optionValue)) {
this.reportUnusedDeclaredThrownExceptionWhenOverriding = false;
}
}
|
| ||||
if ((optionValue = optionsMap.get(OPTION_ReportUnusedParameterWhenImplementingAbstract)) != null) {
if (ENABLED.equals(optionValue)) {
this.reportUnusedParameterWhenImplementingAbstract = true;
}
else if (DISABLED.equals(optionValue)) {
this.reportUnusedParameterWhenImplementingAbstract = false;
}
}
|
| ||||
if ((optionValue = optionsMap.get(OPTION_ReportUnusedParameterWhenOverridingConcrete)) != null) {
if (ENABLED.equals(optionValue)) {
this.reportUnusedParameterWhenOverridingConcrete = true;
}
else if (DISABLED.equals(optionValue)) {
this.reportUnusedParameterWhenOverridingConcrete = false;
}
}
|
| ||||
if ((optionValue = optionsMap.get(OPTION_ReportSpecialParameterHidingField)) != null) {
if (ENABLED.equals(optionValue)) {
this.reportSpecialParameterHidingField = true;
}
else if (DISABLED.equals(optionValue)) {
this.reportSpecialParameterHidingField = false;
}
}
|
| ||||
if ((optionValue = optionsMap.get(OPTION_TaskCaseSensitive)) != null) {
if (ENABLED.equals(optionValue)) {
this.isTaskCaseSensitive = true;
}
else if (DISABLED.equals(optionValue)) {
this.isTaskCaseSensitive = false;
}
}
|
| ||||
if ((optionValue = optionsMap.get(OPTION_SuppressWarnings)) != null) {
if (ENABLED.equals(optionValue)) {
this.suppressWarnings = true;
}
else if (DISABLED.equals(optionValue)) {
this.suppressWarnings = false;
}
}
|
| ||||
if ((optionValue = optionsMap.get(OPTION_FatalOptionalError)) != null) {
if (ENABLED.equals(optionValue)) {
this.treatOptionalErrorAsFatal = true;
}
else if (DISABLED.equals(optionValue)) {
this.treatOptionalErrorAsFatal = false;
}
}
|
| ||||
// Javadoc options
if ((optionValue = optionsMap.get(OPTION_DocCommentSupport)) != null) {
if (ENABLED.equals(optionValue)) {
this.docCommentSupport = true;
}
else if (DISABLED.equals(optionValue)) {
this.docCommentSupport = false;
}
}
|
| ||||
if ((optionValue = optionsMap.get(OPTION_ReportInvalidJavadocTags)) != null) {
if (ENABLED.equals(optionValue)) {
this.reportInvalidJavadocTags = true;
}
else if (DISABLED.equals(optionValue)) {
this.reportInvalidJavadocTags = false;
}
}
|
| ||||
if ((optionValue = optionsMap.get(OPTION_ReportInvalidJavadocTagsDeprecatedRef)) != null) {
if (ENABLED.equals(optionValue)) {
this.reportInvalidJavadocTagsDeprecatedRef = true;
}
else if (DISABLED.equals(optionValue)) {
this.reportInvalidJavadocTagsDeprecatedRef = false;
}
}
|
| ||||
if ((optionValue = optionsMap.get(OPTION_ReportInvalidJavadocTagsNotVisibleRef)) != null) {
if (ENABLED.equals(optionValue)) {
this.reportInvalidJavadocTagsNotVisibleRef = true;
}
else if (DISABLED.equals(optionValue)) {
this.reportInvalidJavadocTagsNotVisibleRef = false;
}
}
|
| ||||
if ((optionValue = optionsMap.get(OPTION_ReportMissingJavadocTagsOverriding)) != null) {
if (ENABLED.equals(optionValue)) {
this.reportMissingJavadocTagsOverriding = true;
}
else if (DISABLED.equals(optionValue)) {
this.reportMissingJavadocTagsOverriding = false;
}
}
|
| ||||
if ((optionValue = optionsMap.get(OPTION_ReportMissingJavadocCommentsOverriding)) != null) {
if (ENABLED.equals(optionValue)) {
this.reportMissingJavadocCommentsOverriding = true;
}
else if (DISABLED.equals(optionValue)) {
this.reportMissingJavadocCommentsOverriding = false;
}
}
|
| |||
// Javadoc options
if ((optionValue = optionsMap.get( [[#variablebb5158a0]])) != null) {
if ( [[#variablebb515820]].equals(optionValue)) {
this. [[#variablebb515780]]= true;
}
else
if ( [[#variablebb515700]].equals(optionValue)) {
this. [[#variablebb515780]]= false;
}
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#bb5158a0]] | OPTION_PerformDeprecationCheck |
| 1 | 2 | [[#bb5158a0]] | OPTION_CamelCaseMatch |
| 1 | 3 | [[#bb5158a0]] | OPTION_PerformDiscouragedReferenceCheck |
| 1 | 4 | [[#bb5158a0]] | OPTION_PerformForbiddenReferenceCheck |
| 1 | 5 | [[#bb5158a0]] | OPTION_ForceImplicitQualification |
| 1 | 6 | [[#bb5158a0]] | OPTION_PerformVisibilityCheck |
| 1 | 7 | [[#bb5158a0]] | OPTION_ReportMissingJavadocCommentsOverriding |
| 1 | 8 | [[#bb5158a0]] | OPTION_ReportMissingJavadocTagsOverriding |
| 1 | 9 | [[#bb5158a0]] | OPTION_ReportInvalidJavadocTagsNotVisibleRef |
| 1 | 10 | [[#bb5158a0]] | OPTION_ReportInvalidJavadocTagsDeprecatedRef |
| 1 | 11 | [[#bb5158a0]] | OPTION_ReportInvalidJavadocTags |
| 1 | 12 | [[#bb5158a0]] | OPTION_DocCommentSupport |
| 1 | 13 | [[#bb5158a0]] | OPTION_FatalOptionalError |
| 1 | 14 | [[#bb5158a0]] | OPTION_SuppressWarnings |
| 1 | 15 | [[#bb5158a0]] | OPTION_TaskCaseSensitive |
| 1 | 16 | [[#bb5158a0]] | OPTION_ReportSpecialParameterHidingField |
| 1 | 17 | [[#bb5158a0]] | OPTION_ReportUnusedParameterWhenOverridingConcrete |
| 1 | 18 | [[#bb5158a0]] | OPTION_ReportUnusedParameterWhenImplementingAbstract |
| 1 | 19 | [[#bb5158a0]] | OPTION_ReportUnusedDeclaredThrownExceptionWhenOverriding |
| 1 | 20 | [[#bb5158a0]] | OPTION_ReportDeprecationWhenOverridingDeprecatedMethod |
| 1 | 21 | [[#bb5158a0]] | OPTION_ReportDeprecationInDeprecatedCode |
| 1 | 22 | [[#bb5158a0]] | OPTION_PreserveUnusedLocal |
| 2 | 1 | [[#bb515820]] | ENABLED |
| 2 | 2 | [[#bb515820]] | ENABLED |
| 2 | 3 | [[#bb515820]] | ENABLED |
| 2 | 4 | [[#bb515820]] | ENABLED |
| 2 | 5 | [[#bb515820]] | ENABLED |
| 2 | 6 | [[#bb515820]] | ENABLED |
| 2 | 7 | [[#bb515820]] | ENABLED |
| 2 | 8 | [[#bb515820]] | ENABLED |
| 2 | 9 | [[#bb515820]] | ENABLED |
| 2 | 10 | [[#bb515820]] | ENABLED |
| 2 | 11 | [[#bb515820]] | ENABLED |
| 2 | 12 | [[#bb515820]] | ENABLED |
| 2 | 13 | [[#bb515820]] | ENABLED |
| 2 | 14 | [[#bb515820]] | ENABLED |
| 2 | 15 | [[#bb515820]] | ENABLED |
| 2 | 16 | [[#bb515820]] | ENABLED |
| 2 | 17 | [[#bb515820]] | ENABLED |
| 2 | 18 | [[#bb515820]] | ENABLED |
| 2 | 19 | [[#bb515820]] | ENABLED |
| 2 | 20 | [[#bb515820]] | ENABLED |
| 2 | 21 | [[#bb515820]] | ENABLED |
| 2 | 22 | [[#bb515820]] | PRESERVE |
| 3 | 1 | [[#bb515780]] | checkDeprecation |
| 3 | 2 | [[#bb515780]] | camelCaseMatch |
| 3 | 3 | [[#bb515780]] | checkDiscouragedReference |
| 3 | 4 | [[#bb515780]] | checkForbiddenReference |
| 3 | 5 | [[#bb515780]] | forceImplicitQualification |
| 3 | 6 | [[#bb515780]] | checkVisibility |
| 3 | 7 | [[#bb515780]] | reportMissingJavadocCommentsOverriding |
| 3 | 8 | [[#bb515780]] | reportMissingJavadocTagsOverriding |
| 3 | 9 | [[#bb515780]] | reportInvalidJavadocTagsNotVisibleRef |
| 3 | 10 | [[#bb515780]] | reportInvalidJavadocTagsDeprecatedRef |
| 3 | 11 | [[#bb515780]] | reportInvalidJavadocTags |
| 3 | 12 | [[#bb515780]] | docCommentSupport |
| 3 | 13 | [[#bb515780]] | treatOptionalErrorAsFatal |
| 3 | 14 | [[#bb515780]] | suppressWarnings |
| 3 | 15 | [[#bb515780]] | isTaskCaseSensitive |
| 3 | 16 | [[#bb515780]] | reportSpecialParameterHidingField |
| 3 | 17 | [[#bb515780]] | reportUnusedParameterWhenOverridingConcrete |
| 3 | 18 | [[#bb515780]] | reportUnusedParameterWhenImplementingAbstract |
| 3 | 19 | [[#bb515780]] | reportUnusedDeclaredThrownExceptionWhenOverriding |
| 3 | 20 | [[#bb515780]] | reportDeprecationWhenOverridingDeprecatedMethod |
| 3 | 21 | [[#bb515780]] | reportDeprecationInsideDeprecatedCode |
| 3 | 22 | [[#bb515780]] | preserveAllLocalVariables |
| 4 | 1 | [[#bb515700]] | DISABLED |
| 4 | 2 | [[#bb515700]] | DISABLED |
| 4 | 3 | [[#bb515700]] | DISABLED |
| 4 | 4 | [[#bb515700]] | DISABLED |
| 4 | 5 | [[#bb515700]] | DISABLED |
| 4 | 6 | [[#bb515700]] | DISABLED |
| 4 | 7 | [[#bb515700]] | DISABLED |
| 4 | 8 | [[#bb515700]] | DISABLED |
| 4 | 9 | [[#bb515700]] | DISABLED |
| 4 | 10 | [[#bb515700]] | DISABLED |
| 4 | 11 | [[#bb515700]] | DISABLED |
| 4 | 12 | [[#bb515700]] | DISABLED |
| 4 | 13 | [[#bb515700]] | DISABLED |
| 4 | 14 | [[#bb515700]] | DISABLED |
| 4 | 15 | [[#bb515700]] | DISABLED |
| 4 | 16 | [[#bb515700]] | DISABLED |
| 4 | 17 | [[#bb515700]] | DISABLED |
| 4 | 18 | [[#bb515700]] | DISABLED |
| 4 | 19 | [[#bb515700]] | DISABLED |
| 4 | 20 | [[#bb515700]] | DISABLED |
| 4 | 21 | [[#bb515700]] | DISABLED |
| 4 | 22 | [[#bb515700]] | OPTIMIZE_OUT |