app/helpers/proposals_helper.rb

Summary

Maintainability
A
0 mins
Test Coverage

Line is too long. [101/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits)
Open

    Proposal::RETIRE_OPTIONS.collect { |option| [ t("proposals.retire_options.#{option}"), option ] }
Severity: Minor
Found in app/helpers/proposals_helper.rb by rubocop

Line is too long. [102/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits)
Open

    when 0.1..100 then number_to_percentage(percentage, strip_insignificant_zeros: true, precision: 1)
Severity: Minor
Found in app/helpers/proposals_helper.rb by rubocop

Line is too long. [126/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits)
Open

    when 1..Proposal.votes_needed_for_success then (proposal.total_votes.to_f * 100 / Proposal.votes_needed_for_success).floor
Severity: Minor
Found in app/helpers/proposals_helper.rb by rubocop

There are no issues that match your filters.

Category
Status