lazebny/ramda-ruby

View on GitHub
bench/list/all.rb

Summary

Maintainability
A
50 mins
Test Coverage

Showing 1 of 1 total issue

Similar blocks of code found in 3 locations. Consider refactoring.
Open

Benchmark.ips do |x|
x.report('Array#all') { xs.all?(&fn) }
x.report('Ramda.all') { Ramda.all(fn, xs) }
x.report('C Ramda.all') { Ramda.all(fn).call(xs) }
x.report('CA Ramda.all') { Ramda.all.call(fn).call(xs) }
Severity: Major
Found in bench/list/all.rb and 2 other locations - About 50 mins to fix
bench/list/any.rb on lines 8..13
bench/list/map.rb on lines 8..13

There are no issues that match your filters.

Category
Status