SwordElucidator/American-parliamentary-debate-society

View on GitHub
app/controllers/home_controller.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Method has too many lines. [57/30]
Open

  def index
    # Stores the saved updates
    content = Content.last
    @content = content
    data = params[:content]
Severity: Minor
Found in app/controllers/home_controller.rb by rubocop

This cop checks if the length of a method exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable.

Method index has 57 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def index
    # Stores the saved updates
    content = Content.last
    @content = content
    data = params[:content]
Severity: Major
Found in app/controllers/home_controller.rb - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status