sensu-plugins/sensu-plugins-xmpp

View on GitHub
bin/handler-xmpp.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method handle has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def handle
    xmpp_jid = settings['xmpp']['jid']
    xmpp_password = settings['xmpp']['password']
    xmpp_target = settings['xmpp']['target']
    xmpp_target_type = settings['xmpp']['target_type']
Severity: Minor
Found in bin/handler-xmpp.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status