ManageIQ/manageiq-smartstate

View on GitHub
lib/fs/ext3/block_pointers_path.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method block_to_path has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def block_to_path(block)
      raise ArgumentError, "block must be greater than or equal to 0" if block < 0
      @path = [nil, nil, nil, nil]

      if block < DIRECT_SIZE
Severity: Minor
Found in lib/fs/ext3/block_pointers_path.rb - About 1 hr to fix

There are no issues that match your filters.

Category
Status