Showing 78 of 2,162 total issues
File active_record.rb
has 8253 lines of code (exceeds 250 allowed). Consider refactoring. Open
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!')
File rspec.rb
has 6812 lines of code (exceeds 250 allowed). Consider refactoring. Open
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')
File mongoid.rb
has 6210 lines of code (exceeds 250 allowed). Consider refactoring. Open
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')
File action_view.rb
has 5564 lines of code (exceeds 250 allowed). Consider refactoring. Open
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!')
File arel.rb
has 5261 lines of code (exceeds 250 allowed). Consider refactoring. Open
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|
File nokogiri.rb
has 4823 lines of code (exceeds 250 allowed). Consider refactoring. Open
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|
File lib_xml.rb
has 4184 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
RubyLint.registry.register('LibXML') do |defs|
defs.define_constant('LibXML') do |klass|
klass.inherits(defs.constant_proxy('Object', RubyLint.registry))
end
File active_support.rb
has 4034 lines of code (exceeds 250 allowed). Consider refactoring. Open
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|
File glib.rb
has 3788 lines of code (exceeds 250 allowed). Consider refactoring. Open
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|
File celluloid.rb
has 3415 lines of code (exceeds 250 allowed). Consider refactoring. Open
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?')
File action_dispatch.rb
has 3048 lines of code (exceeds 250 allowed). Consider refactoring. Open
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')
File open_ssl.rb
has 2534 lines of code (exceeds 250 allowed). Consider refactoring. Open
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|
File action_controller.rb
has 2384 lines of code (exceeds 250 allowed). Consider refactoring. Open
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|
File gem.rb
has 2198 lines of code (exceeds 250 allowed). Consider refactoring. Open
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|
File socket.rb
has 2048 lines of code (exceeds 250 allowed). Consider refactoring. Open
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))
File test.rb
has 1856 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
RubyLint.registry.register('Test') do |defs|
defs.define_constant('Test') do |klass|
klass.inherits(defs.constant_proxy('Object', RubyLint.registry))
end
File rails.rb
has 1639 lines of code (exceeds 250 allowed). Consider refactoring. Open
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')
File webrick.rb
has 1597 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
RubyLint.registry.register('WEBrick') do |defs|
defs.define_constant('WEBrick') do |klass|
klass.inherits(defs.constant_proxy('Object', RubyLint.registry))
end
File devise.rb
has 1542 lines of code (exceeds 250 allowed). Consider refactoring. Open
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|
File sinatra.rb
has 1375 lines of code (exceeds 250 allowed). Consider refactoring. Open
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|