code-lever/brigade-monitor-gem

View on GitHub
lib/brigade/monitor/fetcher.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Method host_info has 42 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      def host_info(summary, version)
        sum = summary.body[0]
        ver = version.body[0]
        {
          host: @name,
Severity: Minor
Found in lib/brigade/monitor/fetcher.rb - About 1 hr to fix

    Method pool_info has 32 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

          def pool_info(pool)
            {
              index: pool['POOL'],
              url: pool['URL'],
              status: pool['Status'],
    Severity: Minor
    Found in lib/brigade/monitor/fetcher.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status