theforeman/foreman

View on GitHub
lib/cleanup_helper.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method clean_puppet has 49 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def clean_puppet
      if Foreman::Plugin.find(:foreman_puppet)
        warn('You have the Puppet plugin installed, uninstall it first to purge puppet data')
        return false
      end
Severity: Minor
Found in lib/cleanup_helper.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status