zalando/zappr

View on GitHub

Showing 190 of 190 total issues

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

          try {
            checkRunner.release(repo, type, user.accessToken)
              .catch(e => error(`${repo.json.full_name} [${type}]: Could not release pull requests. ${e.message}`))
            await githubService.removeRequiredStatusCheck(repo.json.owner.login, repo.json.name, repo.json.default_branch, checkContext, user.accessToken)
          } catch (e) {
Severity: Minor
Found in server/routes/api.js and 1 other location - About 50 mins to fix
server/routes/api.js on lines 183..191

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

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

      if (badCommits.length === 0) {
        // all commits are fine
        this.github.setCommitStatus(owner.login, name, sha, createStatePayload('All commit messages match at least one configured pattern.'), token)
        info(`${full_name}#${number}: Set status to success (all commit messages match at least one pattern).`)
      } else {
Severity: Minor
Found in server/checks/CommitMessage.js and 1 other location - About 50 mins to fix
server/checks/CommitMessage.js on lines 83..87

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

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

    } else {
      // no patterns were configured
      this.github.setCommitStatus(owner.login, name, sha, createStatePayload('No patterns configured to match commit messages against.'), token)
      info(`${full_name}#${number}: Set status to success (no patterns configured).`)
    }
Severity: Minor
Found in server/checks/CommitMessage.js and 1 other location - About 50 mins to fix
server/checks/CommitMessage.js on lines 72..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 52.

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

          try {
            // block when not in prod
            // => so we can test the API calls
            await checkRunner.release(repo, type, user.accessToken)
            await githubService.removeRequiredStatusCheck(repo.json.owner.login, repo.json.name, repo.json.default_branch, checkContext, user.accessToken)
Severity: Minor
Found in server/routes/api.js and 1 other location - About 50 mins to fix
server/routes/api.js on lines 196..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 52.

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

            if (!matchesTotal) {
              info(`${repository.full_name}: Counting ${comment.user}'s comment`)
              stats.total.push(comment.user)
            }
Severity: Minor
Found in server/checks/Approval.js and 1 other location - About 50 mins to fix
server/checks/Approval.js on lines 172..175

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

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

        if (matchesTotal) {
          info(`${repository.full_name}: Counting ${comment.user}'s comment`)
          stats.total.push(comment.user)
        }
Severity: Minor
Found in server/checks/Approval.js and 1 other location - About 50 mins to fix
server/checks/Approval.js on lines 190..193

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

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 doesCommentMatchConfig has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring.
Open

  async doesCommentMatchConfig(repository, comment, fromConfig, token) {
    // persons must either be listed explicitly in users OR
    // be a collaborator OR
    // member of at least one of listed orgs
    const {orgs, collaborators, users} = fromConfig
Severity: Minor
Found in server/checks/Approval.js - About 45 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 findDeepInObjImpl has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring.
Open

function findDeepInObjImpl(obj, fn, result = []) {
  if (typeof obj === 'object' && obj != null) {
    for (const key of Object.keys(obj)) {
      if (fn(key)) {
        result.push([key, obj[key]])
Severity: Minor
Found in common/util.js - About 45 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 getCommentStatsForConfig has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring.
Open

  async getCommentStatsForConfig(repository, comments, config, token) {
    const that = this

    async function checkComment(stats, comment) {
      let matchesTotal = false
Severity: Minor
Found in server/checks/Approval.js - About 45 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

Avoid deeply nested control flow statements.
Open

            if (new Date(comment.created_at) > dbPR.last_push) {
              frozenComments.push(frozenComment)
            }
Severity: Major
Found in server/checks/Approval.js - About 45 mins to fix

    Function handleExistingPullRequests has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring.
    Open

      async handleExistingPullRequests(dbRepo, checkType, {config, token}) {
        const PR_TYPES = [
          Approval.TYPE,
          Specification.TYPE,
          PullRequestMilestone.TYPE,
    Severity: Minor
    Found in server/checks/CheckRunner.js - About 45 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

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

                await githubService.removeRequiredStatusCheck(repo.json.owner.login, repo.json.name, repo.json.default_branch, checkContext, user.accessToken)
    Severity: Minor
    Found in server/routes/api.js and 1 other location - About 40 mins to fix
    server/routes/api.js on lines 199..199

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

    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

                await githubService.removeRequiredStatusCheck(repo.json.owner.login, repo.json.name, repo.json.default_branch, checkContext, user.accessToken)
    Severity: Minor
    Found in server/routes/api.js and 1 other location - About 40 mins to fix
    server/routes/api.js on lines 187..187

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

    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 getEffectiveConfiguration has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    function getEffectiveConfiguration(userConfig, repository, defaultConfig, ignorePaths, applyConfigIfOwnedBy) {
    Severity: Minor
    Found in server/zapprfile/Configuration.js - About 35 mins to fix

      Function reduce has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

        function reduce(aggregator, index, array, resolve, reject) {
      Severity: Minor
      Found in common/util.js - About 35 mins to fix

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

              <ellipse ry="25"
                       rx="25"
                       id="svg_2"
                       cy="92.5"
                       cx="89.5"
        Severity: Major
        Found in client/components/ApprovalAnimation.jsx and 10 other locations - About 35 mins to fix
        client/components/ApprovalAnimation.jsx on lines 40..47
        client/components/ApprovalAnimation.jsx on lines 56..63
        client/components/AutobranchAnimation.jsx on lines 14..21
        client/components/AutobranchAnimation.jsx on lines 22..29
        client/components/AutobranchAnimation.jsx on lines 30..37
        client/components/AutobranchAnimation.jsx on lines 38..45
        client/components/CommitMessageAnimation.jsx on lines 14..21
        client/components/CommitMessageAnimation.jsx on lines 22..29
        client/components/CommitMessageAnimation.jsx on lines 30..37
        client/components/CommitMessageAnimation.jsx on lines 38..45

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

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

              <ellipse ry="25"
                       rx="25"
                       id="svg_1"
                       cy="92.5"
                       cx="89.5"
        Severity: Major
        Found in client/components/CommitMessageAnimation.jsx and 10 other locations - About 35 mins to fix
        client/components/ApprovalAnimation.jsx on lines 40..47
        client/components/ApprovalAnimation.jsx on lines 48..55
        client/components/ApprovalAnimation.jsx on lines 56..63
        client/components/AutobranchAnimation.jsx on lines 14..21
        client/components/AutobranchAnimation.jsx on lines 22..29
        client/components/AutobranchAnimation.jsx on lines 30..37
        client/components/AutobranchAnimation.jsx on lines 38..45
        client/components/CommitMessageAnimation.jsx on lines 14..21
        client/components/CommitMessageAnimation.jsx on lines 30..37
        client/components/CommitMessageAnimation.jsx on lines 38..45

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

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

              <ellipse ry="25"
                       rx="25"
                       id="svg_4"
                       cy="92.5"
                       cx="190.506577"
        Severity: Major
        Found in client/components/CommitMessageAnimation.jsx and 10 other locations - About 35 mins to fix
        client/components/ApprovalAnimation.jsx on lines 40..47
        client/components/ApprovalAnimation.jsx on lines 48..55
        client/components/ApprovalAnimation.jsx on lines 56..63
        client/components/AutobranchAnimation.jsx on lines 14..21
        client/components/AutobranchAnimation.jsx on lines 22..29
        client/components/AutobranchAnimation.jsx on lines 30..37
        client/components/AutobranchAnimation.jsx on lines 38..45
        client/components/CommitMessageAnimation.jsx on lines 14..21
        client/components/CommitMessageAnimation.jsx on lines 22..29
        client/components/CommitMessageAnimation.jsx on lines 30..37

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

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

              <ellipse ry="25"
                       rx="25"
                       id="svg_2"
                       cy="92.5"
                       cx="89.5"
        Severity: Major
        Found in client/components/AutobranchAnimation.jsx and 10 other locations - About 35 mins to fix
        client/components/ApprovalAnimation.jsx on lines 40..47
        client/components/ApprovalAnimation.jsx on lines 48..55
        client/components/ApprovalAnimation.jsx on lines 56..63
        client/components/AutobranchAnimation.jsx on lines 14..21
        client/components/AutobranchAnimation.jsx on lines 22..29
        client/components/AutobranchAnimation.jsx on lines 38..45
        client/components/CommitMessageAnimation.jsx on lines 14..21
        client/components/CommitMessageAnimation.jsx on lines 22..29
        client/components/CommitMessageAnimation.jsx on lines 30..37
        client/components/CommitMessageAnimation.jsx on lines 38..45

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

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

              <ellipse ry="25"
                       rx="25"
                       id="svg_4"
                       cy="92.5"
                       cx="190.506577"
        Severity: Major
        Found in client/components/ApprovalAnimation.jsx and 10 other locations - About 35 mins to fix
        client/components/ApprovalAnimation.jsx on lines 40..47
        client/components/ApprovalAnimation.jsx on lines 48..55
        client/components/AutobranchAnimation.jsx on lines 14..21
        client/components/AutobranchAnimation.jsx on lines 22..29
        client/components/AutobranchAnimation.jsx on lines 30..37
        client/components/AutobranchAnimation.jsx on lines 38..45
        client/components/CommitMessageAnimation.jsx on lines 14..21
        client/components/CommitMessageAnimation.jsx on lines 22..29
        client/components/CommitMessageAnimation.jsx on lines 30..37
        client/components/CommitMessageAnimation.jsx on lines 38..45

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

        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