cloudamatic/mu

View on GitHub
cookbooks/firewall/libraries/provider_firewall_firewalld.rb

Summary

Maintainability
A
0 mins
Test Coverage

Assignment Branch Condition size for action_restart is too high. [84.76/75]
Open

    def action_restart
      return if disabled?(new_resource)

      # ensure it's initialized
      new_resource.rules({}) unless new_resource.rules

This cop checks that the ABC size of methods is not higher than the configured maximum. The ABC size is based on assignments, branches (method calls), and conditions. See http://c2.com/cgi/wiki?AbcMetric

There are no issues that match your filters.

Category
Status