OpenC3/cosmos

View on GitHub
openc3/lib/openc3/utilities/cosmos_rails_formatter.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method call has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def call(log, _appender = nil)
      #<SemanticLogger::Log:0x0000ffffa5002b20 @level=:info, @thread_name="puma srv tp 001", @name="MicroservicesController",
      # @time=2024-09-22 18:04:27.955490052 +0000, @tags=[], @named_tags={}, @level_index=2, @message="Completed #traefik",
      # @payload={:controller=>"MicroservicesController", :action=>"traefik", :format=>"HTML", :method=>"GET",
      # :path=>"/openc3-api/traefik", :status=>200, :view_runtime=>0.41, :allocations=>1438, :status_message=>"OK",
Severity: Minor
Found in openc3/lib/openc3/utilities/cosmos_rails_formatter.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status