unepwcmc/SAPI

View on GitHub
app/models/nomenclature_change/constructor_helpers.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method _build_document_reassignment has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def _build_document_reassignment(document_citation, input, outputs)
    reassignment = input.document_citation_reassignment_class.new(
      reassignable_type: 'DocumentCitation',
      reassignable_id: document_citation.id
    )
Severity: Minor
Found in app/models/nomenclature_change/constructor_helpers.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status