datahuborg/datahub

View on GitHub

Showing 1,132 of 1,132 total issues

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

    def export_query(self, query, file_path, file_format='CSV',
                     delimiter=',', header=True):
        return self.backend.export_query(
Severity: Major
Found in src/core/db/connection.py and 2 other locations - About 1 hr to fix
src/core/db/connection.py on lines 192..194
src/core/db/connection.py on lines 201..203

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

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

        self.wait_for_console(
            users[1] + "@" + users[0] + ">", "//div[@class='cmd']/span[1]")
Severity: Major
Found in src/functional_tests/test_console.py and 1 other location - About 1 hr to fix
src/functional_tests/test_console.py on lines 265..266

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

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

Function bindButtonEvents has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    Step.prototype.bindButtonEvents = function(cfg, el) {
      var event, handler, page, _ref1,
        _this = this;
      if (cfg.events == null) {
        cfg.events = {};
Severity: Minor
Found in src/apps/dbwipes/static/js/lib/shepherd.js - About 1 hr to fix

    Function bindButtonEvents has 29 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        Step.prototype.bindButtonEvents = function(cfg, el) {
          var event, handler, page, _ref1,
            _this = this;
          if (cfg.events == null) {
            cfg.events = {};
    Severity: Minor
    Found in src/browser/static/dbwipes/js/lib/shepherd.js - About 1 hr to fix

      Method main has 29 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

        public static void main(String [] args) {
          try {
            // Before running you will need to populate the below variables
            // and create a corresponding repo and table in your datahub acount
            
      Severity: Minor
      Found in src/examples/java/src/SampleClient.java - About 1 hr to fix

        Function import_file has 9 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            def import_file(username, repo_base, repo, table, file_name,
        Severity: Major
        Found in src/core/db/manager.py - About 1 hr to fix

          Function brushf has 28 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                var brushf = function(p) {
                  var e = brush.extent()
                  var selected = {};
                  el.selectAll('.data-container:not(.background)')
                      .selectAll('.mark')
          Severity: Minor
          Found in src/apps/dbwipes/static/js/summary/queryview.js - About 1 hr to fix

            Function brushf has 28 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                  var brushf = function(p) {
                    var e = brush.extent()
                    var selected = {};
                    el.selectAll('.data-container:not(.background)')
                        .selectAll('.mark')
            Severity: Minor
            Found in src/browser/static/dbwipes/js/summary/queryview.js - About 1 hr to fix

              Function get_schema has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring.
              Open

              def get_schema(repo, table, username, repo_base):
                  """ gets the schema of a given repo.table in a repo_base """
                  manager = DataHubManager(user=username, repo_base=repo_base)
                  pairs = manager.get_schema(repo, table)
                  schema = {}
              Severity: Minor
              Found in src/apps/dbwipes/views.py - About 1 hr to fix

              Cognitive Complexity

              Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

              A method's cognitive complexity is based on a few simple rules:

              • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
              • Code is considered more complex for each "break in the linear flow of the code"
              • Code is considered more complex when "flow breaking structures are nested"

              Further reading

              Function get_columns_and_types has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring.
              Open

                  def get_columns_and_types(self):
                      manager = DataHubManager(user=self.username, repo_base=self.repo_base)
              
                      tokens = self.tablename.split('.')
                      repo = tokens[0]
              Severity: Minor
              Found in src/apps/dbwipes/summary.py - About 1 hr to fix

              Cognitive Complexity

              Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

              A method's cognitive complexity is based on a few simple rules:

              • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
              • Code is considered more complex for each "break in the linear flow of the code"
              • Code is considered more complex when "flow breaking structures are nested"

              Further reading

              Function datahub_authenticate has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring.
              Open

              def datahub_authenticate(username, password):
                  """
                  Analog of django.contrib.auth.authenticate.
              
                  Given a username or email plus password, finds the User object, verifies
              Severity: Minor
              Found in src/account/utils.py - About 1 hr to fix

              Cognitive Complexity

              Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

              A method's cognitive complexity is based on a few simple rules:

              • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
              • Code is considered more complex for each "break in the linear flow of the code"
              • Code is considered more complex when "flow breaking structures are nested"

              Further reading

              Function login has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring.
              Open

              def login(request):
                  """
                  DataHub account login form.
              
                  GET returns and HttpResponse containing the account login form.
              Severity: Minor
              Found in src/account/views.py - About 1 hr to fix

              Cognitive Complexity

              Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

              A method's cognitive complexity is based on a few simple rules:

              • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
              • Code is considered more complex for each "break in the linear flow of the code"
              • Code is considered more complex when "flow breaking structures are nested"

              Further reading

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

                  def create_patch(self, name):
                      # helper method for creating patches
                      patcher = patch(name)
                      thing = patcher.start()
                      self.addCleanup(patcher.stop)
              Severity: Major
              Found in src/api/test/test_repo_serializer.py and 17 other locations - About 1 hr to fix
              src/api/test/test_collaborator_serializer.py on lines 24..29
              src/api/test/test_datahub_serializer.py on lines 21..26
              src/api/test/test_file_serializer.py on lines 21..26
              src/api/test/test_query_serializer.py on lines 21..26
              src/api/test/test_table_serializer.py on lines 24..29
              src/api/test/test_view_serializer.py on lines 25..30
              src/browser/test/test_repo_views.py on lines 50..55
              src/browser/test/test_repo_views.py on lines 126..131
              src/browser/test/test_repo_views.py on lines 216..221
              src/browser/test/test_repo_views.py on lines 258..263
              src/browser/test/test_repo_views.py on lines 301..306
              src/core/test/test_manager.py on lines 26..31
              src/core/test/test_manager.py on lines 65..70
              src/core/test/test_manager.py on lines 229..234
              src/core/test/test_query_rewriter.py on lines 23..28
              src/core/test/test_rls_permissions.py on lines 19..24
              src/core/test/test_rlsmanager.py on lines 24..29

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

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

                  def create_patch(self, name):
                      # helper method for creating patches
                      patcher = patch(name)
                      thing = patcher.start()
                      self.addCleanup(patcher.stop)
              Severity: Major
              Found in src/core/test/test_rlsmanager.py and 17 other locations - About 1 hr to fix
              src/api/test/test_collaborator_serializer.py on lines 24..29
              src/api/test/test_datahub_serializer.py on lines 21..26
              src/api/test/test_file_serializer.py on lines 21..26
              src/api/test/test_query_serializer.py on lines 21..26
              src/api/test/test_repo_serializer.py on lines 24..29
              src/api/test/test_table_serializer.py on lines 24..29
              src/api/test/test_view_serializer.py on lines 25..30
              src/browser/test/test_repo_views.py on lines 50..55
              src/browser/test/test_repo_views.py on lines 126..131
              src/browser/test/test_repo_views.py on lines 216..221
              src/browser/test/test_repo_views.py on lines 258..263
              src/browser/test/test_repo_views.py on lines 301..306
              src/core/test/test_manager.py on lines 26..31
              src/core/test/test_manager.py on lines 65..70
              src/core/test/test_manager.py on lines 229..234
              src/core/test/test_query_rewriter.py on lines 23..28
              src/core/test/test_rls_permissions.py on lines 19..24

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

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

                      for license_link in res:
                          LicenseLink = namedtuple(
                              'LicenseLink',
                              ['license_link_id', 'repo_base', 'repo', 'license_id'])
              
              
              Severity: Major
              Found in src/core/db/licensemanager.py and 1 other location - About 1 hr to fix
              src/core/db/licensemanager.py on lines 207..214

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

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

                  def create_patch(self, name):
                      # helper method for creating patches
                      patcher = patch(name)
                      thing = patcher.start()
                      self.addCleanup(patcher.stop)
              Severity: Major
              Found in src/core/test/test_manager.py and 17 other locations - About 1 hr to fix
              src/api/test/test_collaborator_serializer.py on lines 24..29
              src/api/test/test_datahub_serializer.py on lines 21..26
              src/api/test/test_file_serializer.py on lines 21..26
              src/api/test/test_query_serializer.py on lines 21..26
              src/api/test/test_repo_serializer.py on lines 24..29
              src/api/test/test_table_serializer.py on lines 24..29
              src/api/test/test_view_serializer.py on lines 25..30
              src/browser/test/test_repo_views.py on lines 50..55
              src/browser/test/test_repo_views.py on lines 126..131
              src/browser/test/test_repo_views.py on lines 216..221
              src/browser/test/test_repo_views.py on lines 258..263
              src/browser/test/test_repo_views.py on lines 301..306
              src/core/test/test_manager.py on lines 65..70
              src/core/test/test_manager.py on lines 229..234
              src/core/test/test_query_rewriter.py on lines 23..28
              src/core/test/test_rls_permissions.py on lines 19..24
              src/core/test/test_rlsmanager.py on lines 24..29

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

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

                  def test_list_views(self):
                      con_list_views = self.mock_connection.return_value.list_views
                      self.manager.list_views('repo')
              
                      self.assertTrue(con_list_views.called)
              Severity: Major
              Found in src/core/test/test_manager.py and 3 other locations - About 1 hr to fix
              src/api/test/test_file_serializer.py on lines 28..31
              src/core/test/test_manager.py on lines 80..84
              src/core/test/test_manager.py on lines 153..157

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

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

                  def create_patch(self, name):
                      # helper method for creating patches
                      patcher = patch(name)
                      thing = patcher.start()
                      self.addCleanup(patcher.stop)
              Severity: Major
              Found in src/core/test/test_manager.py and 17 other locations - About 1 hr to fix
              src/api/test/test_collaborator_serializer.py on lines 24..29
              src/api/test/test_datahub_serializer.py on lines 21..26
              src/api/test/test_file_serializer.py on lines 21..26
              src/api/test/test_query_serializer.py on lines 21..26
              src/api/test/test_repo_serializer.py on lines 24..29
              src/api/test/test_table_serializer.py on lines 24..29
              src/api/test/test_view_serializer.py on lines 25..30
              src/browser/test/test_repo_views.py on lines 50..55
              src/browser/test/test_repo_views.py on lines 126..131
              src/browser/test/test_repo_views.py on lines 216..221
              src/browser/test/test_repo_views.py on lines 258..263
              src/browser/test/test_repo_views.py on lines 301..306
              src/core/test/test_manager.py on lines 26..31
              src/core/test/test_manager.py on lines 229..234
              src/core/test/test_query_rewriter.py on lines 23..28
              src/core/test/test_rls_permissions.py on lines 19..24
              src/core/test/test_rlsmanager.py on lines 24..29

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

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

                  def create_patch(self, name):
                      # helper method for creating patches
                      patcher = patch(name)
                      thing = patcher.start()
                      self.addCleanup(patcher.stop)
              Severity: Major
              Found in src/core/test/test_manager.py and 17 other locations - About 1 hr to fix
              src/api/test/test_collaborator_serializer.py on lines 24..29
              src/api/test/test_datahub_serializer.py on lines 21..26
              src/api/test/test_file_serializer.py on lines 21..26
              src/api/test/test_query_serializer.py on lines 21..26
              src/api/test/test_repo_serializer.py on lines 24..29
              src/api/test/test_table_serializer.py on lines 24..29
              src/api/test/test_view_serializer.py on lines 25..30
              src/browser/test/test_repo_views.py on lines 50..55
              src/browser/test/test_repo_views.py on lines 126..131
              src/browser/test/test_repo_views.py on lines 216..221
              src/browser/test/test_repo_views.py on lines 258..263
              src/browser/test/test_repo_views.py on lines 301..306
              src/core/test/test_manager.py on lines 26..31
              src/core/test/test_manager.py on lines 65..70
              src/core/test/test_query_rewriter.py on lines 23..28
              src/core/test/test_rls_permissions.py on lines 19..24
              src/core/test/test_rlsmanager.py on lines 24..29

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

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

                  def create_patch(self, name):
                      # helper method for creating patches
                      patcher = patch(name)
                      thing = patcher.start()
                      self.addCleanup(patcher.stop)
              Severity: Major
              Found in src/api/test/test_table_serializer.py and 17 other locations - About 1 hr to fix
              src/api/test/test_collaborator_serializer.py on lines 24..29
              src/api/test/test_datahub_serializer.py on lines 21..26
              src/api/test/test_file_serializer.py on lines 21..26
              src/api/test/test_query_serializer.py on lines 21..26
              src/api/test/test_repo_serializer.py on lines 24..29
              src/api/test/test_view_serializer.py on lines 25..30
              src/browser/test/test_repo_views.py on lines 50..55
              src/browser/test/test_repo_views.py on lines 126..131
              src/browser/test/test_repo_views.py on lines 216..221
              src/browser/test/test_repo_views.py on lines 258..263
              src/browser/test/test_repo_views.py on lines 301..306
              src/core/test/test_manager.py on lines 26..31
              src/core/test/test_manager.py on lines 65..70
              src/core/test/test_manager.py on lines 229..234
              src/core/test/test_query_rewriter.py on lines 23..28
              src/core/test/test_rls_permissions.py on lines 19..24
              src/core/test/test_rlsmanager.py on lines 24..29

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

              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