lib/tasks/devour.rake
Complex method namespace(devour)::task#create_config (44.1) Open
Open
task create_config: :environment do
# We prettify are json to make it both easier to read and diff
json_formatting = { indent: ' ', object_nl: "\n", space: ' ', array_nl: "\n" }
config =
- Read upRead up
- Exclude checks
Flog calculates the ABC score for methods. The ABC score is based on assignments, branches (method calls), and conditions.
You can read more about ABC metrics or the flog tool