twonegatives/attentive_sidekiq

View on GitHub
lib/attentive_sidekiq/web.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method registered has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def self.registered(app)
      app.get("/disappeared-jobs") do
        @disappeared_jobs = AttentiveSidekiq::Disappeared.jobs
        erb File.read(File.join(VIEW_PATH, 'disappeared-list.erb'))
      end
Severity: Minor
Found in lib/attentive_sidekiq/web.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status