lib/tasks/benchmark_plate_creation.rake
Complex method namespace(benchmark)::task#plate_creation (22.0) Open
Open
task plate_creation: :environment do
$stdout.puts 'Warming up...'
15.times { PlatePurpose.find_by(name: 'Stock Plate').create! }
start = Time.zone.now
- 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