bcdice/BCDice

View on GitHub

Showing 1,176 of 1,233 total issues

Avoid too many return statements within this method.
Open

          return getHattokuResult(command)
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 origin_unique(order)
    Severity: Major
    Found in lib/bcdice/game_system/HeroScale.rb - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                  return result_text.to_s
      Severity: Major
      Found in lib/bcdice/game_system/WerewolfTheApocalypse5th.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 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 origin_omnipotent(order)
              Severity: Major
              Found in lib/bcdice/game_system/HeroScale.rb - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

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

                  Avoid too many return statements within this method.
                  Open

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

                    Avoid too many return statements within this method.
                    Open

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

                      Avoid too many return statements within this method.
                      Open

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

                        Avoid too many return statements within this method.
                        Open

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

                          Avoid too many return statements within this method.
                          Open

                                  return {name: '判定', table: nil}
                          Severity: Major
                          Found in lib/bcdice/game_system/ShinkuuGakuen.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 getWeaponTableBoxing
                              Severity: Major
                              Found in lib/bcdice/game_system/ShinkuuGakuen.rb - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

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

                                  Avoid too many return statements within this method.
                                  Open

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

                                    Avoid too many return statements within this method.
                                    Open

                                              return origin_absorption(order)
                                    Severity: Major
                                    Found in lib/bcdice/game_system/HeroScale.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/HeroScale.rb - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                  return getWeaponTableShortSword
                                        Severity: Major
                                        Found in lib/bcdice/game_system/ShinkuuGakuen.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language