Showing 388 of 406 total issues

Avoid deeply nested control flow statements.
Open

            if empty then
              label << data
              next if empty == :continue
              break
            end
Severity: Major
Found in lib/rdoc/markup/parser.rb - About 45 mins to fix

    Function performSearch has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

      function performSearch(data, regexps, queries, highlighters, state) {
    Severity: Minor
    Found in lib/rdoc/generator/template/json_index/js/searcher.js - About 35 mins to fix

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

        def documentation_page store, generator, path, req, res
      Severity: Minor
      Found in lib/rdoc/servlet.rb - About 35 mins to fix

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

          def initialize top_level, file_name, content, options, stats
        Severity: Minor
        Found in lib/rdoc/parser.rb - About 35 mins to fix

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

            def initialize(top_level, file_name, content, options, stats)
          Severity: Minor
          Found in lib/rdoc/parser/ruby.rb - About 35 mins to fix

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

              def create_attr container, single, name, rw, comment # :nodoc:
            Severity: Minor
            Found in lib/rdoc/parser/ruby.rb - About 35 mins to fix

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

                def initialize server, stores, cache, mount_path = nil, extra_doc_dirs = []
              Severity: Minor
              Found in lib/rdoc/servlet.rb - About 35 mins to fix

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

                  def initialize(text, old_name, new_name, comment, singleton = false)
                Severity: Minor
                Found in lib/rdoc/code_object/alias.rb - About 35 mins to fix

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

                    def parse_meta_method_params container, single, meth, tk, comment # :nodoc:
                  Severity: Minor
                  Found in lib/rdoc/parser/ruby.rb - About 35 mins to fix

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

                      def find_body class_name, meth_name, meth_obj, file_content, quiet = false
                    Severity: Minor
                    Found in lib/rdoc/parser/c.rb - About 35 mins to fix

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

                        def handle_class_module(var_name, type, class_name, parent, in_module)
                      Severity: Minor
                      Found in lib/rdoc/parser/c.rb - About 35 mins to fix

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

                          def class_document name, found, klasses, includes, extends
                        Severity: Minor
                        Found in lib/rdoc/ri/driver.rb - About 35 mins to fix

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

                            def initialize(text, name, rw, comment, singleton = false)
                          Severity: Minor
                          Found in lib/rdoc/code_object/attr.rb - About 35 mins to fix

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

                              def complete_klass name, klass, selector, method, completions # :nodoc:
                            Severity: Minor
                            Found in lib/rdoc/ri/driver.rb - About 35 mins to fix

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

                                def self.each system = true, site = true, home = true, gems = :latest, *extra_dirs # :yields: directory, type
                              Severity: Minor
                              Found in lib/rdoc/ri/paths.rb - About 35 mins to fix

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

                                  def add_alias(var_name, class_obj, old_name, new_name, comment)
                                Severity: Minor
                                Found in lib/rdoc/parser/c.rb - About 35 mins to fix

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

                                    def initialize top_level, file_name, content, options, stats
                                  Severity: Minor
                                  Found in lib/rdoc/parser/c.rb - About 35 mins to fix

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

                                      def self.raw_path(system, site, home, gems, *extra_dirs)
                                    Severity: Minor
                                    Found in lib/rdoc/ri/paths.rb - About 35 mins to fix

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

                                        def initialize(top_level, file_name, content, options, stats)
                                      Severity: Minor
                                      Found in lib/rdoc/parser/simple.rb - About 35 mins to fix

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

                                          def self.path(system = true, site = true, home = true, gems = :latest, *extra_dirs)
                                        Severity: Minor
                                        Found in lib/rdoc/ri/paths.rb - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language