activestorage/app/controllers/concerns/active_storage/streaming.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method send_blob_byte_range_data has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def send_blob_byte_range_data(blob, range_header, disposition: nil)
      ranges = Rack::Utils.get_byte_ranges(range_header, blob.byte_size)

      return head(:range_not_satisfiable) if ranges.blank? || ranges.all?(&:blank?)

Severity: Minor
Found in activestorage/app/controllers/concerns/active_storage/streaming.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status