mateuszdw/qaror

View on GitHub
lib/rack/raw_upload.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method convert_and_pass_on has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def convert_and_pass_on(env)
      if env['rack.input'].kind_of?(Tempfile)
        tempfile = env['rack.input']
      else
        tempfile = Tempfile.new('raw-upload.')
Severity: Minor
Found in lib/rack/raw_upload.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status