tomlobato/dns_one

View on GitHub
util/benchmark-cache_store.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method test_sorted has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

def test_sorted(max_idx)
  puts "preparing..."
  arr_orig = (0..max_idx).to_a
  arr_1 = arr_orig.dup
  new_elm = arr_1.delete(arr_1.sample)
Severity: Minor
Found in util/benchmark-cache_store.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status