cambridge-healthcare/hstruct

View on GitHub
benchmarks/benchmark.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method benchmark has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

def benchmark
  ->(object_builder) {
    Benchmark.ips(ENV.fetch('RUNS', 1).to_i) do |x|
      hash = {
        :foo  => 1,
Severity: Minor
Found in benchmarks/benchmark.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status