autolab/Autolab

View on GitHub
app/controllers/schedulers_controller.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method visual_run has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def visual_run
    action = Scheduler.find(params[:scheduler_id])
    # https://stackoverflow.com/a/1076445
    read, write = IO.pipe
    @log = "Executing #{Rails.root.join(action.action)}\n"
Severity: Minor
Found in app/controllers/schedulers_controller.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status