bcdice/BCDice

View on GitHub

Showing 699 of 1,081 total issues

File GurpsFW.rb has 2108 lines of code (exceeds 250 allowed). Consider refactoring.
Open

module BCDice
  module GameSystem
    class GurpsFW < Base
      # ゲームシステムの識別子
      ID = 'GurpsFW'
Severity: Major
Found in lib/bcdice/game_system/GurpsFW.rb - About 5 days to fix

    Method getRandomDiff has 844 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

          def getRandomDiff(dice1, dice23, dif, index)
            table = []
    
            case dice1
            when 1 # 洞窟
    Severity: Major
    Found in lib/bcdice/game_system/GurpsFW.rb - About 4 days to fix

      File Elysion.rb has 1110 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      module BCDice
        module GameSystem
          class Elysion < Base
            # ゲームシステムの識別子
            ID = 'Elysion'
      Severity: Major
      Found in lib/bcdice/game_system/Elysion.rb - About 2 days to fix

        Method eval_game_system_specific_command has 462 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

              def eval_game_system_specific_command(string)
                tableName = ""
                result = ""
                number = 0
        
        
        Severity: Major
        Found in lib/bcdice/game_system/GurpsFW.rb - About 2 days to fix

          File table.rb has 912 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          module BCDice
            module GameSystem
              class MeikyuKingdomBasic
                TABLES = {
                  "TBT" => DiceTable::Table.new(
          Severity: Major
          Found in lib/bcdice/game_system/meikyu_kingdom_basic/table.rb - About 2 days to fix

            Method getRandomEvent has 417 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                  def getRandomEvent(dice1, dice2, diff)
                    case diff
                    when "E"
                      dif = "初級"
                      d = 0
            Severity: Major
            Found in lib/bcdice/game_system/GurpsFW.rb - About 2 days to fix

              File MetalHeadExtream.rb has 828 lines of code (exceeds 250 allowed). Consider refactoring.
              Open

              module BCDice
                module GameSystem
                  class MetalHeadExtream < Base
                    # ゲームシステムの識別子
                    ID = 'MetalHeadExtream'
              Severity: Major
              Found in lib/bcdice/game_system/MetalHeadExtream.rb - About 1 day to fix

                File KanColle.rb has 754 lines of code (exceeds 250 allowed). Consider refactoring.
                Open

                require 'bcdice/dice_table/table'
                
                module BCDice
                  module GameSystem
                    class KanColle < Base
                Severity: Major
                Found in lib/bcdice/game_system/KanColle.rb - About 1 day to fix

                  File tables.rb has 717 lines of code (exceeds 250 allowed). Consider refactoring.
                  Open

                  module BCDice
                    module GameSystem
                      class Satasupe < Base
                        TAG_TABLE = DiceTable::D66GridTable.new(
                          "タグ決定表",
                  Severity: Major
                  Found in lib/bcdice/game_system/satasupe/tables.rb - About 1 day to fix

                    File ShinobiGami.rb has 698 lines of code (exceeds 250 allowed). Consider refactoring.
                    Open

                    require 'bcdice/dice_table/table'
                    
                    module BCDice
                      module GameSystem
                        class ShinobiGami < Base
                    Severity: Major
                    Found in lib/bcdice/game_system/ShinobiGami.rb - About 1 day to fix

                      Method get_hit_table has 313 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                            def get_hit_table(hitPart, roc)
                              case hitPart
                              when 'HU'
                                name = '命中部位表:人間'
                                table = [
                      Severity: Major
                      Found in lib/bcdice/game_system/MetalHeadExtream.rb - About 1 day to fix

                        File HatsuneMiku.rb has 671 lines of code (exceeds 250 allowed). Consider refactoring.
                        Open

                        module BCDice
                          module GameSystem
                            class HatsuneMiku < Base
                              # ゲームシステムの識別子
                              ID = 'HatsuneMiku'
                        Severity: Major
                        Found in lib/bcdice/game_system/HatsuneMiku.rb - About 1 day to fix

                          File tables.rb has 655 lines of code (exceeds 250 allowed). Consider refactoring.
                          Open

                          module BCDice
                            module GameSystem
                              class OneWayHeroics < Base
                                class GoldFlow
                                  def initialize(times, action)
                          Severity: Major
                          Found in lib/bcdice/game_system/one_way_heroics/tables.rb - About 1 day to fix

                            File ShoujoTenrankai.rb has 652 lines of code (exceeds 250 allowed). Consider refactoring.
                            Open

                            module BCDice
                              module GameSystem
                                class ShoujoTenrankai < Base
                                  # ゲームシステムの識別子
                                  ID = 'ShoujoTenrankai'
                            Severity: Major
                            Found in lib/bcdice/game_system/ShoujoTenrankai.rb - About 1 day to fix

                              File Garako.rb has 615 lines of code (exceeds 250 allowed). Consider refactoring.
                              Open

                              require 'bcdice/dice_table/table'
                              require 'bcdice/dice_table/range_table'
                              require 'bcdice/format'
                              
                              module BCDice
                              Severity: Major
                              Found in lib/bcdice/game_system/Garako.rb - About 1 day to fix

                                File StarryDolls.rb has 608 lines of code (exceeds 250 allowed). Consider refactoring.
                                Open

                                require "bcdice/dice_table/chain_table"
                                require "bcdice/dice_table/sai_fic_skill_table"
                                require "bcdice/dice_table/table"
                                require "bcdice/format"
                                
                                
                                Severity: Major
                                Found in lib/bcdice/game_system/StarryDolls.rb - About 1 day to fix

                                  File IfIfIf.rb has 607 lines of code (exceeds 250 allowed). Consider refactoring.
                                  Open

                                  module BCDice
                                    module GameSystem
                                      class IfIfIf < Base
                                        ID = "IfIfIf"
                                  
                                  
                                  Severity: Major
                                  Found in lib/bcdice/game_system/IfIfIf.rb - About 1 day to fix

                                    Method translate_tables has 259 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                            def translate_tables(locale)
                                              {
                                                "CO" => YearTable.from_i18n(
                                                  "Dracurouge.table.CO",
                                                  locale,
                                    Severity: Major
                                    Found in lib/bcdice/game_system/Dracurouge.rb - About 1 day to fix

                                      File NeverCloud.rb has 585 lines of code (exceeds 250 allowed). Consider refactoring.
                                      Open

                                      require "bcdice/dice_table/table"
                                      
                                      module BCDice
                                        module GameSystem
                                          class NeverCloud < Base
                                      Severity: Major
                                      Found in lib/bcdice/game_system/NeverCloud.rb - About 1 day to fix

                                        Method eval_game_system_specific_command has 234 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                              def eval_game_system_specific_command(command)
                                                output = ""
                                                type = ""
                                                total_n = ""
                                        
                                        
                                        Severity: Major
                                        Found in lib/bcdice/game_system/MeikyuKingdom.rb - About 1 day to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language