crowdAI/crowdai

View on GitHub
app/helpers/leaderboard_helper.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method ranking_change_helper has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def ranking_change_helper(entry)
    if entry.previous_row_num == 0 || entry.previous_row_num == entry.row_num
      output =  "<td class='change'>" +
                    image_tag(
                      "icon-change-none.csv",
Severity: Minor
Found in app/helpers/leaderboard_helper.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status