loomio/loomio

View on GitHub
app/models/permitted_params.rb

Summary

Maintainability
A
3 hrs
Test Coverage

Method poll_attributes has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def poll_attributes
    [ 
      :agree_target,
      :title,
      :details,
Severity: Minor
Found in app/models/permitted_params.rb - About 1 hr to fix

    Method poll_template_attributes has 42 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      def poll_template_attributes
        [
          :key,
          :group_id,
          :position,
    Severity: Minor
    Found in app/models/permitted_params.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status