ashleyconnor/bitmapped

View on GitHub

Showing 3 of 3 total issues

Method command has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def command(input)
      begin
        case input.shift
        when "I"
          Commands::InitialiserCommand.new.process_command(self, input)
Severity: Minor
Found in lib/bitmapped/bitmap.rb - About 1 hr to fix

    Method vertical_command has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            def vertical_command(bitmap, column, x, y, color)
    Severity: Minor
    Found in lib/bitmapped/commands/vertical_line_command.rb - About 35 mins to fix

      Method horizontal_command has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

              def horizontal_command(bitmap, x, y, row, color)
      Severity: Minor
      Found in lib/bitmapped/commands/horizontal_line_command.rb - About 35 mins to fix
        Severity
        Category
        Status
        Source
        Language