unepwcmc/SAPI

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

Summary

Maintainability
A
1 hr
Test Coverage

Method run_queries has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def run_queries
    # insert taxon names
    sql = <<-SQL
      WITH rows_to_insert AS (
        #{rows_to_insert_sql}
Severity: Minor
Found in lib/tasks/elibrary/non_cites_taxa_importer.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status