jbussdieker/ruby-archive-ar

View on GitHub

Showing 2 of 2 total issues

Method run_test has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

def run_test(cmd, md5file = nil)
  pass = true
  puts "Testing `ar #{cmd}`"

  # Test original
Severity: Minor
Found in ext/integration.rb - About 1 hr to fix

    Avoid deeply nested control flow statements.
    Open

      if options[:verbose]
        Archive::Ar.traverse(ARGV[0]) do |header, data|
          puts "x - #{header[:name]}"
          Archive::Ar::Format::BSD.extract_file(Dir.pwd, header, data)
        end
    Severity: Major
    Found in bin/ar.rb - About 45 mins to fix
      Severity
      Category
      Status
      Source
      Language