arkency/rails_event_store

View on GitHub
contrib/ruby_event_store-flipper/lib/ruby_event_store/flipper.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Method build_domain_event has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      def build_domain_event(common_payload, operation, payload)
        case operation
        when :add
          event_klass("ToggleAdded").new(data: common_payload)
        when :remove
Severity: Minor
Found in contrib/ruby_event_store-flipper/lib/ruby_event_store/flipper.rb - About 1 hr to fix

    Method call has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

          def call(_name, _start, _finish, _id, payload)
    Severity: Minor
    Found in contrib/ruby_event_store-flipper/lib/ruby_event_store/flipper.rb - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status