gitlabhq/gitlabhq

View on GitHub

Showing 2,020 of 2,950 total issues

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

    def self.from_cache(proxyable_class_name, proxyable_id, method, path, params)
Severity: Minor
Found in app/services/prometheus/proxy_service.rb - About 35 mins to fix

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

      def change_status(noteable, project, author, status, source = nil)
    Severity: Minor
    Found in app/services/system_note_service.rb - About 35 mins to fix

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

          def merge_request_status_email(recipient_id, merge_request_id, status, updated_by_user_id, reason = nil)
      Severity: Minor
      Found in app/mailers/emails/merge_requests.rb - About 35 mins to fix

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

            def changed_milestone_merge_request_email(recipient_id, merge_request_id, milestone, updated_by_user_id, reason = nil)
        Severity: Minor
        Found in app/mailers/emails/merge_requests.rb - About 35 mins to fix

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

              def issue_status_changed_email(recipient_id, issue_id, status, updated_by_user_id, reason = nil)
          Severity: Minor
          Found in app/mailers/emails/issues.rb - About 35 mins to fix

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

              def perform(project_id, channels, colors, push_data, settings)
            Severity: Minor
            Found in app/workers/irker_worker.rb - About 35 mins to fix

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

                def process_commit_message(project, commit, user, author, default = false)
              Severity: Minor
              Found in app/workers/process_commit_worker.rb - About 35 mins to fix

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

                  def close_issues(project, user, author, commit, issues)
                Severity: Minor
                Found in app/workers/process_commit_worker.rb - About 35 mins to fix

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

                      def reassigned_issue_email(recipient_id, issue_id, previous_assignee_ids, updated_by_user_id, reason = nil)
                  Severity: Minor
                  Found in app/mailers/emails/issues.rb - About 35 mins to fix

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

                        def relabeled_issue_email(recipient_id, issue_id, label_names, updated_by_user_id, reason = nil)
                    Severity: Minor
                    Found in app/mailers/emails/issues.rb - About 35 mins to fix

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

                        def perform(project_id, user_id, ref, source, params = {})
                      Severity: Minor
                      Found in app/workers/create_pipeline_worker.rb - About 35 mins to fix

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

                          def drop_build(type, build, status, timeout, reason)
                        Severity: Minor
                        Found in app/workers/stuck_ci_jobs_worker.rb - About 35 mins to fix

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

                            def perform(project_id, user_id, oldrev, newrev, ref)
                          Severity: Minor
                          Found in app/workers/update_merge_requests_worker.rb - About 35 mins to fix

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

                                def relabeled_merge_request_email(recipient_id, merge_request_id, label_names, updated_by_user_id, reason = nil)
                            Severity: Minor
                            Found in app/mailers/emails/merge_requests.rb - About 35 mins to fix

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

                                  def issue_moved_email(recipient, issue, new_issue, updated_by_user, reason = nil)
                              Severity: Minor
                              Found in app/mailers/emails/issues.rb - About 35 mins to fix

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

                                    def reassigned_merge_request_email(recipient_id, merge_request_id, previous_assignee_ids, updated_by_user_id, reason = nil)
                                Severity: Minor
                                Found in app/mailers/emails/merge_requests.rb - About 35 mins to fix

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

                                      def changed_milestone_issue_email(recipient_id, issue_id, milestone, updated_by_user_id, reason = nil)
                                  Severity: Minor
                                  Found in app/mailers/emails/issues.rb - About 35 mins to fix

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

                                          def perform(table, copy_from, copy_to, start_id, end_id)
                                    Severity: Minor
                                    Found in lib/gitlab/background_migration/copy_column.rb - About 35 mins to fix

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

                                            def make_cluster_options(cluster_name, cluster_size, machine_type, legacy_abac, enable_addons)
                                      Severity: Minor
                                      Found in lib/google_api/cloud_platform/client.rb - About 35 mins to fix

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

                                              def create_a_new_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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language