SpeciesFileGroup/taxonworks

View on GitHub
app/models/taxon_name/hierarchy.rb

Summary

Maintainability
A
0 mins
Test Coverage

TODO found
Open

    # TODO: we'd have to ?UNION? in the cached/cached_author_year fields?
Severity: Minor
Found in app/models/taxon_name/hierarchy.rb by fixme

TODO found
Open

# TODO: consider use in refactoring full_name_hash
Severity: Minor
Found in app/models/taxon_name/hierarchy.rb by fixme

unexpected token tRPAREN (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

      s = 'WITH tn_anc AS (' + taxon_name_ancestors_sql(taxon_name_scope: tns.all, ranks: ) + '), otu_limit AS (' + otu_scope.select(:id).to_sql + ')' +
Severity: Minor
Found in app/models/taxon_name/hierarchy.rb by rubocop

This is not actually a cop. It does not inspect anything. It just provides methods to repack Parser's diagnostics/errors into RuboCop's offenses.

unexpected token $end (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

Severity: Minor
Found in app/models/taxon_name/hierarchy.rb by rubocop

This is not actually a cop. It does not inspect anything. It just provides methods to repack Parser's diagnostics/errors into RuboCop's offenses.

unexpected token tCOMMA (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

        taxon_name_ancestors_sql(taxon_name_scope:, ranks:)
Severity: Minor
Found in app/models/taxon_name/hierarchy.rb by rubocop

This is not actually a cop. It does not inspect anything. It just provides methods to repack Parser's diagnostics/errors into RuboCop's offenses.

There are no issues that match your filters.

Category
Status