gitlabhq/gitlabhq

View on GitHub
app/workers/irker_worker.rb

Summary

Maintainability
A
2 hrs
Test Coverage

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

          def send_branch_updates(push_data, project, repo_name, committer, branch)
        Severity: Minor
        Found in app/workers/irker_worker.rb - About 35 mins to fix

          There are no issues that match your filters.

          Category
          Status