sanger/sequencescape

View on GitHub
app/models/submission/state_machine.rb

Summary

Maintainability
A
1 hr
Test Coverage
A
93%

Method configure_state_machine has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def configure_state_machine # rubocop:todo Metrics/AbcSize, Metrics/MethodLength
    aasm column: :state, whiny_persistence: true do
      state :building, initial: true, exit: :valid_for_leaving_building_state
      state :pending, after_enter: :queue_submission_builder
      state :processing, enter: :process_submission!, exit: :process_callbacks!
Severity: Minor
Found in app/models/submission/state_machine.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status