gitlabhq/gitlabhq

View on GitHub

Showing 2,020 of 2,950 total issues

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

      def update_file_api_req(file_path, branch_name, project_path_or_id, commit_message, content)
Severity: Minor
Found in qa/qa/tools/generate_perf_testdata.rb - About 35 mins to fix

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

                def initialize(arel_table, order_list, values, operators, before_or_after)
    Severity: Minor
    Found in lib/gitlab/graphql/pagination/keyset/conditions/base_condition.rb - About 35 mins to fix

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

            def initialize(text, type, index, old_pos, new_pos, parent_file: nil, line_code: nil, rich_text: nil)
      Severity: Minor
      Found in lib/gitlab/diff/line.rb - About 35 mins to fix

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

              def initialize(repo, name, namespace, current_user, session_data)
        Severity: Minor
        Found in lib/gitlab/bitbucket_import/project_creator.rb - About 35 mins to fix

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

                  def call(worker_class_or_name, job, _queue, _redis_pool, &block)
          Severity: Minor
          Found in lib/gitlab/sidekiq_middleware/worker_context/client.rb - About 35 mins to fix

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

                def self.call(storage, service, rpc, request, remote_storage: nil, timeout: default_timeout, &block)
            Severity: Minor
            Found in lib/gitlab/gitaly_client.rb - About 35 mins to fix

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

                      def fk_from_spec(from_table, to_table, from_column, to_column, cascade_delete)

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

                      def update_page(page_path, title, format, content, commit_details)
                Severity: Minor
                Found in lib/gitlab/gitaly_client/wiki_service.rb - About 35 mins to fix

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

                          def update_foreign_keys(from_table, to_table, from_column, to_column, cascade_delete = nil)

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

                          def self.add_call_details(duration, method, path, params, body)
                    Severity: Minor
                    Found in lib/gitlab/instrumentation/elasticsearch_transport.rb - About 35 mins to fix

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

                            def initialize(repo, name, namespace, current_user, session_data, type: 'github')
                      Severity: Minor
                      Found in lib/gitlab/legacy_github_import/project_creator.rb - About 35 mins to fix

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

                                def perform(start_id, stop_id, source_table, partitioned_table, source_column)

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

                                def perform_request(method, path, params = {}, body = nil, headers = nil)
                          Severity: Minor
                          Found in lib/gitlab/instrumentation/elasticsearch_transport.rb - About 35 mins to fix

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

                                def initialize(name, title, description, preview, logo = 'illustrations/gitlab_logo.svg')
                            Severity: Minor
                            Found in lib/gitlab/project_template.rb - About 35 mins to fix

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

                                      def call(worker_class, job, queue, _redis_pool, &block)
                              Severity: Minor
                              Found in lib/gitlab/sidekiq_middleware/duplicate_jobs/client.rb - About 35 mins to fix

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

                                      def merge(user, source_sha, target_branch, message, &block)
                                Severity: Minor
                                Found in lib/gitlab/git/repository.rb - About 35 mins to fix

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

                                        def initialize(repo, fb_session, namespace, current_user, user_map = nil)
                                  Severity: Minor
                                  Found in lib/gitlab/fogbugz_import/project_creator.rb - About 35 mins to fix

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

                                            def between(repo, head, base, options = {}, *paths)
                                    Severity: Minor
                                    Found in lib/gitlab/git/diff.rb - About 35 mins to fix

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

                                            def find_commits_by_message(query, ref, path, limit, offset)
                                      Severity: Minor
                                      Found in lib/gitlab/git/repository.rb - About 35 mins to fix

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

                                                def handle_line(action, time, name, marker_start, marker_end)
                                        Severity: Minor
                                        Found in lib/gitlab/ci/trace/section_parser.rb - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language