florath/rmtoo

View on GitHub
rmtoo/outputs/oopricing1.py

Summary

Maintainability
F
4 days
Test Coverage

File oopricing1.py has 553 lines of code (exceeds 250 allowed). Consider refactoring.
Open

#  -*- coding: utf-8 -*-
'''
 rmtoo
   Free and Open Source Requirements Management Tool

Severity: Major
Found in rmtoo/outputs/oopricing1.py - About 1 day to fix

    oopricing1 has 33 functions (exceeds 20 allowed). Consider refactoring.
    Open

    class oopricing1(StdOutputParams, ExecutorTopicContinuum,
                     CreateMakeDependencies):
    
        def __setup_coord_lookup(self):
            '''Because at some points a requirement will be rendered in a row
    Severity: Minor
    Found in rmtoo/outputs/oopricing1.py - About 4 hrs to fix

      Function create_costs_content_req has 27 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          def create_costs_content_req(self, tr, req, i):
              choi = i + DEPS_HEADER_LEN
              # First cell is the id
              self.create_text_cell(tr, req.name)
              # Second cell is the name
      Severity: Minor
      Found in rmtoo/outputs/oopricing1.py - About 1 hr to fix

        Function create_deps_dependent has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring.
        Open

            def create_deps_dependent(self, sheet, sreqs):
                # The number of the following rows depend on the maximum
                # number of incoming requirements.
                # This flags if there is something found with the current
                # index.
        Severity: Minor
        Found in rmtoo/outputs/oopricing1.py - About 55 mins 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 create_one_sums_sheet has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring.
        Open

            def create_one_sums_sheet(self, calcdoc, sreqs, name, colname):
                sheet = odf.table.Table(name=name, protected="true")
                self.create_reqs_ids_row(sheet, sreqs)
        
                i = 0
        Severity: Minor
        Found in rmtoo/outputs/oopricing1.py - About 55 mins 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

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

                dc = odf.draw.Control(control="lbcompliant%s" % req.name,
                                      zindex="0",
                                      x="0.0in",
                                      y="0.0in",
                                      endcelladdress="Costs.C%d" % (choi + 1),
        Severity: Major
        Found in rmtoo/outputs/oopricing1.py and 1 other location - About 2 hrs to fix
        rmtoo/outputs/oopricing1.py on lines 490..494

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

        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

                    dc = odf.draw.Control(control="lbdependentfrom%s" % req.name,
                                          zindex="0",
                                          x="0.0in",
                                          y="0.0in",
                                          endcelladdress="Costs.H%d" % (choi + 1),
        Severity: Major
        Found in rmtoo/outputs/oopricing1.py and 1 other location - About 2 hrs to fix
        rmtoo/outputs/oopricing1.py on lines 468..472

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

        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

            @staticmethod
            def create_empty_currency_cell_ro(row):
                tc = odf.table.TableCell(
                    valuetype="currency", currency="EUR",
                    stylename="col-euro")
        Severity: Major
        Found in rmtoo/outputs/oopricing1.py and 2 other locations - About 2 hrs to fix
        rmtoo/outputs/oopricing1.py on lines 327..333
        rmtoo/outputs/oopricing1.py on lines 343..349

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

        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

            @staticmethod
            def create_empty_int_cell(row):
                tc = odf.table.TableCell(
                    valuetype="float", value="0",
                    stylename="col-int-rw")
        Severity: Major
        Found in rmtoo/outputs/oopricing1.py and 2 other locations - About 2 hrs to fix
        rmtoo/outputs/oopricing1.py on lines 327..333
        rmtoo/outputs/oopricing1.py on lines 335..341

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

        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

            @staticmethod
            def create_empty_currency_cell(row):
                tc = odf.table.TableCell(
                    valuetype="currency", currency="EUR",
                    stylename="col-euro-rw")
        Severity: Major
        Found in rmtoo/outputs/oopricing1.py and 2 other locations - About 2 hrs to fix
        rmtoo/outputs/oopricing1.py on lines 335..341
        rmtoo/outputs/oopricing1.py on lines 343..349

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

        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 topic_continuum_sort(self, vcs_commit_ids, topic_sets):
                '''Because oopricing1 can only one topic continuum,
                   the latest (newest) is used.'''
                self.__used_vcs_id = vcs_commit_ids[-1]
                return [topic_sets[vcs_commit_ids[-1].get_commit()]]
        Severity: Major
        Found in rmtoo/outputs/oopricing1.py and 3 other locations - About 1 hr to fix
        rmtoo/outputs/graph.py on lines 43..47
        rmtoo/outputs/prios.py on lines 42..46
        rmtoo/outputs/version1.py on lines 36..40

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

        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 req in sreqs:
                    tr = odf.table.TableRow()
                    self.create_costs_content_req(tr, req, i)
                    sheet.addElement(tr)
                    i += 1
        Severity: Major
        Found in rmtoo/outputs/oopricing1.py and 1 other location - About 1 hr to fix
        rmtoo/outputs/oopricing1.py on lines 267..271

        Duplicated Code

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

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

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

        Tuning

        This issue has a mass of 44.

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

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

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

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

        Refactorings

        Further Reading

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

                for req in sreqs:
                    tr = odf.table.TableRow()
                    self.create_result_one_req(tr, req, i)
                    sheet.addElement(tr)
                    i += 1
        Severity: Major
        Found in rmtoo/outputs/oopricing1.py and 1 other location - About 1 hr to fix
        rmtoo/outputs/oopricing1.py on lines 454..458

        Duplicated Code

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

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

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

        Tuning

        This issue has a mass of 44.

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

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

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

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

        Refactorings

        Further Reading

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

                tc = odf.table.TableColumn(
                    stylename=self.doc_styles["col-sum"],
                    defaultcellstylename=self.doc_styles["col-euro"])
        Severity: Major
        Found in rmtoo/outputs/oopricing1.py and 4 other locations - About 40 mins to fix
        rmtoo/outputs/oopricing1.py on lines 389..391
        rmtoo/outputs/oopricing1.py on lines 394..396
        rmtoo/outputs/oopricing1.py on lines 399..401
        rmtoo/outputs/oopricing1.py on lines 414..416

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

                    tc = odf.table.TableColumn(
                        stylename=self.doc_styles["col-sum"],
                        defaultcellstylename=self.doc_styles["col-euro"])
        Severity: Major
        Found in rmtoo/outputs/oopricing1.py and 4 other locations - About 40 mins to fix
        rmtoo/outputs/oopricing1.py on lines 389..391
        rmtoo/outputs/oopricing1.py on lines 394..396
        rmtoo/outputs/oopricing1.py on lines 399..401
        rmtoo/outputs/oopricing1.py on lines 404..406

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

                tc = odf.table.TableColumn(
                    stylename=self.doc_styles["col-dayrate"],
                    defaultcellstylename=self.doc_styles["col-euro"])
        Severity: Major
        Found in rmtoo/outputs/oopricing1.py and 4 other locations - About 40 mins to fix
        rmtoo/outputs/oopricing1.py on lines 394..396
        rmtoo/outputs/oopricing1.py on lines 399..401
        rmtoo/outputs/oopricing1.py on lines 404..406
        rmtoo/outputs/oopricing1.py on lines 414..416

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

                tc = odf.table.TableColumn(
                    stylename=self.doc_styles["col-material"],
                    defaultcellstylename=self.doc_styles["col-euro"])
        Severity: Major
        Found in rmtoo/outputs/oopricing1.py and 4 other locations - About 40 mins to fix
        rmtoo/outputs/oopricing1.py on lines 389..391
        rmtoo/outputs/oopricing1.py on lines 394..396
        rmtoo/outputs/oopricing1.py on lines 404..406
        rmtoo/outputs/oopricing1.py on lines 414..416

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

                tc = odf.table.TableColumn(
                    stylename=self.doc_styles["col-days"],
                    defaultcellstylename=self.doc_styles["col-int"])
        Severity: Major
        Found in rmtoo/outputs/oopricing1.py and 4 other locations - About 40 mins to fix
        rmtoo/outputs/oopricing1.py on lines 389..391
        rmtoo/outputs/oopricing1.py on lines 399..401
        rmtoo/outputs/oopricing1.py on lines 404..406
        rmtoo/outputs/oopricing1.py on lines 414..416

        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

                tc = odf.table.TableCell(
                    valuetype="string",
                    formula="oooc:=[Deps.%s2]" % self.__sscoords[i])
        Severity: Minor
        Found in rmtoo/outputs/oopricing1.py and 1 other location - About 30 mins to fix
        rmtoo/outputs/oopricing1.py on lines 727..729

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

        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

                tc = odf.table.TableCell(
                    valuetype="string",
                    formula="oooc:=[Deps.%s3]" % self.__sscoords[i])
        Severity: Minor
        Found in rmtoo/outputs/oopricing1.py and 1 other location - About 30 mins to fix
        rmtoo/outputs/oopricing1.py on lines 716..718

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

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

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

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

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

        Refactorings

        Further Reading

        There are no issues that match your filters.

        Category
        Status