cre-ne-jp/log-archiver

View on GitHub
app/helpers/fontawesome_helper.rb

Summary

Maintainability
A
0 mins
Test Coverage

Showing 1 of 1 total issue

Cyclomatic complexity for fa_icon is too high. [9/6]
Open

def fa_icon(names = 'flag', original_options = {})
options = original_options.deep_dup
names = names.is_a?(Array) ? names : names.to_s.split(/\s+/)
style =
case(options.delete(:style))
Severity: Minor
Found in app/helpers/fontawesome_helper.rb by rubocop

There are no issues that match your filters.

Category
Status