ICTU/quality-time

View on GitHub

Showing 674 of 674 total issues

File metrics.py has 713 lines of code (exceeds 250 allowed). Consider refactoring.
Open

"""Data model metrics."""

from .meta.metric import Addition, Direction, Metric, Tag, Unit

SIG_TUVIT_EVALUATION_CRITERIA = (
Severity: Major
Found in components/shared_code/src/shared_data_model/metrics.py - About 1 day to fix

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

    export function createTestableSettings() {
        return {
            dateInterval: testableQuery(useDateIntervalURLSearchQuery),
            dateOrder: testableQuery(useDateOrderURLSearchQuery),
            hiddenCards: testableQuery(useHiddenCardsURLSearchQuery),
    Severity: Major
    Found in components/frontend/src/__fixtures__/fixtures.js and 1 other location - About 7 hrs to fix
    components/frontend/src/app_ui_settings.js on lines 84..109

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

    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

    export function useSettings(report_uuid) {
        return {
            dateInterval: useDateIntervalURLSearchQuery(report_uuid),
            dateOrder: useDateOrderURLSearchQuery(report_uuid),
            expandedItems: useExpandedItemsSearchQuery(report_uuid),
    Severity: Major
    Found in components/frontend/src/app_ui_settings.js and 1 other location - About 7 hrs to fix
    components/frontend/src/__fixtures__/fixtures.js on lines 86..111

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

    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

        test("CopyButton can be used to select an item", async () => {
            const mockCallBack = jest.fn()
            render(
                <CopyButton
                    itemType={itemType}
    Severity: Major
    Found in components/frontend/src/widgets/Button.test.js and 1 other location - About 7 hrs to fix
    components/frontend/src/widgets/Button.test.js on lines 204..222

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

    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

        test("MoveButton can be used to select an item", async () => {
            const mockCallBack = jest.fn()
            render(
                <MoveButton
                    itemType={itemType}
    Severity: Major
    Found in components/frontend/src/widgets/Button.test.js and 1 other location - About 7 hrs to fix
    components/frontend/src/widgets/Button.test.js on lines 156..174

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

    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

    it("renders the technical debt popup if technical debt is accepted with a future end date", async () => {
        render(
            <DataModel.Provider value={{ metrics: { violations: { direction: "<", unit: "violations" } } }}>
                <MeasurementTarget
                    metric={{
    components/frontend/src/measurement/MeasurementTarget.test.js on lines 55..72
    components/frontend/src/measurement/MeasurementTarget.test.js on lines 153..170

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

    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

    it("does not crash when the technical end date is invalid", async () => {
        render(
            <DataModel.Provider value={{ metrics: { violations: { direction: "<", unit: "violations" } } }}>
                <MeasurementTarget
                    metric={{
    components/frontend/src/measurement/MeasurementTarget.test.js on lines 55..72
    components/frontend/src/measurement/MeasurementTarget.test.js on lines 74..91

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

    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

    it("renders the technical debt popup if technical debt is accepted", async () => {
        render(
            <DataModel.Provider value={{ metrics: { violations: { direction: "<", unit: "violations" } } }}>
                <MeasurementTarget
                    metric={{
    components/frontend/src/measurement/MeasurementTarget.test.js on lines 74..91
    components/frontend/src/measurement/MeasurementTarget.test.js on lines 153..170

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

    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

    File sonarqube.py has 440 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    """SonarQube source."""
    
    from pydantic import HttpUrl
    
    from shared_data_model.meta.base import StrEnum
    Severity: Minor
    Found in components/shared_code/src/shared_data_model/sources/sonarqube.py - About 6 hrs to fix

      File ReportTitle.js has 426 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      import { func, string } from "prop-types"
      import { Grid, Icon, Menu } from "semantic-ui-react"
      
      import { delete_report, set_report_attribute } from "../api/report"
      import { activeTabIndex, tabChangeHandler } from "../app_ui_settings"
      Severity: Minor
      Found in components/frontend/src/report/ReportTitle.js - About 6 hrs to fix

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

        it("hides a subject if all its tags are hidden", async () => {
            history.push("?hidden_tags=other,tag")
            const hiddenTags = renderHook(() => useHiddenTagsURLSearchQuery())
            renderDashboard({ reportToRender: report, hiddenTags: hiddenTags.result.current })
            expect(screen.queryAllByText(/Subject title/).length).toBe(0)
        Severity: Major
        Found in components/frontend/src/report/ReportDashboard.test.js and 1 other location - About 5 hrs to fix
        components/frontend/src/report/ReportDashboard.test.js on lines 60..67

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

        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

                                <Grid.Column>
                                    <IntegerInput
                                        id="desired-response-time-red"
                                        label={
                                            <LabelWithHelp
        Severity: Major
        Found in components/frontend/src/report/ReportTitle.js and 2 other locations - About 5 hrs to fix
        components/frontend/src/report/ReportTitle.js on lines 74..97
        components/frontend/src/report/ReportTitle.js on lines 125..151

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

        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

                                <Grid.Column>
                                    <IntegerInput
                                        id="desired-response-time-yellow"
                                        label={
                                            <LabelWithHelp
        Severity: Major
        Found in components/frontend/src/report/ReportTitle.js and 2 other locations - About 5 hrs to fix
        components/frontend/src/report/ReportTitle.js on lines 74..97
        components/frontend/src/report/ReportTitle.js on lines 98..124

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

        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

        it("hides tags", async () => {
            history.push("?hidden_tags=other")
            const hiddenTags = renderHook(() => useHiddenTagsURLSearchQuery())
            renderDashboard({ reportToRender: report, hiddenTags: hiddenTags.result.current })
            expect(screen.getAllByText(/Subject title/).length).toBe(1)
        Severity: Major
        Found in components/frontend/src/report/ReportDashboard.test.js and 1 other location - About 5 hrs to fix
        components/frontend/src/report/ReportDashboard.test.js on lines 69..76

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

        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

                                <Grid.Column>
                                    <IntegerInput
                                        id="desired-response-time-white"
                                        label={
                                            <LabelWithHelp
        Severity: Major
        Found in components/frontend/src/report/ReportTitle.js and 2 other locations - About 5 hrs to fix
        components/frontend/src/report/ReportTitle.js on lines 98..124
        components/frontend/src/report/ReportTitle.js on lines 125..151

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

        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

                        <Grid.Column>
                            <SingleChoiceInput
                                id="tracker-issue-type"
                                error={!!report.issue_tracker?.type && !issueTypeValid}
                                requiredPermissions={[EDIT_REPORT_PERMISSION]}
        Severity: Major
        Found in components/frontend/src/report/IssueTracker.js and 1 other location - About 5 hrs to fix
        components/frontend/src/report/IssueTracker.js on lines 162..181

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

        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

                        <Grid.Column>
                            <SingleChoiceInput
                                id="tracker-project-key"
                                error={!!report.issue_tracker?.type && !projectValid}
                                requiredPermissions={[EDIT_REPORT_PERMISSION]}
        Severity: Major
        Found in components/frontend/src/report/IssueTracker.js and 1 other location - About 5 hrs to fix
        components/frontend/src/report/IssueTracker.js on lines 182..201

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

        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

        File SettingsPanel.js has 396 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        import "./SettingsPanel.css"
        
        import { bool, func, number, string } from "prop-types"
        import { Header, Menu, Segment } from "semantic-ui-react"
        
        
        Severity: Minor
        Found in components/frontend/src/header_footer/SettingsPanel.js - About 5 hrs to fix

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

          it("works for informative metrics", () => {
              history.push("?nr_dates=3&date_interval=1")
              renderSubjectTableRow({ evaluate_targets: false })
              expect(screen.getAllByText("+2").length).toBe(1)
              expect(screen.getAllByLabelText("Metric type changed from 10 to 12 things by +2 things").length).toBe(1)
          Severity: Major
          Found in components/frontend/src/subject/SubjectTableRow.test.js and 1 other location - About 5 hrs to fix
          components/frontend/src/subject/SubjectTableRow.test.js on lines 105..112

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

          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

          it("takes the date order into account", () => {
              history.push("?nr_dates=3&date_interval=1&date_order=ascending")
              renderSubjectTableRow({ ascending: true })
              expect(screen.getAllByText("+2").length).toBe(1)
              expect(screen.getAllByLabelText("Metric type worsened from 10 to 12 things by +2 things").length).toBe(1)
          Severity: Major
          Found in components/frontend/src/subject/SubjectTableRow.test.js and 1 other location - About 5 hrs to fix
          components/frontend/src/subject/SubjectTableRow.test.js on lines 96..103

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

          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