actionview/lib/action_view/helpers/form_options_helper.rb

Summary

Maintainability
C
1 day
Test Coverage

Method grouped_collection_select has 9 arguments (exceeds 4 allowed). Consider refactoring.
Open

      def grouped_collection_select(object, method, collection, group_method, group_label_method, option_key_method, option_value_method, options = {}, html_options = {})
Severity: Major
Found in actionview/lib/action_view/helpers/form_options_helper.rb - About 1 hr to fix

    Method collection_radio_buttons has 8 arguments (exceeds 4 allowed). Consider refactoring.
    Open

          def collection_radio_buttons(object, method, collection, value_method, text_method, options = {}, html_options = {}, &block)
    Severity: Major
    Found in actionview/lib/action_view/helpers/form_options_helper.rb - About 1 hr to fix

      Method grouped_collection_select has 8 arguments (exceeds 4 allowed). Consider refactoring.
      Open

            def grouped_collection_select(method, collection, group_method, group_label_method, option_key_method, option_value_method, options = {}, html_options = {})
      Severity: Major
      Found in actionview/lib/action_view/helpers/form_options_helper.rb - About 1 hr to fix

        Method collection_check_boxes has 8 arguments (exceeds 4 allowed). Consider refactoring.
        Open

              def collection_check_boxes(object, method, collection, value_method, text_method, options = {}, html_options = {}, &block)
        Severity: Major
        Found in actionview/lib/action_view/helpers/form_options_helper.rb - About 1 hr to fix

          Method collection_radio_buttons has 7 arguments (exceeds 4 allowed). Consider refactoring.
          Open

                def collection_radio_buttons(method, collection, value_method, text_method, options = {}, html_options = {}, &block)
          Severity: Major
          Found in actionview/lib/action_view/helpers/form_options_helper.rb - About 50 mins to fix

            Method collection_select has 7 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                  def collection_select(object, method, collection, value_method, text_method, options = {}, html_options = {})
            Severity: Major
            Found in actionview/lib/action_view/helpers/form_options_helper.rb - About 50 mins to fix

              Method collection_check_boxes has 7 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                    def collection_check_boxes(method, collection, value_method, text_method, options = {}, html_options = {}, &block)
              Severity: Major
              Found in actionview/lib/action_view/helpers/form_options_helper.rb - About 50 mins to fix

                Method option_groups_from_collection_for_select has 6 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                      def option_groups_from_collection_for_select(collection, group_method, group_label_method, option_key_method, option_value_method, selected_key = nil)
                Severity: Minor
                Found in actionview/lib/action_view/helpers/form_options_helper.rb - About 45 mins to fix

                  Method select has 6 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                        def select(object, method, choices = nil, options = {}, html_options = {}, &block)
                  Severity: Minor
                  Found in actionview/lib/action_view/helpers/form_options_helper.rb - About 45 mins to fix

                    Method collection_select has 6 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                          def collection_select(method, collection, value_method, text_method, options = {}, html_options = {})
                    Severity: Minor
                    Found in actionview/lib/action_view/helpers/form_options_helper.rb - About 45 mins to fix

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

                            def select(method, choices = nil, options = {}, html_options = {}, &block)
                      Severity: Minor
                      Found in actionview/lib/action_view/helpers/form_options_helper.rb - About 35 mins to fix

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

                              def weekday_select(object, method, options = {}, html_options = {}, &block)
                        Severity: Minor
                        Found in actionview/lib/action_view/helpers/form_options_helper.rb - About 35 mins to fix

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

                                def time_zone_select(object, method, priority_zones = nil, options = {}, html_options = {})
                          Severity: Minor
                          Found in actionview/lib/action_view/helpers/form_options_helper.rb - About 35 mins to fix

                            There are no issues that match your filters.

                            Category
                            Status