YorickPeterse/ruby-lint

View on GitHub

Showing 2,162 of 2,162 total issues

Similar blocks of code found in 2 locations. Consider refactoring.
Open

  defs.define_constant('Gem::Requirement') do |klass|
    klass.inherits(defs.constant_proxy('Object', RubyLint.registry))

    klass.define_method('create') do |method|
      method.define_argument('input')
Severity: Major
Found in lib/ruby-lint/definitions/core/gem.rb and 1 other location - About 4 hrs to fix
lib/ruby-lint/definitions/core/gem.rb on lines 3220..3291

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 150.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

File tcpsocket.rb has 349 lines of code (exceeds 250 allowed). Consider refactoring.
Open

RubyLint.registry.register('TCPSocket') do |defs|
  defs.define_constant('TCPSocket') do |klass|
    klass.inherits(defs.constant_proxy('IPSocket', RubyLint.registry))

    klass.define_method('gethostbyname') do |method|
Severity: Minor
Found in lib/ruby-lint/definitions/core/tcpsocket.rb - About 4 hrs to fix

    File udpsocket.rb has 349 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    RubyLint.registry.register('UDPSocket') do |defs|
      defs.define_constant('UDPSocket') do |klass|
        klass.inherits(defs.constant_proxy('IPSocket', RubyLint.registry))
    
        klass.define_instance_method('bind') do |method|
    Severity: Minor
    Found in lib/ruby-lint/definitions/core/udpsocket.rb - About 4 hrs to fix

      File ipsocket.rb has 348 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      RubyLint.registry.register('IPSocket') do |defs|
        defs.define_constant('IPSocket') do |klass|
          klass.inherits(defs.constant_proxy('BasicSocket', RubyLint.registry))
      
          klass.define_method('getaddress') do |method|
      Severity: Minor
      Found in lib/ruby-lint/definitions/core/ipsocket.rb - About 4 hrs to fix

        Similar blocks of code found in 3 locations. Consider refactoring.
        Open

          defs.define_constant('ActiveRecord::Base::AssociationReflection') do |klass|
            klass.inherits(defs.constant_proxy('ActiveRecord::Reflection::MacroReflection', RubyLint.registry))
        
            klass.define_instance_method('active_record_primary_key')
        
        
        Severity: Major
        Found in lib/ruby-lint/definitions/rails/active_record.rb and 2 other locations - About 4 hrs to fix
        lib/ruby-lint/definitions/rails/active_record.rb on lines 8291..8371
        lib/ruby-lint/definitions/rails/active_record.rb on lines 9377..9457

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 148.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        Similar blocks of code found in 3 locations. Consider refactoring.
        Open

          defs.define_constant('ActiveRecord::Reflection::AssociationReflection') do |klass|
            klass.inherits(defs.constant_proxy('ActiveRecord::Reflection::MacroReflection', RubyLint.registry))
        
            klass.define_instance_method('active_record_primary_key')
        
        
        Severity: Major
        Found in lib/ruby-lint/definitions/rails/active_record.rb and 2 other locations - About 4 hrs to fix
        lib/ruby-lint/definitions/rails/active_record.rb on lines 1732..1812
        lib/ruby-lint/definitions/rails/active_record.rb on lines 9377..9457

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 148.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        Similar blocks of code found in 3 locations. Consider refactoring.
        Open

          defs.define_constant('ActiveRecord::SchemaMigration::AssociationReflection') do |klass|
            klass.inherits(defs.constant_proxy('ActiveRecord::Reflection::MacroReflection', RubyLint.registry))
        
            klass.define_instance_method('active_record_primary_key')
        
        
        Severity: Major
        Found in lib/ruby-lint/definitions/rails/active_record.rb and 2 other locations - About 4 hrs to fix
        lib/ruby-lint/definitions/rails/active_record.rb on lines 1732..1812
        lib/ruby-lint/definitions/rails/active_record.rb on lines 8291..8371

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 148.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        Similar blocks of code found in 2 locations. Consider refactoring.
        Open

          defs.define_constant('LibXML::XML::SaxParser::VerboseCallbacks') do |klass|
            klass.inherits(defs.constant_proxy('Object', RubyLint.registry))
        
            klass.define_instance_method('on_cdata_block') do |method|
              method.define_argument('cdata')
        Severity: Major
        Found in lib/ruby-lint/definitions/gems/lib_xml.rb and 1 other location - About 4 hrs to fix
        lib/ruby-lint/definitions/gems/lib_xml.rb on lines 5880..5941

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 146.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        Similar blocks of code found in 2 locations. Consider refactoring.
        Open

          defs.define_constant('LibXML::XML::SaxParser::Callbacks') do |klass|
            klass.inherits(defs.constant_proxy('Object', RubyLint.registry))
        
            klass.define_instance_method('on_cdata_block') do |method|
              method.define_argument('cdata')
        Severity: Major
        Found in lib/ruby-lint/definitions/gems/lib_xml.rb and 1 other location - About 4 hrs to fix
        lib/ruby-lint/definitions/gems/lib_xml.rb on lines 5945..6006

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 146.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        Similar blocks of code found in 2 locations. Consider refactoring.
        Open

          defs.define_constant('ActionView::Base::UrlHelper') do |klass|
            klass.inherits(defs.constant_proxy('Object', RubyLint.registry))
        
            klass.define_instance_method('_back_url')
        
        
        Severity: Major
        Found in lib/ruby-lint/definitions/rails/action_view.rb and 1 other location - About 4 hrs to fix
        lib/ruby-lint/definitions/rails/action_view.rb on lines 7365..7419

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 146.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        Similar blocks of code found in 2 locations. Consider refactoring.
        Open

          defs.define_constant('ActionView::TestCase::UrlHelper') do |klass|
            klass.inherits(defs.constant_proxy('Object', RubyLint.registry))
        
            klass.define_instance_method('_back_url')
        
        
        Severity: Major
        Found in lib/ruby-lint/definitions/rails/action_view.rb and 1 other location - About 4 hrs to fix
        lib/ruby-lint/definitions/rails/action_view.rb on lines 1933..1987

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 146.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        Similar blocks of code found in 2 locations. Consider refactoring.
        Open

          defs.define_constant('RSpec::Core::Configuration::HookCollections') do |klass|
            klass.inherits(defs.constant_proxy('Object', RubyLint.registry))
        
            klass.define_instance_method('all_hooks_for') do |method|
              method.define_argument('position')
        Severity: Major
        Found in lib/ruby-lint/definitions/gems/rspec.rb and 1 other location - About 4 hrs to fix
        lib/ruby-lint/definitions/gems/rspec.rb on lines 4735..4788

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 145.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        Similar blocks of code found in 2 locations. Consider refactoring.
        Open

          defs.define_constant('RSpec::Core::Hooks::HookCollections') do |klass|
            klass.inherits(defs.constant_proxy('Object', RubyLint.registry))
        
            klass.define_instance_method('all_hooks_for') do |method|
              method.define_argument('position')
        Severity: Major
        Found in lib/ruby-lint/definitions/gems/rspec.rb and 1 other location - About 4 hrs to fix
        lib/ruby-lint/definitions/gems/rspec.rb on lines 975..1028

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 145.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        Similar blocks of code found in 3 locations. Consider refactoring.
        Open

          defs.define_constant('ActiveRecord::Base::Association') do |klass|
            klass.inherits(defs.constant_proxy('Object', RubyLint.registry))
        
            klass.define_instance_method('aliased_table_name')
        
        
        Severity: Major
        Found in lib/ruby-lint/definitions/rails/active_record.rb and 2 other locations - About 4 hrs to fix
        lib/ruby-lint/definitions/rails/active_record.rb on lines 274..346
        lib/ruby-lint/definitions/rails/active_record.rb on lines 9296..9368

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 144.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        Similar blocks of code found in 3 locations. Consider refactoring.
        Open

          defs.define_constant('ActiveRecord::Associations::Association') do |klass|
            klass.inherits(defs.constant_proxy('Object', RubyLint.registry))
        
            klass.define_instance_method('aliased_table_name')
        
        
        Severity: Major
        Found in lib/ruby-lint/definitions/rails/active_record.rb and 2 other locations - About 4 hrs to fix
        lib/ruby-lint/definitions/rails/active_record.rb on lines 1651..1723
        lib/ruby-lint/definitions/rails/active_record.rb on lines 9296..9368

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 144.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        Similar blocks of code found in 3 locations. Consider refactoring.
        Open

          defs.define_constant('ActiveRecord::SchemaMigration::Association') do |klass|
            klass.inherits(defs.constant_proxy('Object', RubyLint.registry))
        
            klass.define_instance_method('aliased_table_name')
        
        
        Severity: Major
        Found in lib/ruby-lint/definitions/rails/active_record.rb and 2 other locations - About 4 hrs to fix
        lib/ruby-lint/definitions/rails/active_record.rb on lines 274..346
        lib/ruby-lint/definitions/rails/active_record.rb on lines 1651..1723

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 144.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        Similar blocks of code found in 2 locations. Consider refactoring.
        Open

          defs.define_constant('ActionView::Base::TextHelper') do |klass|
            klass.inherits(defs.constant_proxy('Object', RubyLint.registry))
        
            klass.define_instance_method('concat') do |method|
              method.define_argument('string')
        Severity: Major
        Found in lib/ruby-lint/definitions/rails/action_view.rb and 1 other location - About 4 hrs to fix
        lib/ruby-lint/definitions/rails/action_view.rb on lines 7272..7328

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 144.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        Similar blocks of code found in 2 locations. Consider refactoring.
        Open

          defs.define_constant('ActionView::TestCase::TextHelper') do |klass|
            klass.inherits(defs.constant_proxy('Object', RubyLint.registry))
        
            klass.define_instance_method('concat') do |method|
              method.define_argument('string')
        Severity: Major
        Found in lib/ruby-lint/definitions/rails/action_view.rb and 1 other location - About 4 hrs to fix
        lib/ruby-lint/definitions/rails/action_view.rb on lines 1846..1902

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 144.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        File zlib.rb has 339 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        RubyLint.registry.register('Zlib') do |defs|
          defs.define_constant('Zlib') do |klass|
            klass.inherits(defs.constant_proxy('Object', RubyLint.registry))
        
            klass.define_method('adler32')
        Severity: Minor
        Found in lib/ruby-lint/definitions/core/zlib.rb - About 4 hrs to fix

          File tcpserver.rb has 338 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          RubyLint.registry.register('TCPServer') do |defs|
            defs.define_constant('TCPServer') do |klass|
              klass.inherits(defs.constant_proxy('TCPSocket', RubyLint.registry))
              klass.inherits(defs.constant_proxy('Socket::ListenAndAccept', RubyLint.registry))
              klass.inherits(defs.constant_proxy('IO::Socketable', RubyLint.registry))
          Severity: Minor
          Found in lib/ruby-lint/definitions/core/tcpserver.rb - About 4 hrs to fix
            Severity
            Category
            Status
            Source
            Language