lib/tasks/retention_instructions.rake
Complex method namespace(retention_instructions)::task#backfill (29.4) Open
Open
task :backfill, [:batch_size, :limit] => :environment do |_, args|
args.with_defaults(batch_size: 1000, limit: nil)
batch_size = args[:batch_size].to_i
limit = args[:limit]&.to_i
- 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
Complex method namespace#process_labware (27.8) Open
Open
def process_labware(labware, saved_count)
retention_instruction = find_retention_instruction_key_for_value(
labware.custom_metadatum_collection.metadata['retention_instruction']
)
- 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