cookbooks/firewall/libraries/provider_firewall_firewalld.rb
Assignment Branch Condition size for action_restart is too high. [84.76/75] Open
Open
def action_restart
return if disabled?(new_resource)
# ensure it's initialized
new_resource.rules({}) unless new_resource.rules
- Read upRead up
- Exclude checks
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