lazebny/ramda-ruby

View on GitHub
bench/type/is.rb

Summary

Maintainability
A
55 mins
Test Coverage

Showing 1 of 1 total issue

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

Benchmark.ips do |x|
x.report('Object#is_a?') { obj.is_a?(xs.sample) }
x.report('Ramda.is') { Ramda.is(xs.sample, obj) }
x.report('C Ramda.is') { Ramda.is(xs.sample).call(obj) }
x.report('CA Ramda.is') { Ramda.is.call(xs.sample).call(obj) }
Severity: Minor
Found in bench/type/is.rb and 1 other location - About 55 mins to fix
bench/string/match.rb on lines 7..12
Category
Status