opengovernment/askthem

View on GitHub
app/models/subject.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Method all has 56 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def self.all
    [ # In both OpenStates and VoteSmart:     # Additional VoteSmart subjects:
      'Agriculture and Food',
      'Business and Consumers',
      'Civil Liberties and Civil Rights',     # Women
Severity: Major
Found in app/models/subject.rb - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status