opsforgeio/cabot

View on GitHub

Showing 1,637 of 1,637 total issues

Consider simplifying this complex logical expression.
Open

  if (typeof document !== "undefined" && !("classList" in document.createElement("a"))) {

  (function (view) {

  "use strict";
Severity: Major
Found in cabot/static/arachnys/js/rickshaw.js - About 40 mins to fix

    Consider simplifying this complex logical expression.
    Open

    if ( !jQuery.support.opacity ) {
      jQuery.cssHooks.opacity = {
        get: function( elem, computed ) {
          // IE uses filters for opacity
          return ropacity.test( (computed && elem.currentStyle ? elem.currentStyle.filter : elem.style.filter) || "" ) ?
    Severity: Major
    Found in cabot/static/bootstrap/js/jquery-1.10.2.js - About 40 mins to fix

      Consider simplifying this complex logical expression.
      Open

            if ( matcher[ expando ] ) {
              // Find the next relative operator (if any) for proper handling
              j = ++i;
              for ( ; j < len; j++ ) {
                if ( Expr.relative[ tokens[j].type ] ) {
      Severity: Major
      Found in cabot/static/bootstrap/js/jquery-1.10.2.js - About 40 mins to fix

        Consider simplifying this complex logical expression.
        Open

          if ( (!id || !cache[id] || (!pvt && !cache[id].data)) && data === undefined && typeof name === "string" ) {
            return;
          }
        Severity: Major
        Found in cabot/static/bootstrap/js/jquery-1.10.2.js - About 40 mins to fix

          Consider simplifying this complex logical expression.
          Open

                if (autoPlace) {
                  var $parent = this.$element.parent()
          
                  var orgPlacement = placement
                  var docScroll    = document.documentElement.scrollTop || document.body.scrollTop
          Severity: Major
          Found in cabot/static/bootstrap/js/bootstrap.js - About 40 mins to fix

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

                def update_related_services(self):
                    services = self.service_set.all()
                    for service in services:
                        update_service.delay(service.id)
            Severity: Minor
            Found in cabot/cabotapp/models.py and 1 other location - About 40 mins to fix
            cabot/cabotapp/models.py on lines 563..566

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

            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

                def forwards(self, orm):
                    # Adding field 'StatusCheck.verify_ssl_certificate'
                    db.add_column('cabotapp_statuscheck', 'verify_ssl_certificate',
                                  self.gf('django.db.models.fields.BooleanField')(default=True),
            cabot/cabotapp/migrations/0008_auto__add_field_statuscheckresult_job_number.py on lines 10..13

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

            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

                for i, nodes in enumerate(reversed(zip(*split))):
                    if any(node != nodes[0] for node in nodes):
                        suffix_nodes_in_common = i
                        break
            Severity: Minor
            Found in cabot/cabotapp/models.py and 1 other location - About 40 mins to fix
            cabot/cabotapp/models.py on lines 602..605

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

            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

                for i, nodes in enumerate(itertools.izip(*split)):
                    if any(node != nodes[0] for node in nodes):
                        prefix_nodes_in_common = i
                        break
            Severity: Minor
            Found in cabot/cabotapp/models.py and 1 other location - About 40 mins to fix
            cabot/cabotapp/models.py on lines 609..612

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

            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

                def update_related_instances(self):
                    instances = self.instance_set.all()
                    for instance in instances:
                        update_instance.delay(instance.id)
            Severity: Minor
            Found in cabot/cabotapp/models.py and 1 other location - About 40 mins to fix
            cabot/cabotapp/models.py on lines 558..561

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

            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

                def forwards(self, orm):
                    # Adding field 'StatusCheckResult.job_number'
                    db.add_column('cabotapp_statuscheckresult', 'job_number',
                                  self.gf('django.db.models.fields.PositiveIntegerField')(null=True),
            cabot/cabotapp/migrations/0002_auto__add_field_statuscheck_verify_ssl_certificate.py on lines 10..13

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

            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

            Identical blocks of code found in 4 locations. Consider refactoring.
            Open

                    for (var i in this) {
                        this[i] = typeof this[i] == "function" ? R._removedFactory(i) : null;
                    }
            Severity: Major
            Found in cabot/static/arachnys/js/raphael.js and 3 other locations - About 40 mins to fix
            cabot/static/arachnys/js/raphael.js on lines 4490..4492
            cabot/static/arachnys/js/raphael.js on lines 4826..4828
            cabot/static/arachnys/js/raphael.js on lines 5435..5437

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

            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

            Identical blocks of code found in 4 locations. Consider refactoring.
            Open

                    for (var i in this) {
                        this[i] = typeof this[i] == "function" ? R._removedFactory(i) : null;
                    }
            Severity: Major
            Found in cabot/static/arachnys/js/raphael.js and 3 other locations - About 40 mins to fix
            cabot/static/arachnys/js/raphael.js on lines 4490..4492
            cabot/static/arachnys/js/raphael.js on lines 5435..5437
            cabot/static/arachnys/js/raphael.js on lines 5798..5800

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

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

              $.fn.alert.noConflict = function () {
                $.fn.alert = old
                return this
              }
            Severity: Major
            Found in cabot/static/bootstrap/js/bootstrap.js and 8 other locations - About 40 mins to fix
            cabot/static/bootstrap/js/bootstrap.js on lines 198..201
            cabot/static/bootstrap/js/bootstrap.js on lines 400..403
            cabot/static/bootstrap/js/bootstrap.js on lines 572..575
            cabot/static/bootstrap/js/bootstrap.js on lines 806..809
            cabot/static/bootstrap/js/bootstrap.js on lines 1461..1464
            cabot/static/bootstrap/js/bootstrap.js on lines 1579..1582
            cabot/static/bootstrap/js/bootstrap.js on lines 1754..1757
            cabot/static/bootstrap/js/bootstrap.js on lines 1925..1928

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

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

              $.fn.button.noConflict = function () {
                $.fn.button = old
                return this
              }
            Severity: Major
            Found in cabot/static/bootstrap/js/bootstrap.js and 8 other locations - About 40 mins to fix
            cabot/static/bootstrap/js/bootstrap.js on lines 87..90
            cabot/static/bootstrap/js/bootstrap.js on lines 400..403
            cabot/static/bootstrap/js/bootstrap.js on lines 572..575
            cabot/static/bootstrap/js/bootstrap.js on lines 806..809
            cabot/static/bootstrap/js/bootstrap.js on lines 1461..1464
            cabot/static/bootstrap/js/bootstrap.js on lines 1579..1582
            cabot/static/bootstrap/js/bootstrap.js on lines 1754..1757
            cabot/static/bootstrap/js/bootstrap.js on lines 1925..1928

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

            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

            Identical blocks of code found in 4 locations. Consider refactoring.
            Open

                    for (var i in this) {
                        this[i] = typeof this[i] == "function" ? R._removedFactory(i) : null;
                    }
            Severity: Major
            Found in cabot/static/arachnys/js/raphael.js and 3 other locations - About 40 mins to fix
            cabot/static/arachnys/js/raphael.js on lines 4490..4492
            cabot/static/arachnys/js/raphael.js on lines 4826..4828
            cabot/static/arachnys/js/raphael.js on lines 5798..5800

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

            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

            Identical blocks of code found in 4 locations. Consider refactoring.
            Open

                    for (var i in this) {
                        this[i] = typeof this[i] == "function" ? R._removedFactory(i) : null;
                    }
            Severity: Major
            Found in cabot/static/arachnys/js/raphael.js and 3 other locations - About 40 mins to fix
            cabot/static/arachnys/js/raphael.js on lines 4826..4828
            cabot/static/arachnys/js/raphael.js on lines 5435..5437
            cabot/static/arachnys/js/raphael.js on lines 5798..5800

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

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

              $.fn.collapse.noConflict = function () {
                $.fn.collapse = old
                return this
              }
            Severity: Major
            Found in cabot/static/bootstrap/js/bootstrap.js and 8 other locations - About 40 mins to fix
            cabot/static/bootstrap/js/bootstrap.js on lines 87..90
            cabot/static/bootstrap/js/bootstrap.js on lines 198..201
            cabot/static/bootstrap/js/bootstrap.js on lines 400..403
            cabot/static/bootstrap/js/bootstrap.js on lines 572..575
            cabot/static/bootstrap/js/bootstrap.js on lines 806..809
            cabot/static/bootstrap/js/bootstrap.js on lines 1461..1464
            cabot/static/bootstrap/js/bootstrap.js on lines 1579..1582
            cabot/static/bootstrap/js/bootstrap.js on lines 1925..1928

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

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

              $.fn.scrollspy.noConflict = function () {
                $.fn.scrollspy = old
                return this
              }
            Severity: Major
            Found in cabot/static/bootstrap/js/bootstrap.js and 8 other locations - About 40 mins to fix
            cabot/static/bootstrap/js/bootstrap.js on lines 87..90
            cabot/static/bootstrap/js/bootstrap.js on lines 198..201
            cabot/static/bootstrap/js/bootstrap.js on lines 400..403
            cabot/static/bootstrap/js/bootstrap.js on lines 572..575
            cabot/static/bootstrap/js/bootstrap.js on lines 806..809
            cabot/static/bootstrap/js/bootstrap.js on lines 1461..1464
            cabot/static/bootstrap/js/bootstrap.js on lines 1579..1582
            cabot/static/bootstrap/js/bootstrap.js on lines 1754..1757

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

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

              $.fn.tab.noConflict = function () {
                $.fn.tab = old
                return this
              }
            Severity: Major
            Found in cabot/static/bootstrap/js/bootstrap.js and 8 other locations - About 40 mins to fix
            cabot/static/bootstrap/js/bootstrap.js on lines 87..90
            cabot/static/bootstrap/js/bootstrap.js on lines 198..201
            cabot/static/bootstrap/js/bootstrap.js on lines 400..403
            cabot/static/bootstrap/js/bootstrap.js on lines 572..575
            cabot/static/bootstrap/js/bootstrap.js on lines 806..809
            cabot/static/bootstrap/js/bootstrap.js on lines 1579..1582
            cabot/static/bootstrap/js/bootstrap.js on lines 1754..1757
            cabot/static/bootstrap/js/bootstrap.js on lines 1925..1928

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

            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