OpenC3/cosmos

View on GitHub
openc3-cosmos-cmd-tlm-api/app/models/streaming_object.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method initialize has 46 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def initialize(key, start_time_nsec, end_time_nsec, item_key: nil, scope:, token: nil)
    key = key.upcase
    @key = key
    @item_key = item_key
    key_split = key.split('__')
Severity: Minor
Found in openc3-cosmos-cmd-tlm-api/app/models/streaming_object.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status