SpeciesFileGroup/taxonworks

View on GitHub
app/helpers/otus_helper.rb

Summary

Maintainability
A
0 mins
Test Coverage

TODO found
Open

  # TODO: cleanup
Severity: Minor
Found in app/helpers/otus_helper.rb by fixme

TODO found
Open

       i['coordinates'] = gj['coordinates'] # was 'coordinates' TODO: might not work
Severity: Minor
Found in app/helpers/otus_helper.rb by fixme

TODO found
Open

          above.push [t.cached, t.otus.to_a] # TODO: to_a vs. pluck
Severity: Minor
Found in app/helpers/otus_helper.rb by fixme

TODO found
Open

  # TODO:
Severity: Minor
Found in app/helpers/otus_helper.rb by fixme

TODO found
Open

      # TODO: extend with synced check
Severity: Minor
Found in app/helpers/otus_helper.rb by fixme

TODO found
Open

       i['geometries'] = gj['geometries'] # was 'coordinates' TODO: might not work
Severity: Minor
Found in app/helpers/otus_helper.rb by fixme

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

      if a = CachedMap.where(project_id: sessions_current_project_id).where(otu_id: otu.id, cached_map_type:  )
Severity: Minor
Found in app/helpers/otus_helper.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/helpers/otus_helper.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