unepwcmc/SAPI

View on GitHub
lib/tasks/elibrary/citations_cop_importer.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Method run_final_queries has 68 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def run_final_queries
    # need to duplicate CoP documents, which are linked to more than one proposal
    # that applies to old documents
    sql = <<-SQL
      WITH proposal_details AS (
Severity: Major
Found in lib/tasks/elibrary/citations_cop_importer.rb - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status