lazebny/ramda-ruby

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

There are no issues that match your filters.

Category
Status