opus-codium/puffy

View on GitHub
lib/core_ext.rb

Summary

Maintainability
A
1 hr
Test Coverage
A
97%

Showing 2 of 2 total issues

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

if value.respond_to?(:expand)
value.expand.each do |v|
@expand_res += orig.map { |hash| hash.merge(key => v) }
end
else
Severity: Minor
Found in lib/core_ext.rb and 1 other location - About 30 mins to fix
lib/core_ext.rb on lines 35..41

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

if value.respond_to?(:expand)
value.expand.each do |v|
@expand_res += orig.map { |hash| hash.merge(key => v) }
end
else
Severity: Minor
Found in lib/core_ext.rb and 1 other location - About 30 mins to fix
lib/core_ext.rb on lines 49..55

There are no issues that match your filters.

Category
Status