rauversion/rauversion-ror

View on GitHub
app/helpers/application_helper.rb

Summary

Maintainability
D
2 days
Test Coverage

Method icon_for has 392 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def icon_for(kind)
    case kind
    when :transbank
      <<-HTML
      <svg
Severity: Major
Found in app/helpers/application_helper.rb - About 1 day to fix

    File application_helper.rb has 462 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    module ApplicationHelper
      ActionView::Base.default_form_builder = TailwindFormBuilder
    
      def gettext(text)
        text
    Severity: Minor
    Found in app/helpers/application_helper.rb - About 7 hrs to fix

      There are no issues that match your filters.

      Category
      Status