gitlabhq/gitlabhq

View on GitHub
app/helpers/application_settings_helper.rb

Summary

Maintainability
C
1 day
Test Coverage

Method visible_attributes has 136 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def visible_attributes
    [
      :admin_notification_email,
      :after_sign_out_path,
      :after_sign_up_text,
Severity: Major
Found in app/helpers/application_settings_helper.rb - About 5 hrs to fix

    File application_settings_helper.rb has 284 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    module ApplicationSettingsHelper
      extend self
    
      delegate  :allow_signup?,
                :gravatar_enabled?,
    Severity: Minor
    Found in app/helpers/application_settings_helper.rb - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status