jcbantuelle/dominion-meteor

View on GitHub

Showing 1,158 of 1,158 total issues

Function play has 52 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  play(game, player_cards, card_player) {
    let card_gainer = new CardGainer(game, player_cards, 'discard', 'Silver')
    card_gainer.gain()

    GameModel.update(game._id, game)
Severity: Major
Found in app/cards/hinterlands/jack_of_all_trades.js - About 2 hrs to fix

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

      static discard_or_replace(game, player_cards, response) {
        if (response === 'yes') {
          let card_discarder = new CardDiscarder(game, player_cards, 'revealed')
          card_discarder.discard()
        } else {
    Severity: Major
    Found in app/cards/hinterlands/oracle.js and 5 other locations - About 2 hrs to fix
    app/cards/alchemy/scrying_pool.js on lines 72..80
    app/cards/base/spy.js on lines 50..58
    app/cards/dark_ages/ironmonger.js on lines 60..68
    app/cards/dark_ages/survivors.js on lines 27..35
    app/cards/nocturne/zombie_spy.js on lines 41..49

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

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

      static discard_card(game, player_cards, response) {
        if (response === 'yes') {
          let card_discarder = new CardDiscarder(game, player_cards, 'revealed')
          card_discarder.discard()
        } else {
    Severity: Major
    Found in app/cards/alchemy/scrying_pool.js and 5 other locations - About 2 hrs to fix
    app/cards/base/spy.js on lines 50..58
    app/cards/dark_ages/ironmonger.js on lines 60..68
    app/cards/dark_ages/survivors.js on lines 27..35
    app/cards/hinterlands/oracle.js on lines 51..59
    app/cards/nocturne/zombie_spy.js on lines 41..49

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

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

      static discard_card(game, player_cards, response) {
        if (response === 'yes') {
          let card_discarder = new CardDiscarder(game, player_cards, 'revealed')
          card_discarder.discard()
        } else {
    Severity: Major
    Found in app/cards/base/spy.js and 5 other locations - About 2 hrs to fix
    app/cards/alchemy/scrying_pool.js on lines 72..80
    app/cards/dark_ages/ironmonger.js on lines 60..68
    app/cards/dark_ages/survivors.js on lines 27..35
    app/cards/hinterlands/oracle.js on lines 51..59
    app/cards/nocturne/zombie_spy.js on lines 41..49

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

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

      static discard_card(game, player_cards, response) {
        if (response === 'yes') {
          let card_discarder = new CardDiscarder(game, player_cards, 'revealed')
          card_discarder.discard()
        } else {
    Severity: Major
    Found in app/cards/dark_ages/ironmonger.js and 5 other locations - About 2 hrs to fix
    app/cards/alchemy/scrying_pool.js on lines 72..80
    app/cards/base/spy.js on lines 50..58
    app/cards/dark_ages/survivors.js on lines 27..35
    app/cards/hinterlands/oracle.js on lines 51..59
    app/cards/nocturne/zombie_spy.js on lines 41..49

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

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

      static discard_card(game, player_cards, response) {
        if (response === 'yes') {
          let card_discarder = new CardDiscarder(game, player_cards, 'revealed')
          card_discarder.discard()
        } else {
    Severity: Major
    Found in app/cards/nocturne/zombie_spy.js and 5 other locations - About 2 hrs to fix
    app/cards/alchemy/scrying_pool.js on lines 72..80
    app/cards/base/spy.js on lines 50..58
    app/cards/dark_ages/ironmonger.js on lines 60..68
    app/cards/dark_ages/survivors.js on lines 27..35
    app/cards/hinterlands/oracle.js on lines 51..59

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

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

      static discard_cards(game, player_cards, response) {
        if (response === 'yes') {
          let card_discarder = new CardDiscarder(game, player_cards, 'revealed')
          card_discarder.discard()
        } else {
    Severity: Major
    Found in app/cards/dark_ages/survivors.js and 5 other locations - About 2 hrs to fix
    app/cards/alchemy/scrying_pool.js on lines 72..80
    app/cards/base/spy.js on lines 50..58
    app/cards/dark_ages/ironmonger.js on lines 60..68
    app/cards/hinterlands/oracle.js on lines 51..59
    app/cards/nocturne/zombie_spy.js on lines 41..49

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

    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

      static put_in_hand(game, player_cards, selected_cards) {
        let card_mover = new CardMover(game, player_cards)
        card_mover.move(player_cards.discard, player_cards.hand, selected_cards[0])
        game.log.push(`&nbsp;&nbsp;<strong>${player_cards.username}</strong> puts a card in hand from their discard`)
      }
    Severity: Major
    Found in app/cards/renaissance/mountain_village.js and 1 other location - About 2 hrs to fix
    app/cards/dark_ages/scavenger.js on lines 62..66

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

    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

      static put_on_deck(game, player_cards, selected_cards) {
        let card_mover = new CardMover(game, player_cards)
        card_mover.move(player_cards.discard, player_cards.deck, selected_cards[0])
        game.log.push(`&nbsp;&nbsp;<strong>${player_cards.username}</strong> puts a card from their discard on top of their deck`)
      }
    Severity: Major
    Found in app/cards/dark_ages/scavenger.js and 1 other location - About 2 hrs to fix
    app/cards/renaissance/mountain_village.js on lines 38..42

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

    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

      static trash_card(game, player_cards, selected_cards) {
        if (!_.isEmpty(selected_cards)) {
          let card_trasher = new CardTrasher(game, player_cards, 'hand', selected_cards)
          card_trasher.trash()
        } else {
    Severity: Major
    Found in app/cards/renaissance/treasurer.js and 1 other location - About 2 hrs to fix
    app/cards/promo/church.js on lines 83..90

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

    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

      static trash_card(game, player_cards, selected_cards) {
        if (!_.isEmpty(selected_cards)) {
          let card_trasher = new CardTrasher(game, player_cards, 'hand', selected_cards)
          card_trasher.trash()
        } else {
    Severity: Major
    Found in app/cards/promo/church.js and 1 other location - About 2 hrs to fix
    app/cards/renaissance/treasurer.js on lines 94..101

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

    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 play has 50 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      play(game, player_cards, card_player) {
        if (_.size(game.hexes_deck) === 0) {
          game.hexes_deck = _.shuffle(game.hexes_discard)
          game.hexes_discard = []
        }
    Severity: Minor
    Found in app/cards/nocturne/vampire.js - About 2 hrs to fix

      Function play has 50 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

        play(game, player_cards, card_player) {
          let card_drawer = new CardDrawer(game, player_cards, card_player)
          card_drawer.draw(2)
      
          PlayerCardsModel.update(game._id, player_cards)
      Severity: Minor
      Found in app/cards/intrigue/masquerade.js - About 2 hrs to fix

        Function buy has 50 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

          buy(game, player_cards) {
            let eligible_cards = _.filter(player_cards.hand, (card) => {
              return !_.includes(_.words(card.types), 'victory')
            })
        
        
        Severity: Minor
        Found in app/cards/menagerie/events/enhance.js - About 2 hrs to fix

          Function buy has 50 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

            buy(game, player_cards) {
              let horse = _.find(game.cards, (card) => {
                return card.count > 0 && card.name === 'Horse'
              })
          
          
          Severity: Minor
          Found in app/cards/menagerie/events/demand.js - About 2 hrs to fix

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

              play(game, player_cards, card_player) {
                let card_drawer = new CardDrawer(game, player_cards, card_player)
                card_drawer.draw(1)
            
                let action_gainer = new ActionGainer(game, player_cards)
            Severity: Major
            Found in app/cards/adventures/guide.js and 1 other location - About 2 hrs to fix
            app/cards/adventures/ratcatcher.js on lines 11..19

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

            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

              play(game, player_cards, card_player) {
                let card_drawer = new CardDrawer(game, player_cards, card_player)
                card_drawer.draw(1)
            
                let action_gainer = new ActionGainer(game, player_cards)
            Severity: Major
            Found in app/cards/adventures/ratcatcher.js and 1 other location - About 2 hrs to fix
            app/cards/adventures/guide.js on lines 11..19

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

            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

                card_revealer.reveal_from_deck_until((game, player_cards, revealed_cards) => {
                  if (!_.isEmpty(revealed_cards)) {
                    return _.includes(_.words(_.last(revealed_cards).types), 'treasure')
                  } else {
                    return false
            Severity: Major
            Found in app/cards/prosperity/loan.js and 2 other locations - About 2 hrs to fix
            app/cards/nocturne/ghost.js on lines 13..19
            app/cards/prosperity/venture.js on lines 16..22

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

            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

                card_revealer.reveal_from_deck_until((game, player_cards, revealed_cards) => {
                  if (!_.isEmpty(revealed_cards)) {
                    return _.includes(_.words(_.last(revealed_cards).types), 'action')
                  } else {
                    return false
            Severity: Major
            Found in app/cards/nocturne/ghost.js and 2 other locations - About 2 hrs to fix
            app/cards/prosperity/loan.js on lines 16..22
            app/cards/prosperity/venture.js on lines 16..22

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

            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

                  let eligible_cards = _.filter(player_cards.hand, function(card) {
                    return _.includes(_.words(card.types), 'treasure') || _.includes(_.words(card.types), 'action')
                  })
            Severity: Major
            Found in app/cards/nocturne/hexes/fear.js and 1 other location - About 2 hrs to fix
            app/cards/prosperity/rabble.js on lines 26..28

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

            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