wconrad/ftpd

View on GitHub
examples/example.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Method option_parser has 49 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def option_parser
      OptionParser.new do |op|
        op.on('-p', '--port N', Integer, 'Bind to a specific port') do |t|
          @port = t
        end
Severity: Minor
Found in examples/example.rb - About 1 hr to fix

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

        def initialize(user, password, account, data_dir, read_only)
    Severity: Minor
    Found in examples/example.rb - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status