fiedl/your_platform

View on GitHub
app/helpers/icon_helper.rb

Summary

Maintainability
B
5 hrs
Test Coverage

File icon_helper.rb has 378 lines of code (exceeds 250 allowed). Consider refactoring.
Open

module IconHelper

  def icon(icon_key)
    if icon_key.to_s.in? ['beer', 'coffee', 'key', 'lock', 'unlock', 'unlock-alt', 'archive', 'undo', 'history', 'folder-open', 'sort-alpha-asc', 'sort-numeric-asc', 'sort-numeric-desc']
      awesome_icon(icon_key)
Severity: Minor
Found in app/helpers/icon_helper.rb - About 5 hrs to fix

    There are no issues that match your filters.

    Category
    Status