theforeman/foreman

View on GitHub
app/controllers/config_reports_controller.rb

Summary

Maintainability
A
1 hr
Test Coverage

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

  def index
    respond_to do |format|
      format.json do
        reports = resource_base_search_and_page(:host)
        render json: {
Severity: Minor
Found in app/controllers/config_reports_controller.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status