codetriage/codetriage

View on GitHub
app/models/mail_builder/grouped_issues_docs.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method initialize has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def initialize(user_id:, assignment_ids: [], read_doc_ids: [], write_doc_ids: [], random_seed: Random.new_seed)
      @active            = false
      @sub_hashes        = {}
      @repo_id_to_sub    = {}
      @doc_comments_hash = {}
Severity: Minor
Found in app/models/mail_builder/grouped_issues_docs.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status