bcdice/BCDice

View on GitHub

Showing 809 of 1,233 total issues

Avoid too many return statements within this method.
Open

          return crt_string
Severity: Major
Found in lib/bcdice/game_system/GurpsFW.rb - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

              return roll_1d20_table("狂気のタレント表", INSANE_TALENTS_TABLE)
    Severity: Major
    Found in lib/bcdice/game_system/PulpCthulhu.rb - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                return roll_1d100_table("恐怖症表", PHOBIAS_TABLE)
      Severity: Major
      Found in lib/bcdice/game_system/PulpCthulhu.rb - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                  return Result.success("成功(成功度:#{success})")
        Severity: Major
        Found in lib/bcdice/game_system/GurpsFW.rb - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                    return dice1, dice2
          Severity: Major
          Found in lib/bcdice/game_system/Ryutama.rb - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                    return "失敗"
            Severity: Major
            Found in lib/bcdice/game_system/Ryutama.rb - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                        return fmb_string
              Severity: Major
              Found in lib/bcdice/game_system/GurpsFW.rb - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                          return fmb_string
                Severity: Major
                Found in lib/bcdice/game_system/GurpsFW.rb - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                            return fmb_string
                  Severity: Major
                  Found in lib/bcdice/game_system/GurpsFW.rb - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                              return Result.failure("失敗(失敗度:#{success})")
                    Severity: Major
                    Found in lib/bcdice/game_system/GurpsFW.rb - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                return nil
                      Severity: Major
                      Found in lib/bcdice/game_system/PulpCthulhu.rb - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                  return fail_string
                        Severity: Major
                        Found in lib/bcdice/game_system/GurpsFW.rb - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                  return text
                          Severity: Major
                          Found in lib/bcdice/game_system/GurpsFW.rb - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                      return color_text(black, white, value, white <= value && value < black ? '白' : '黒')
                            Severity: Major
                            Found in lib/bcdice/game_system/CastleInGray.rb - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                        return roll_1d100_table("マニア表", MANIAS_TABLE)
                              Severity: Major
                              Found in lib/bcdice/game_system/PulpCthulhu.rb - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                          return roll_1d20_table("キャスティング・ロール失敗表", FAILED_CASTING_EFFECTS_TABLE)
                                Severity: Major
                                Found in lib/bcdice/game_system/PulpCthulhu.rb - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                            return diceBase, 0
                                  Severity: Major
                                  Found in lib/bcdice/game_system/Ryutama.rb - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                            return nil
                                    Severity: Major
                                    Found in lib/bcdice/game_system/HouraiGakuen.rb - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                return "仁義八徳は、【悌】(#{oddEvenText})"
                                      Severity: Major
                                      Found in lib/bcdice/game_system/HouraiGakuen.rb - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                  return "仁義八徳は、【忠】(#{oddEvenText})"
                                        Severity: Major
                                        Found in lib/bcdice/game_system/HouraiGakuen.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language