lazebny/ramda-ruby

View on GitHub
bench/list/any.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#any') { xs.any?(&fn) }
x.report('Ramda.any') { Ramda.any(fn, xs) }
x.report('C Ramda.any') { Ramda.any(fn).call(xs) }
x.report('CA Ramda.any') { Ramda.any.call(fn).call(xs) }
Severity: Major
Found in bench/list/any.rb and 2 other locations - About 50 mins to fix
bench/list/all.rb on lines 8..13
bench/list/map.rb on lines 8..13

There are no issues that match your filters.

Category
Status