hackedteam/core-blackberry

View on GitHub
bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java

Summary

Maintainability
D
3 days
Test Coverage

MultiAttributeVisitor has 34 methods (exceeds 20 allowed). Consider refactoring.
Open

public class MultiAttributeVisitor implements AttributeVisitor
{
    private AttributeVisitor[] attributeVisitors;


    File MultiAttributeVisitor.java has 261 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    /*
     * ProGuard -- shrinking, optimization, obfuscation, and preverification
     *             of Java bytecode.
     *
     * Copyright (c) 2002-2011 Eric Lafortune (eric@graphics.cornell.edu)

      Similar blocks of code found in 6 locations. Consider refactoring.
      Open

          public void visitStackMapTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, StackMapTableAttribute stackMapTableAttribute)
          {
              for (int index = 0; index < attributeVisitors.length; index++)
              {
                  attributeVisitors[index].visitStackMapTableAttribute(clazz, method, codeAttribute, stackMapTableAttribute);
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 241..247
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 259..265
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 268..274
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 277..283
      bb-tools/proguard4.7/src/proguard/obfuscate/MultiMappingProcessor.java on lines 62..74

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 47.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 6 locations. Consider refactoring.
      Open

          public void visitStackMapAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, StackMapAttribute stackMapAttribute)
          {
              for (int index = 0; index < attributeVisitors.length; index++)
              {
                  attributeVisitors[index].visitStackMapAttribute(clazz, method, codeAttribute, stackMapAttribute);
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 250..256
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 259..265
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 268..274
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 277..283
      bb-tools/proguard4.7/src/proguard/obfuscate/MultiMappingProcessor.java on lines 62..74

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 47.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 6 locations. Consider refactoring.
      Open

          public void visitLocalVariableTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTableAttribute localVariableTableAttribute)
          {
              for (int index = 0; index < attributeVisitors.length; index++)
              {
                  attributeVisitors[index].visitLocalVariableTableAttribute(clazz, method, codeAttribute, localVariableTableAttribute);
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 241..247
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 250..256
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 259..265
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 277..283
      bb-tools/proguard4.7/src/proguard/obfuscate/MultiMappingProcessor.java on lines 62..74

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 47.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 6 locations. Consider refactoring.
      Open

          public void visitLineNumberTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LineNumberTableAttribute lineNumberTableAttribute)
          {
              for (int index = 0; index < attributeVisitors.length; index++)
              {
                  attributeVisitors[index].visitLineNumberTableAttribute(clazz, method, codeAttribute, lineNumberTableAttribute);
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 241..247
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 250..256
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 268..274
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 277..283
      bb-tools/proguard4.7/src/proguard/obfuscate/MultiMappingProcessor.java on lines 62..74

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 47.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 6 locations. Consider refactoring.
      Open

          public void visitLocalVariableTypeTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTypeTableAttribute localVariableTypeTableAttribute)
          {
              for (int index = 0; index < attributeVisitors.length; index++)
              {
                  attributeVisitors[index].visitLocalVariableTypeTableAttribute(clazz, method, codeAttribute, localVariableTypeTableAttribute);
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 241..247
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 250..256
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 259..265
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 268..274
      bb-tools/proguard4.7/src/proguard/obfuscate/MultiMappingProcessor.java on lines 62..74

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 47.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 16 locations. Consider refactoring.
      Open

          public void visitAnnotationDefaultAttribute(Clazz clazz, Method method, AnnotationDefaultAttribute annotationDefaultAttribute)
          {
              for (int index = 0; index < attributeVisitors.length; index++)
              {
                  attributeVisitors[index].visitAnnotationDefaultAttribute(clazz, method, annotationDefaultAttribute);
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 160..166
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 169..175
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 178..184
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 187..193
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 196..202
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 205..211
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 214..220
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 223..229
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 232..238
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 304..310
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 313..319
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 322..328
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 331..337
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 340..346
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 349..355

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 44.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 16 locations. Consider refactoring.
      Open

          public void visitConstantValueAttribute(Clazz clazz, Field field, ConstantValueAttribute constantValueAttribute)
          {
              for (int index = 0; index < attributeVisitors.length; index++)
              {
                  attributeVisitors[index].visitConstantValueAttribute(clazz, field, constantValueAttribute);
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 160..166
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 169..175
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 178..184
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 187..193
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 196..202
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 205..211
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 223..229
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 232..238
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 304..310
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 313..319
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 322..328
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 331..337
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 340..346
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 349..355
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 358..364

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 44.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 16 locations. Consider refactoring.
      Open

          public void visitSignatureAttribute(Clazz clazz, Method method, SignatureAttribute syntheticAttribute)
          {
              for (int index = 0; index < attributeVisitors.length; index++)
              {
                  attributeVisitors[index].visitSignatureAttribute(clazz, method, syntheticAttribute);
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 160..166
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 169..175
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 178..184
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 187..193
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 196..202
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 214..220
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 223..229
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 232..238
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 304..310
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 313..319
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 322..328
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 331..337
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 340..346
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 349..355
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 358..364

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 44.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 16 locations. Consider refactoring.
      Open

          public void visitDeprecatedAttribute(Clazz clazz, Method method, DeprecatedAttribute deprecatedAttribute)
          {
              for (int index = 0; index < attributeVisitors.length; index++)
              {
                  attributeVisitors[index].visitDeprecatedAttribute(clazz, method, deprecatedAttribute);
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 160..166
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 169..175
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 178..184
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 196..202
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 205..211
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 214..220
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 223..229
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 232..238
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 304..310
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 313..319
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 322..328
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 331..337
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 340..346
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 349..355
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 358..364

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 44.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 16 locations. Consider refactoring.
      Open

          public void visitRuntimeVisibleAnnotationsAttribute(Clazz clazz, Field field, RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute)
          {
              for (int index = 0; index < attributeVisitors.length; index++)
              {
                  attributeVisitors[index].visitRuntimeVisibleAnnotationsAttribute(clazz, field, runtimeVisibleAnnotationsAttribute);
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 160..166
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 169..175
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 178..184
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 187..193
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 196..202
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 205..211
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 214..220
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 223..229
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 232..238
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 313..319
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 322..328
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 331..337
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 340..346
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 349..355
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 358..364

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 44.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 16 locations. Consider refactoring.
      Open

          public void visitSyntheticAttribute(Clazz clazz, Field field, SyntheticAttribute syntheticAttribute)
          {
              for (int index = 0; index < attributeVisitors.length; index++)
              {
                  attributeVisitors[index].visitSyntheticAttribute(clazz, field, syntheticAttribute);
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 160..166
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 178..184
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 187..193
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 196..202
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 205..211
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 214..220
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 223..229
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 232..238
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 304..310
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 313..319
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 322..328
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 331..337
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 340..346
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 349..355
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 358..364

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 44.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 16 locations. Consider refactoring.
      Open

          public void visitRuntimeInvisibleAnnotationsAttribute(Clazz clazz, Field field, RuntimeInvisibleAnnotationsAttribute runtimeInvisibleAnnotationsAttribute)
          {
              for (int index = 0; index < attributeVisitors.length; index++)
              {
                  attributeVisitors[index].visitRuntimeInvisibleAnnotationsAttribute(clazz, field, runtimeInvisibleAnnotationsAttribute);
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 160..166
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 169..175
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 178..184
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 187..193
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 196..202
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 205..211
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 214..220
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 223..229
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 232..238
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 304..310
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 322..328
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 331..337
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 340..346
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 349..355
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 358..364

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 44.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 16 locations. Consider refactoring.
      Open

          public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute)
          {
              for (int index = 0; index < attributeVisitors.length; index++)
              {
                  attributeVisitors[index].visitCodeAttribute(clazz, method, codeAttribute);
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 160..166
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 169..175
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 178..184
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 187..193
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 196..202
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 205..211
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 214..220
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 223..229
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 304..310
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 313..319
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 322..328
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 331..337
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 340..346
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 349..355
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 358..364

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 44.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 16 locations. Consider refactoring.
      Open

          public void visitDeprecatedAttribute(Clazz clazz, Field field, DeprecatedAttribute deprecatedAttribute)
          {
              for (int index = 0; index < attributeVisitors.length; index++)
              {
                  attributeVisitors[index].visitDeprecatedAttribute(clazz, field, deprecatedAttribute);
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 169..175
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 178..184
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 187..193
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 196..202
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 205..211
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 214..220
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 223..229
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 232..238
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 304..310
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 313..319
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 322..328
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 331..337
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 340..346
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 349..355
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 358..364

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 44.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 16 locations. Consider refactoring.
      Open

          public void visitRuntimeVisibleAnnotationsAttribute(Clazz clazz, Method method, RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute)
          {
              for (int index = 0; index < attributeVisitors.length; index++)
              {
                  attributeVisitors[index].visitRuntimeVisibleAnnotationsAttribute(clazz, method, runtimeVisibleAnnotationsAttribute);
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 160..166
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 169..175
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 178..184
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 187..193
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 196..202
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 205..211
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 214..220
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 223..229
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 232..238
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 304..310
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 313..319
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 331..337
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 340..346
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 349..355
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 358..364

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 44.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 16 locations. Consider refactoring.
      Open

          public void visitRuntimeVisibleParameterAnnotationsAttribute(Clazz clazz, Method method, RuntimeVisibleParameterAnnotationsAttribute runtimeVisibleParameterAnnotationsAttribute)
          {
              for (int index = 0; index < attributeVisitors.length; index++)
              {
                  attributeVisitors[index].visitRuntimeVisibleParameterAnnotationsAttribute(clazz, method, runtimeVisibleParameterAnnotationsAttribute);
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 160..166
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 169..175
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 178..184
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 187..193
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 196..202
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 205..211
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 214..220
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 223..229
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 232..238
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 304..310
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 313..319
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 322..328
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 331..337
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 349..355
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 358..364

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 44.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 16 locations. Consider refactoring.
      Open

          public void visitRuntimeInvisibleParameterAnnotationsAttribute(Clazz clazz, Method method, RuntimeInvisibleParameterAnnotationsAttribute runtimeInvisibleParameterAnnotationsAttribute)
          {
              for (int index = 0; index < attributeVisitors.length; index++)
              {
                  attributeVisitors[index].visitRuntimeInvisibleParameterAnnotationsAttribute(clazz, method, runtimeInvisibleParameterAnnotationsAttribute);
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 160..166
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 169..175
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 178..184
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 187..193
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 196..202
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 205..211
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 214..220
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 223..229
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 232..238
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 304..310
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 313..319
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 322..328
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 331..337
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 340..346
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 358..364

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 44.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 16 locations. Consider refactoring.
      Open

          public void visitSyntheticAttribute(Clazz clazz, Method method, SyntheticAttribute syntheticAttribute)
          {
              for (int index = 0; index < attributeVisitors.length; index++)
              {
                  attributeVisitors[index].visitSyntheticAttribute(clazz, method, syntheticAttribute);
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 160..166
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 169..175
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 178..184
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 187..193
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 205..211
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 214..220
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 223..229
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 232..238
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 304..310
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 313..319
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 322..328
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 331..337
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 340..346
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 349..355
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 358..364

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 44.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 16 locations. Consider refactoring.
      Open

          public void visitSignatureAttribute(Clazz clazz, Field field, SignatureAttribute syntheticAttribute)
          {
              for (int index = 0; index < attributeVisitors.length; index++)
              {
                  attributeVisitors[index].visitSignatureAttribute(clazz, field, syntheticAttribute);
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 160..166
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 169..175
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 187..193
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 196..202
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 205..211
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 214..220
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 223..229
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 232..238
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 304..310
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 313..319
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 322..328
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 331..337
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 340..346
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 349..355
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 358..364

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 44.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 16 locations. Consider refactoring.
      Open

          public void visitExceptionsAttribute(Clazz clazz, Method method, ExceptionsAttribute exceptionsAttribute)
          {
              for (int index = 0; index < attributeVisitors.length; index++)
              {
                  attributeVisitors[index].visitExceptionsAttribute(clazz, method, exceptionsAttribute);
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 160..166
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 169..175
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 178..184
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 187..193
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 196..202
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 205..211
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 214..220
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 232..238
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 304..310
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 313..319
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 322..328
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 331..337
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 340..346
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 349..355
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 358..364

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 44.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 16 locations. Consider refactoring.
      Open

          public void visitRuntimeInvisibleAnnotationsAttribute(Clazz clazz, Method method, RuntimeInvisibleAnnotationsAttribute runtimeInvisibleAnnotationsAttribute)
          {
              for (int index = 0; index < attributeVisitors.length; index++)
              {
                  attributeVisitors[index].visitRuntimeInvisibleAnnotationsAttribute(clazz, method, runtimeInvisibleAnnotationsAttribute);
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 160..166
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 169..175
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 178..184
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 187..193
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 196..202
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 205..211
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 214..220
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 223..229
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 232..238
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 304..310
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 313..319
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 322..328
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 340..346
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 349..355
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 358..364

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 44.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 12 locations. Consider refactoring.
      Open

          public void visitSourceFileAttribute(Clazz clazz, SourceFileAttribute sourceFileAttribute)
          {
              for (int index = 0; index < attributeVisitors.length; index++)
              {
                  attributeVisitors[index].visitSourceFileAttribute(clazz, sourceFileAttribute);
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 79..85
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 88..94
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 106..112
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 115..121
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 124..130
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 133..139
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 142..148
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 151..157
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 286..292
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 295..301
      bb-tools/proguard4.7/src/proguard/gui/splash/CompositeSprite.java on lines 48..55

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 41.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 12 locations. Consider refactoring.
      Open

          public void visitSourceDirAttribute(Clazz clazz, SourceDirAttribute sourceDirAttribute)
          {
              for (int index = 0; index < attributeVisitors.length; index++)
              {
                  attributeVisitors[index].visitSourceDirAttribute(clazz, sourceDirAttribute);
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 79..85
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 88..94
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 97..103
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 115..121
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 124..130
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 133..139
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 142..148
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 151..157
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 286..292
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 295..301
      bb-tools/proguard4.7/src/proguard/gui/splash/CompositeSprite.java on lines 48..55

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 41.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 12 locations. Consider refactoring.
      Open

          public void visitSignatureAttribute(Clazz clazz, SignatureAttribute syntheticAttribute)
          {
              for (int index = 0; index < attributeVisitors.length; index++)
              {
                  attributeVisitors[index].visitSignatureAttribute(clazz, syntheticAttribute);
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 79..85
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 88..94
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 97..103
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 106..112
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 115..121
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 124..130
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 133..139
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 142..148
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 286..292
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 295..301
      bb-tools/proguard4.7/src/proguard/gui/splash/CompositeSprite.java on lines 48..55

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 41.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 12 locations. Consider refactoring.
      Open

          public void visitRuntimeVisibleAnnotationsAttribute(Clazz clazz, RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute)
          {
              for (int index = 0; index < attributeVisitors.length; index++)
              {
                  attributeVisitors[index].visitRuntimeVisibleAnnotationsAttribute(clazz, runtimeVisibleAnnotationsAttribute);
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 79..85
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 88..94
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 97..103
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 106..112
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 115..121
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 124..130
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 133..139
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 142..148
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 151..157
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 295..301
      bb-tools/proguard4.7/src/proguard/gui/splash/CompositeSprite.java on lines 48..55

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 41.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 12 locations. Consider refactoring.
      Open

          public void visitUnknownAttribute(Clazz clazz, UnknownAttribute unknownAttribute)
          {
              for (int index = 0; index < attributeVisitors.length; index++)
              {
                  attributeVisitors[index].visitUnknownAttribute(clazz, unknownAttribute);
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 88..94
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 97..103
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 106..112
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 115..121
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 124..130
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 133..139
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 142..148
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 151..157
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 286..292
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 295..301
      bb-tools/proguard4.7/src/proguard/gui/splash/CompositeSprite.java on lines 48..55

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 41.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 12 locations. Consider refactoring.
      Open

          public void visitSyntheticAttribute(Clazz clazz, SyntheticAttribute syntheticAttribute)
          {
              for (int index = 0; index < attributeVisitors.length; index++)
              {
                  attributeVisitors[index].visitSyntheticAttribute(clazz, syntheticAttribute);
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 79..85
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 88..94
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 97..103
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 106..112
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 115..121
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 124..130
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 133..139
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 151..157
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 286..292
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 295..301
      bb-tools/proguard4.7/src/proguard/gui/splash/CompositeSprite.java on lines 48..55

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 41.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 12 locations. Consider refactoring.
      Open

          public void visitInnerClassesAttribute(Clazz clazz, InnerClassesAttribute innerClassesAttribute)
          {
              for (int index = 0; index < attributeVisitors.length; index++)
              {
                  attributeVisitors[index].visitInnerClassesAttribute(clazz, innerClassesAttribute);
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 79..85
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 88..94
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 97..103
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 106..112
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 124..130
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 133..139
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 142..148
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 151..157
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 286..292
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 295..301
      bb-tools/proguard4.7/src/proguard/gui/splash/CompositeSprite.java on lines 48..55

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 41.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 12 locations. Consider refactoring.
      Open

          public void visitDeprecatedAttribute(Clazz clazz, DeprecatedAttribute deprecatedAttribute)
          {
              for (int index = 0; index < attributeVisitors.length; index++)
              {
                  attributeVisitors[index].visitDeprecatedAttribute(clazz, deprecatedAttribute);
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 79..85
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 88..94
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 97..103
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 106..112
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 115..121
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 124..130
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 142..148
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 151..157
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 286..292
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 295..301
      bb-tools/proguard4.7/src/proguard/gui/splash/CompositeSprite.java on lines 48..55

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 41.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 12 locations. Consider refactoring.
      Open

          public void visitRuntimeInvisibleAnnotationsAttribute(Clazz clazz, RuntimeInvisibleAnnotationsAttribute runtimeInvisibleAnnotationsAttribute)
          {
              for (int index = 0; index < attributeVisitors.length; index++)
              {
                  attributeVisitors[index].visitRuntimeInvisibleAnnotationsAttribute(clazz, runtimeInvisibleAnnotationsAttribute);
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 79..85
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 88..94
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 97..103
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 106..112
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 115..121
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 124..130
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 133..139
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 142..148
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 151..157
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 286..292
      bb-tools/proguard4.7/src/proguard/gui/splash/CompositeSprite.java on lines 48..55

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 41.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 12 locations. Consider refactoring.
      Open

          public void visitBootstrapMethodsAttribute(Clazz clazz, BootstrapMethodsAttribute bootstrapMethodsAttribute)
          {
              for (int index = 0; index < attributeVisitors.length; index++)
              {
                  attributeVisitors[index].visitBootstrapMethodsAttribute(clazz, bootstrapMethodsAttribute);
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 79..85
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 97..103
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 106..112
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 115..121
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 124..130
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 133..139
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 142..148
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 151..157
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 286..292
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 295..301
      bb-tools/proguard4.7/src/proguard/gui/splash/CompositeSprite.java on lines 48..55

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 41.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 12 locations. Consider refactoring.
      Open

          public void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute)
          {
              for (int index = 0; index < attributeVisitors.length; index++)
              {
                  attributeVisitors[index].visitEnclosingMethodAttribute(clazz, enclosingMethodAttribute);
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 79..85
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 88..94
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 97..103
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 106..112
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 115..121
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 133..139
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 142..148
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 151..157
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 286..292
      bb-tools/proguard4.7/src/proguard/classfile/attribute/visitor/MultiAttributeVisitor.java on lines 295..301
      bb-tools/proguard4.7/src/proguard/gui/splash/CompositeSprite.java on lines 48..55

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 41.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      There are no issues that match your filters.

      Category
      Status