test/parallel_test.rb
Assignment Branch Condition size for test_distribute is too high. [19.1/15] Open
Open
def test_distribute
declare_forks
base = tmpfile('base')
assert(!File.exist?("#{base}-3"))
- Read upRead up
- Create a ticketCreate a ticket
- 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