YorickPeterse/ruby-lint

View on GitHub

Showing 2,162 of 2,162 total issues

File active_record.rb has 8253 lines of code (exceeds 250 allowed). Consider refactoring.
Open

RubyLint.registry.register('ActiveRecord') do |defs|
  defs.define_constant('ActiveRecord') do |klass|
    klass.inherits(defs.constant_proxy('Object', RubyLint.registry))

    klass.define_method('eager_load!')
Severity: Major
Found in lib/ruby-lint/definitions/rails/active_record.rb - About 3 wks to fix

    File rspec.rb has 6812 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    RubyLint.registry.register('RSpec') do |defs|
      defs.define_constant('RSpec') do |klass|
        klass.inherits(defs.constant_proxy('Object', RubyLint.registry))
    
        klass.define_method('clear_examples')
    Severity: Major
    Found in lib/ruby-lint/definitions/gems/rspec.rb - About 2 wks to fix

      File mongoid.rb has 6210 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      RubyLint.registry.register('Mongoid') do |defs|
        defs.define_constant('Mongoid') do |klass|
          klass.inherits(defs.constant_proxy('Object', RubyLint.registry))
      
          klass.define_instance_method('configure')
      Severity: Major
      Found in lib/ruby-lint/definitions/gems/mongoid.rb - About 2 wks to fix

        File action_view.rb has 5564 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        RubyLint.registry.register('ActionView') do |defs|
          defs.define_constant('ActionView') do |klass|
            klass.inherits(defs.constant_proxy('Object', RubyLint.registry))
        
            klass.define_method('eager_load!')
        Severity: Major
        Found in lib/ruby-lint/definitions/rails/action_view.rb - About 2 wks to fix

          File arel.rb has 5261 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          RubyLint.registry.register('Arel') do |defs|
            defs.define_constant('Arel') do |klass|
              klass.inherits(defs.constant_proxy('Object', RubyLint.registry))
          
              klass.define_method('sql') do |method|
          Severity: Major
          Found in lib/ruby-lint/definitions/rails/arel.rb - About 2 wks to fix

            File nokogiri.rb has 4823 lines of code (exceeds 250 allowed). Consider refactoring.
            Open

            RubyLint.registry.register('Nokogiri') do |defs|
              defs.define_constant('Nokogiri') do |klass|
                klass.inherits(defs.constant_proxy('Object', RubyLint.registry))
            
                klass.define_method('HTML') do |method|
            Severity: Major
            Found in lib/ruby-lint/definitions/gems/nokogiri.rb - About 1 wk to fix

              File lib_xml.rb has 4184 lines of code (exceeds 250 allowed). Consider refactoring.
              Open

              RubyLint.registry.register('LibXML') do |defs|
                defs.define_constant('LibXML') do |klass|
                  klass.inherits(defs.constant_proxy('Object', RubyLint.registry))
              
                end
              Severity: Major
              Found in lib/ruby-lint/definitions/gems/lib_xml.rb - About 1 wk to fix

                File active_support.rb has 4034 lines of code (exceeds 250 allowed). Consider refactoring.
                Open

                RubyLint.registry.register('ActiveSupport') do |defs|
                  defs.define_constant('ActiveSupport') do |klass|
                    klass.inherits(defs.constant_proxy('Object', RubyLint.registry))
                
                    klass.define_method('encode_big_decimal_as_string') do |method|
                Severity: Major
                Found in lib/ruby-lint/definitions/rails/active_support.rb - About 1 wk to fix

                  File glib.rb has 3788 lines of code (exceeds 250 allowed). Consider refactoring.
                  Open

                  RubyLint.registry.register('GLib') do |defs|
                    defs.define_constant('GLib') do |klass|
                      klass.inherits(defs.constant_proxy('Object', RubyLint.registry))
                  
                      klass.define_method('__add_one_arg_setter') do |method|
                  Severity: Major
                  Found in lib/ruby-lint/definitions/gems/glib.rb - About 1 wk to fix

                    File celluloid.rb has 3415 lines of code (exceeds 250 allowed). Consider refactoring.
                    Open

                    RubyLint.registry.register('Celluloid') do |defs|
                      defs.define_constant('Celluloid') do |klass|
                        klass.inherits(defs.constant_proxy('Object', RubyLint.registry))
                    
                        klass.define_method('actor?')
                    Severity: Major
                    Found in lib/ruby-lint/definitions/gems/celluloid.rb - About 1 wk to fix

                      File action_dispatch.rb has 3048 lines of code (exceeds 250 allowed). Consider refactoring.
                      Open

                      RubyLint.registry.register('ActionDispatch') do |defs|
                        defs.define_constant('ActionDispatch') do |klass|
                          klass.inherits(defs.constant_proxy('Object', RubyLint.registry))
                      
                          klass.define_method('test_app')
                      Severity: Major
                      Found in lib/ruby-lint/definitions/rails/action_dispatch.rb - About 1 wk to fix

                        File open_ssl.rb has 2534 lines of code (exceeds 250 allowed). Consider refactoring.
                        Open

                        RubyLint.registry.register('OpenSSL') do |defs|
                          defs.define_constant('OpenSSL') do |klass|
                            klass.inherits(defs.constant_proxy('Object', RubyLint.registry))
                        
                            klass.define_method('Digest') do |method|
                        Severity: Major
                        Found in lib/ruby-lint/definitions/core/open_ssl.rb - About 1 wk to fix

                          File action_controller.rb has 2384 lines of code (exceeds 250 allowed). Consider refactoring.
                          Open

                          RubyLint.registry.register('ActionController') do |defs|
                            defs.define_constant('ActionController') do |klass|
                              klass.inherits(defs.constant_proxy('Object', RubyLint.registry))
                          
                              klass.define_method('add_renderer') do |method|
                          Severity: Major
                          Found in lib/ruby-lint/definitions/rails/action_controller.rb - About 6 days to fix

                            File gem.rb has 2198 lines of code (exceeds 250 allowed). Consider refactoring.
                            Open

                            RubyLint.registry.register('Gem') do |defs|
                              defs.define_constant('Gem') do |klass|
                                klass.inherits(defs.constant_proxy('Object', RubyLint.registry))
                            
                                klass.define_method('bin_path') do |method|
                            Severity: Major
                            Found in lib/ruby-lint/definitions/core/gem.rb - About 6 days to fix

                              File socket.rb has 2048 lines of code (exceeds 250 allowed). Consider refactoring.
                              Open

                              RubyLint.registry.register('Socket') do |defs|
                                defs.define_constant('Socket') do |klass|
                                  klass.inherits(defs.constant_proxy('BasicSocket', RubyLint.registry))
                                  klass.inherits(defs.constant_proxy('Socket::ListenAndAccept', RubyLint.registry))
                                  klass.inherits(defs.constant_proxy('IO::Socketable', RubyLint.registry))
                              Severity: Major
                              Found in lib/ruby-lint/definitions/core/socket.rb - About 5 days to fix

                                File test.rb has 1856 lines of code (exceeds 250 allowed). Consider refactoring.
                                Open

                                RubyLint.registry.register('Test') do |defs|
                                  defs.define_constant('Test') do |klass|
                                    klass.inherits(defs.constant_proxy('Object', RubyLint.registry))
                                
                                  end
                                Severity: Major
                                Found in lib/ruby-lint/definitions/gems/test.rb - About 5 days to fix

                                  File rails.rb has 1639 lines of code (exceeds 250 allowed). Consider refactoring.
                                  Open

                                  RubyLint.registry.register('Rails') do |defs|
                                    defs.define_constant('Rails') do |klass|
                                      klass.inherits(defs.constant_proxy('Object', RubyLint.registry))
                                  
                                      klass.define_method('application')
                                  Severity: Major
                                  Found in lib/ruby-lint/definitions/rails/rails.rb - About 4 days to fix

                                    File webrick.rb has 1597 lines of code (exceeds 250 allowed). Consider refactoring.
                                    Open

                                    RubyLint.registry.register('WEBrick') do |defs|
                                      defs.define_constant('WEBrick') do |klass|
                                        klass.inherits(defs.constant_proxy('Object', RubyLint.registry))
                                    
                                      end
                                    Severity: Major
                                    Found in lib/ruby-lint/definitions/core/webrick.rb - About 4 days to fix

                                      File devise.rb has 1542 lines of code (exceeds 250 allowed). Consider refactoring.
                                      Open

                                      RubyLint.registry.register('Devise') do |defs|
                                        defs.define_constant('Devise') do |klass|
                                          klass.inherits(defs.constant_proxy('Object', RubyLint.registry))
                                      
                                          klass.define_method('add_mapping') do |method|
                                      Severity: Major
                                      Found in lib/ruby-lint/definitions/gems/devise.rb - About 4 days to fix

                                        File sinatra.rb has 1375 lines of code (exceeds 250 allowed). Consider refactoring.
                                        Open

                                        RubyLint.registry.register('Sinatra') do |defs|
                                          defs.define_constant('Sinatra') do |klass|
                                            klass.inherits(defs.constant_proxy('Object', RubyLint.registry))
                                        
                                            klass.define_method('helpers') do |method|
                                        Severity: Major
                                        Found in lib/ruby-lint/definitions/gems/sinatra.rb - About 3 days to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language