SpeciesFileGroup/taxonworks

View on GitHub
lib/export/coldp/files/description.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method has too many lines. [26/25]
Open

  def self.generate(otus, project_members, reference_csv = nil )
    ::CSV.generate(col_sep: "\t") do |csv|

      csv << %w{ 
        taxonID

This cop checks if the length of a method exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable.

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

  def self.generate(otus, project_members, reference_csv = nil )
    ::CSV.generate(col_sep: "\t") do |csv|

      csv << %w{ 
        taxonID
Severity: Minor
Found in lib/export/coldp/files/description.rb - About 1 hr to fix

    TODO found
    Open

                c.topic_id, # TODO: refence EOL or related unitified topic DOIs
    Severity: Minor
    Found in lib/export/coldp/files/description.rb by fixme

    There are no issues that match your filters.

    Category
    Status