Showing 1 of 6 total issues
Assignment Branch Condition size for to_ynab_transaction is too high. [16.12/15] Open
Open
def to_ynab_transaction(transaction)
return nil if date(transaction).nil? || date(transaction) > Date.today
::TransactionCreator.call(
account_id: account_id,
date: date(transaction),
- 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