SpeciesFileGroup/taxonworks

View on GitHub
lib/batch_load/import/descriptors/qualitative_interpreter.rb

Summary

Maintainability
A
1 hr
Test Coverage

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

    def build_descriptors
      i = 0 
      csv.each do |row|
        parse_result = BatchLoad::RowParse.new

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 build_descriptors has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def build_descriptors
      i = 0 
      csv.each do |row|
        parse_result = BatchLoad::RowParse.new

Severity: Minor
Found in lib/batch_load/import/descriptors/qualitative_interpreter.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status