holderdeord/hdo-site

View on GitHub
lib/hdo/instrumentation.rb

Summary

Maintainability
A
1 hr
Test Coverage

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

    def self.init
      ActiveSupport::Notifications.subscribe 'process_action.action_controller' do |*args|
        event      = ActiveSupport::Notifications::Event.new(*args)
        controller = event.payload[:controller]
        action     = event.payload[:action]
Severity: Minor
Found in lib/hdo/instrumentation.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status