anakinj/imagesorter

View on GitHub
lib/imagesorter/option_parser.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Method parse has 57 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def self.parse(argv) # rubocop:disable  Metrics/MethodLength, Metrics/AbcSize
      options = OpenStruct.new(DEFAULT_OPTIONS)

      # rubocop:disable Metrics/BlockLength
      parser = ::OptionParser.new do |opts|
Severity: Major
Found in lib/imagesorter/option_parser.rb - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status