bcdice/BCDice

View on GitHub
lib/bcdice/game_system/HouraiGakuen.rb

Summary

Maintainability
B
4 hrs
Test Coverage
A
99%

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

      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 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 "異常終了"
          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 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 getGogyouResult(command)
                Severity: Major
                Found in lib/bcdice/game_system/HouraiGakuen.rb - About 30 mins to fix

                  There are no issues that match your filters.

                  Category
                  Status