hugopl/reviewit

View on GitHub
app/helpers/application_helper.rb

Summary

Maintainability
B
4 hrs
Test Coverage

Method valid_emoji? has 113 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def valid_emoji?(emoji)
    @emoji ||= %w(+1 -1 100 109 1234 8ball abcd abc ab accept aerial_tramway airplane alarm_clock
                  alien ambulance anchor angel anger angry ant a apple aquarius aries
                  arrow_backward arrow_double_down arrow_double_up arrow_down arrow_down_small
                  arrow_forward arrow_heading_down arrow_heading_up arrow_left arrow_lower_left
Severity: Major
Found in app/helpers/application_helper.rb - About 4 hrs to fix

    There are no issues that match your filters.

    Category
    Status