rubocop-hq/rubocop

View on GitHub
lib/rubocop/cop/offense.rb

Summary

Maintainability
A
2 hrs
Test Coverage
A
100%

Class Offense has 21 methods (exceeds 20 allowed). Consider refactoring.
Open

    class Offense
      include Comparable

      # @api private
      COMPARISON_ATTRIBUTES = %i[line column cop_name message severity].freeze
Severity: Minor
Found in lib/rubocop/cop/offense.rb - About 2 hrs to fix

    Method initialize has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

          def initialize(severity, location, message, cop_name, # rubocop:disable Metrics/ParameterLists
                         status = :uncorrected, corrector = nil)
    Severity: Minor
    Found in lib/rubocop/cop/offense.rb - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status