bcdice/BCDice

View on GitHub

Showing 829 of 1,274 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 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 Result.failure("失敗")
        Severity: Major
        Found in lib/bcdice/game_system/PhantasmAdventure.rb - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                    return getGogyouResult(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 Result.success("成功")
            Severity: Major
            Found in lib/bcdice/game_system/PhantasmAdventure.rb - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

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

                Avoid too many return statements within this method.
                Open

                          return Result.new(nil)
                Severity: Major
                Found in lib/bcdice/game_system/Ventangle.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 Result.failure("#{result_header_text} #{result_detail_text}:失敗#{condition_text}")
                    Severity: Major
                    Found in lib/bcdice/game_system/TheOneRing2nd.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

                        Avoid too many return statements within this method.
                        Open

                                  return getWeaponTableClubCounter
                        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_text.to_s
                            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 Result.success(success_text)
                              Severity: Major
                              Found in lib/bcdice/game_system/TheOneRing2nd.rb - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                          return 3
                                Severity: Major
                                Found in lib/bcdice/game_system/NobunagasBlackCastle.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 Result.fumble("#{result_text}:判定失敗! [Total 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 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 getWeaponTableBow
                                        Severity: Major
                                        Found in lib/bcdice/game_system/ShinkuuGakuen.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language