sensu-plugins/sensu-plugins-xmpp

View on GitHub

Showing 1 of 1 total issue

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
    Severity
    Category
    Status
    Source
    Language