SpeciesFileGroup/taxonworks

View on GitHub
app/models/concerns/shared/maps.rb

Summary

Maintainability
A
0 mins
Test Coverage

TODO found
Open

    # TODO: deprecate for total rebuild approach (likely)
Severity: Minor
Found in app/models/concerns/shared/maps.rb by fixme

TODO found
Open

    # TODO: re-enable once scoping issues are determined
Severity: Minor
Found in app/models/concerns/shared/maps.rb by fixme

TODO found
Open

    # TODO: use JOINS not IN
Severity: Minor
Found in app/models/concerns/shared/maps.rb by fixme

TODO found
Open

# TODO:
Severity: Minor
Found in app/models/concerns/shared/maps.rb by fixme

TODO found
Open

        #  TODO: do we still register this?
Severity: Minor
Found in app/models/concerns/shared/maps.rb by fixme

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

                  project_id: stubs[:origin_object].project_id,
Severity: Minor
Found in app/models/concerns/shared/maps.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.

cannot assign to a keyword (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

        return ::Queries::Otu::Filter.new(otu_id:, coordinatify: true, ancestrify: true, project_id: ).all
Severity: Minor
Found in app/models/concerns/shared/maps.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

                )
Severity: Minor
Found in app/models/concerns/shared/maps.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

        return ::Queries::Otu::Filter.new(otu_id: otu_ids, coordinatify: true, ancestrify: true, project_id: ).all
Severity: Minor
Found in app/models/concerns/shared/maps.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 tASSOC (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

          rescue ActiveRecord::RecordInvalid => e
Severity: Minor
Found in app/models/concerns/shared/maps.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

        return ::Queries::Otu::Filter.new(otu_id:, coordinatify: true, ancestrify: true, project_id: ).all
Severity: Minor
Found in app/models/concerns/shared/maps.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

                  otu_id:,
Severity: Minor
Found in app/models/concerns/shared/maps.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

                ).all
Severity: Minor
Found in app/models/concerns/shared/maps.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.

cannot assign to a keyword (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

        return ::Queries::Otu::Filter.new(otu_id:, coordinatify: true, ancestrify: true, project_id: ).all
Severity: Minor
Found in app/models/concerns/shared/maps.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

                  otu_id:,
Severity: Minor
Found in app/models/concerns/shared/maps.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

            )
Severity: Minor
Found in app/models/concerns/shared/maps.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