SpeciesFileGroup/taxonworks

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

Summary

Maintainability
A
2 hrs
Test Coverage

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

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

      csv << %w{
        ID

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 55 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{
        ID
Severity: Major
Found in lib/export/coldp/files/type_material.rb - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status