SpeciesFileGroup/taxonworks

View on GitHub
app/models/protonym.rb

Summary

Maintainability
A
0 mins
Test Coverage

TODO found
Open

    # TODO: figure out where to really put this, likely in one big sort
Severity: Minor
Found in app/models/protonym.rb by fixme

TODO found
Open

  # !! TODO: Should not be possible- fix the incoming data
Severity: Minor
Found in app/models/protonym.rb by fixme

TODO found
Open

    # TODO: consider plants/other codes?
Severity: Minor
Found in app/models/protonym.rb by fixme

TODO found
Open

  # TODO, make back half of this raw SQL
Severity: Minor
Found in app/models/protonym.rb by fixme

TODO found
Open

  # TODO, move to IsData or IsProjectData
Severity: Minor
Found in app/models/protonym.rb by fixme

TODO found
Open

  # TODO: remove
Severity: Minor
Found in app/models/protonym.rb by fixme

TODO found
Open

    # TODO: get SQL based ordering for original_combination_relationships, hard coded
Severity: Minor
Found in app/models/protonym.rb by fixme

TODO found
Open

  # TODO: likley belongs in lib/vendor/biodiversity.rb
Severity: Minor
Found in app/models/protonym.rb by fixme

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

    return { moved:, unmoved:}
Severity: Minor
Found in app/models/protonym.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 tRPAREN (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

  scope :named, -> (name) {where(name:)}
Severity: Minor
Found in app/models/protonym.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/protonym.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 tRPAREN (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

  scope :with_project, -> (project_id) {where(project_id:)}
Severity: Minor
Found in app/models/protonym.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

    Protonym.new(name: 'Root', rank_class: 'NomenclaturalRank', parent_id: nil, project_id:, by:)
Severity: Minor
Found in app/models/protonym.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 tRPAREN (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

    names = ::Queries::TaxonName::Filter.new(collection_object_query:).all
Severity: Minor
Found in app/models/protonym.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