gitlabhq/gitlabhq

View on GitHub

Showing 1,499 of 2,147 total issues

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 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 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, chans, colors, push_data, settings)
        Severity: Minor
        Found in app/workers/irker_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 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 send_commits has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                def send_commits(push_data, project, repo_name, committer, branch)
              Severity: Minor
              Found in app/workers/irker_worker.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(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 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 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 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 perform has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                                def perform(model, attribute_from, attribute_to, start_id, stop_id)
                          Severity: Minor
                          Found in lib/gitlab/background_migration/digest_column.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 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 track_query has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                      def track_query(raw_query, bindings, backtrace, start, finish)
                                Severity: Minor
                                Found in lib/gitlab/performance_bar/peek_query_tracker.rb - About 35 mins to fix

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

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

                                    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_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/git/wiki.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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language