gitlabhq/gitlabhq

View on GitHub

Showing 1,551 of 2,202 total issues

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

  moveIssue(id, fromListId = null, toListId = null, moveBeforeId = null, moveAfterId = null) {
Severity: Minor
Found in app/assets/javascripts/boards/stores/boards_store.js - About 35 mins to fix

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

      moveIssueInList(list, issue, oldIndex, newIndex, idArray) {
    Severity: Minor
    Found in app/assets/javascripts/boards/stores/boards_store.js - About 35 mins to fix

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

          def track_greatest(subject, scope, usage, new_value, init)
      Severity: Minor
      Found in app/models/internal_id.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 = nil, path = nil, limit = 1000, offset = 0)
        Severity: Minor
        Found in app/models/repository.rb - About 35 mins to fix

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

            def edit_fork_button_tag(common_classes, project, label, params, action = 'edit')
          Severity: Minor
          Found in app/helpers/blob_helper.rb - About 35 mins to fix

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

                def calculate_reactive_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 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 create_mention_todos has 5 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                  def create_mention_todos(parent, target, author, note = nil, skip_users = [])
                Severity: Minor
                Found in app/services/todo_service.rb - About 35 mins to fix

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

                    def attributes_for_todo(project, target, author, action, note = nil)
                  Severity: Minor
                  Found in app/services/todo_service.rb - About 35 mins to fix

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

                      def perform(project_id, chans, colors, push_data, settings)
                    Severity: Minor
                    Found in app/workers/irker_worker.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 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 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 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

                              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 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 send_commits_count has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                    def send_commits_count(data, project, repo, committer, branch)
                                  Severity: Minor
                                  Found in app/workers/irker_worker.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 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 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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language