evalphobia/aws-sdk-go-v2-wrapper

View on GitHub

Showing 1,082 of 1,082 total issues

CloudwatchLogs has 42 methods (exceeds 20 allowed). Consider refactoring.
Open

func (svc *CloudwatchLogs) RawAssociateKmsKey(ctx context.Context, in *SDK.AssociateKmsKeyInput) (*SDK.AssociateKmsKeyResponse, error) {
    return svc.client.AssociateKmsKeyRequest(in).Send(ctx)
}
Severity: Minor
Found in cloudwatchlogs/client__raw_api.go - About 5 hrs to fix

    PinpointEmail has 42 methods (exceeds 20 allowed). Consider refactoring.
    Open

    func (svc *PinpointEmail) RawCreateConfigurationSet(ctx context.Context, in *SDK.CreateConfigurationSetInput) (*SDK.CreateConfigurationSetResponse, error) {
        return svc.client.CreateConfigurationSetRequest(in).Send(ctx)
    }
    Severity: Minor
    Found in pinpointemail/client__raw_api.go - About 5 hrs to fix

      File type.go has 646 lines of code (exceeds 500 allowed). Consider refactoring.
      Open

      package s3
      
      import (
          "time"
      
      
      Severity: Minor
      Found in s3/type.go - About 5 hrs to fix

        DynamoDB has 41 methods (exceeds 20 allowed). Consider refactoring.
        Open

        func (svc *DynamoDB) RawBatchGetItem(ctx context.Context, in *SDK.BatchGetItemInput) (*SDK.BatchGetItemResponse, error) {
            return svc.client.BatchGetItemRequest(in).Send(ctx)
        }
        Severity: Minor
        Found in dynamodb/client__raw_api.go - About 5 hrs to fix

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

          package pinpoint
          
          import (
              "context"
          
          
          Severity: Major
          Found in pinpoint/client_op_delete_push_template.go and 1 other location - About 5 hrs to fix
          pinpoint/client_op_delete_email_template.go on lines 1..57

          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 386.

          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 2 locations. Consider refactoring.
          Open

          package pinpoint
          
          import (
              "context"
          
          
          Severity: Major
          Found in pinpoint/client_op_delete_email_template.go and 1 other location - About 5 hrs to fix
          pinpoint/client_op_delete_push_template.go on lines 1..57

          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 386.

          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 8 locations. Consider refactoring.
          Open

          package pinpoint
          
          import (
              "context"
          
          
          Severity: Major
          Found in pinpoint/client_op_delete_user_endpoints.go and 7 other locations - About 5 hrs to fix
          pinpoint/client_op_delete_endpoint.go on lines 1..55
          pinpoint/client_op_delete_segment.go on lines 1..55
          pinpoint/client_op_get_apps.go on lines 1..55
          pinpoint/client_op_get_endpoint.go on lines 1..55
          pinpoint/client_op_get_import_job.go on lines 1..55
          pinpoint/client_op_get_segment.go on lines 1..55
          pinpoint/client_op_get_user_endpoints.go on lines 1..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 382.

          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 8 locations. Consider refactoring.
          Open

          package pinpoint
          
          import (
              "context"
          
          
          Severity: Major
          Found in pinpoint/client_op_get_segment.go and 7 other locations - About 5 hrs to fix
          pinpoint/client_op_delete_endpoint.go on lines 1..55
          pinpoint/client_op_delete_segment.go on lines 1..55
          pinpoint/client_op_delete_user_endpoints.go on lines 1..55
          pinpoint/client_op_get_apps.go on lines 1..55
          pinpoint/client_op_get_endpoint.go on lines 1..55
          pinpoint/client_op_get_import_job.go on lines 1..55
          pinpoint/client_op_get_user_endpoints.go on lines 1..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 382.

          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 8 locations. Consider refactoring.
          Open

          package pinpoint
          
          import (
              "context"
          
          
          Severity: Major
          Found in pinpoint/client_op_get_apps.go and 7 other locations - About 5 hrs to fix
          pinpoint/client_op_delete_endpoint.go on lines 1..55
          pinpoint/client_op_delete_segment.go on lines 1..55
          pinpoint/client_op_delete_user_endpoints.go on lines 1..55
          pinpoint/client_op_get_endpoint.go on lines 1..55
          pinpoint/client_op_get_import_job.go on lines 1..55
          pinpoint/client_op_get_segment.go on lines 1..55
          pinpoint/client_op_get_user_endpoints.go on lines 1..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 382.

          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 8 locations. Consider refactoring.
          Open

          package pinpoint
          
          import (
              "context"
          
          
          Severity: Major
          Found in pinpoint/client_op_delete_endpoint.go and 7 other locations - About 5 hrs to fix
          pinpoint/client_op_delete_segment.go on lines 1..55
          pinpoint/client_op_delete_user_endpoints.go on lines 1..55
          pinpoint/client_op_get_apps.go on lines 1..55
          pinpoint/client_op_get_endpoint.go on lines 1..55
          pinpoint/client_op_get_import_job.go on lines 1..55
          pinpoint/client_op_get_segment.go on lines 1..55
          pinpoint/client_op_get_user_endpoints.go on lines 1..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 382.

          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 8 locations. Consider refactoring.
          Open

          package pinpoint
          
          import (
              "context"
          
          
          Severity: Major
          Found in pinpoint/client_op_get_user_endpoints.go and 7 other locations - About 5 hrs to fix
          pinpoint/client_op_delete_endpoint.go on lines 1..55
          pinpoint/client_op_delete_segment.go on lines 1..55
          pinpoint/client_op_delete_user_endpoints.go on lines 1..55
          pinpoint/client_op_get_apps.go on lines 1..55
          pinpoint/client_op_get_endpoint.go on lines 1..55
          pinpoint/client_op_get_import_job.go on lines 1..55
          pinpoint/client_op_get_segment.go on lines 1..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 382.

          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 8 locations. Consider refactoring.
          Open

          package pinpoint
          
          import (
              "context"
          
          
          Severity: Major
          Found in pinpoint/client_op_get_endpoint.go and 7 other locations - About 5 hrs to fix
          pinpoint/client_op_delete_endpoint.go on lines 1..55
          pinpoint/client_op_delete_segment.go on lines 1..55
          pinpoint/client_op_delete_user_endpoints.go on lines 1..55
          pinpoint/client_op_get_apps.go on lines 1..55
          pinpoint/client_op_get_import_job.go on lines 1..55
          pinpoint/client_op_get_segment.go on lines 1..55
          pinpoint/client_op_get_user_endpoints.go on lines 1..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 382.

          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 8 locations. Consider refactoring.
          Open

          package pinpoint
          
          import (
              "context"
          
          
          Severity: Major
          Found in pinpoint/client_op_delete_segment.go and 7 other locations - About 5 hrs to fix
          pinpoint/client_op_delete_endpoint.go on lines 1..55
          pinpoint/client_op_delete_user_endpoints.go on lines 1..55
          pinpoint/client_op_get_apps.go on lines 1..55
          pinpoint/client_op_get_endpoint.go on lines 1..55
          pinpoint/client_op_get_import_job.go on lines 1..55
          pinpoint/client_op_get_segment.go on lines 1..55
          pinpoint/client_op_get_user_endpoints.go on lines 1..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 382.

          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 8 locations. Consider refactoring.
          Open

          package pinpoint
          
          import (
              "context"
          
          
          Severity: Major
          Found in pinpoint/client_op_get_import_job.go and 7 other locations - About 5 hrs to fix
          pinpoint/client_op_delete_endpoint.go on lines 1..55
          pinpoint/client_op_delete_segment.go on lines 1..55
          pinpoint/client_op_delete_user_endpoints.go on lines 1..55
          pinpoint/client_op_get_apps.go on lines 1..55
          pinpoint/client_op_get_endpoint.go on lines 1..55
          pinpoint/client_op_get_segment.go on lines 1..55
          pinpoint/client_op_get_user_endpoints.go on lines 1..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 382.

          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 2 locations. Consider refactoring.
          Open

          func TestNew(t *testing.T) {
              is := is.NewRelaxed(t)
          
              // custom endpoint
              svc, err := New(getTestConfig())
          Severity: Major
          Found in s3/client_test.go and 1 other location - About 4 hrs to fix
          dynamodb/client_test.go on lines 20..48

          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 367.

          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 2 locations. Consider refactoring.
          Open

          func TestNew(t *testing.T) {
              is := is.NewRelaxed(t)
          
              // custom endpoint
              svc, err := New(getTestConfig())
          Severity: Major
          Found in dynamodb/client_test.go and 1 other location - About 4 hrs to fix
          s3/client_test.go on lines 20..48

          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 367.

          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 3 locations. Consider refactoring.
          Open

          package pinpoint
          
          import (
              "context"
          
          
          Severity: Major
          Found in pinpoint/client_op_create_segment.go and 2 other locations - About 4 hrs to fix
          pinpoint/client_op_create_campaign.go on lines 1..54
          pinpoint/client_op_create_import_job.go on lines 1..54

          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 366.

          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 2 locations. Consider refactoring.
          Open

          package pinpoint
          
          import (
              "context"
          
          
          Severity: Major
          Found in pinpoint/client_op_create_email_template.go and 1 other location - About 4 hrs to fix
          pinpoint/client_op_create_push_template.go on lines 1..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 366.

          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 2 locations. Consider refactoring.
          Open

          package pinpoint
          
          import (
              "context"
          
          
          Severity: Major
          Found in pinpoint/client_op_create_push_template.go and 1 other location - About 4 hrs to fix
          pinpoint/client_op_create_email_template.go on lines 1..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 366.

          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 3 locations. Consider refactoring.
          Open

          package pinpoint
          
          import (
              "context"
          
          
          Severity: Major
          Found in pinpoint/client_op_create_import_job.go and 2 other locations - About 4 hrs to fix
          pinpoint/client_op_create_campaign.go on lines 1..54
          pinpoint/client_op_create_segment.go on lines 1..54

          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 366.

          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

          Severity
          Category
          Status
          Source
          Language