bcdice/BCDice

View on GitHub

Showing 1,176 of 1,233 total issues

Avoid too many return statements within this method.
Open

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

    Avoid too many return statements within this method.
    Open

            return "실패"
    Severity: Major
    Found in lib/bcdice/game_system/Cthulhu7th_Korean.rb - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                return getHitResult(count, damageFunc, tail)
      Severity: Major
      Found in lib/bcdice/game_system/BattleTech.rb - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                return fumble_text if total == 100
        Severity: Major
        Found in lib/bcdice/game_system/Cthulhu7th_Korean.rb - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                    return getCombineRoll(command)
          Severity: Major
          Found in lib/bcdice/game_system/Cthulhu.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/BattleTech.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 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 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_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 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 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 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 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 roll_bms_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 0, 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 fail_string
                                        Severity: Major
                                        Found in lib/bcdice/game_system/GurpsFW.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language