helpyio/helpy

View on GitHub
app/helpers/admin_helper.rb

Summary

Maintainability
A
3 hrs
Test Coverage

File admin_helper.rb has 257 lines of code (exceeds 250 allowed). Consider refactoring.
Open

module AdminHelper

  include StatsHelper
  def assigned_to(topic)
    if topic.assigned_user.present?
Severity: Minor
Found in app/helpers/admin_helper.rb - About 2 hrs to fix

    Method navbar_expanding_link has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

      def navbar_expanding_link(url, icon, text, target="", remote=false)
    Severity: Minor
    Found in app/helpers/admin_helper.rb - About 35 mins to fix

      Method upper_nav_item has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

        def upper_nav_item(label, path, controllers, actions, icon="")
      Severity: Minor
      Found in app/helpers/admin_helper.rb - About 35 mins to fix

        TODO found
        Open

                # TODO THIS IS A HACK because there appears to be no difference in language files for chinese simple and traditional
        Severity: Minor
        Found in app/helpers/admin_helper.rb by fixme

        HACK found
        Open

                # TODO THIS IS A HACK because there appears to be no difference in language files for chinese simple and traditional
        Severity: Minor
        Found in app/helpers/admin_helper.rb by fixme

        There are no issues that match your filters.

        Category
        Status