sensu-plugins/sensu-plugins-apache

View on GitHub

Showing 1 of 1 total issue

Method run has 46 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def run
    timestamp = Time.now.to_i
    stats = {}
    acquire_mod_status.split("\n").each do |line| # rubocop:disable Metrics/BlockLength
      name, value = line.split(': ')
Severity: Minor
Found in bin/metrics-apache-graphite.rb - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language