sanger/sequencescape

View on GitHub
lib/tasks/support/update_library_types.rake

Summary

Maintainability
Test Coverage
F
8%

Complex method namespace(support)::task#update_library_types (95.7)
Open

  task :update_library_types, %i[batch_id library_type_name] => [:environment] do |_task, args|
    puts('*' * 80)
    puts('TASK STARTING')
    puts('*' * 80)
    start = Time.zone.now

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#print_summary (25.0)
Open

  def print_summary(batch_id, lanes, record_count, elapsed) # rubocop:todo Metrics/AbcSize
    puts('*' * 80)
    puts('TASK COMPLETE')
    puts('*' * 80)
    puts("Batch ID: #{batch_id}")

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

There are no issues that match your filters.

Category
Status