bcdice/BCDice

View on GitHub

Showing 837 of 1,278 total issues

Avoid too many return statements within this method.
Open

            return Result.fumble("#{result_text}:判定失敗! [Total Failure]")
Severity: Major
Found in lib/bcdice/game_system/HunterTheReckoning5th.rb - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                return Result.fumble(result)
    Severity: Major
    Found in lib/bcdice/game_system/BlindMythos.rb - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                  return Result.failure(result)
      Severity: Major
      Found in lib/bcdice/game_system/BlindMythos.rb - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                  return Result.critical('決定的成功') if total <= target
        Severity: Major
        Found in lib/bcdice/game_system/EclipsePhase.rb - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                  return roll_tables(command, TABLES)
          Severity: Major
          Found in lib/bcdice/game_system/BlindMythos.rb - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                      return tableText(title, table, sign)
            Severity: Major
            Found in lib/bcdice/game_system/BladeOfArcana.rb - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

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

                Avoid too many return statements within this method.
                Open

                            return Result.success(result)
                Severity: Major
                Found in lib/bcdice/game_system/BlindMythos.rb - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                              return "#{result_text}#{desperation_result}"
                  Severity: Major
                  Found in lib/bcdice/game_system/HunterTheReckoning5th.rb - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

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

                      Avoid too many return statements within this method.
                      Open

                                  return Result.failure("#{result_text}:判定失敗!")
                      Severity: Major
                      Found in lib/bcdice/game_system/HunterTheReckoning5th.rb - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                      return Result.fumble("#{result_text}:判定失敗! [Despair]")
                        Severity: Major
                        Found in lib/bcdice/game_system/HunterTheReckoning5th.rb - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                    return getResultTextByDice(diceList, "失敗")
                          Severity: Major
                          Found in lib/bcdice/game_system/GeishaGirlwithKatana.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/BladeOfArcana.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_ChineseTraditional.rb - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                            return fumble_text if fumbleable
                                Severity: Major
                                Found in lib/bcdice/game_system/Cthulhu7th_ChineseTraditional.rb - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                          return 'Pathetic(惨め)' if stepTotal >= pathetic
                                  Severity: Major
                                  Found in lib/bcdice/game_system/EarthDawn3.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/LostRoyal.rb - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                            return result_ndx(total, cmp_op, target)
                                      Severity: Major
                                      Found in lib/bcdice/base.rb - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                return 'Average(そこそこ)' if stepTotal >= average
                                        Severity: Major
                                        Found in lib/bcdice/game_system/EarthDawn3.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language