unepwcmc/SAPI

View on GitHub
app/services/checklist/timelines_for_taxon_concept.rb

Summary

Maintainability
A
1 hr
Test Coverage

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

  def generate_timelines
    @raw_timelines = {}
    ['I', 'II', 'III'].each do |species_listing_name|
      @raw_timelines[species_listing_name] = Checklist::Timeline.new(
        :taxon_concept_id => @taxon_concept_id,
Severity: Minor
Found in app/services/checklist/timelines_for_taxon_concept.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status