OpenC3/cosmos

View on GitHub
openc3-cosmos-cmd-tlm-api/app/controllers/api_controller.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method api has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def api
    OpenC3.in_span('jsonrpc_api') do |span|
      req = Rack::Request.new(request.env)

      if request.post?
Severity: Minor
Found in openc3-cosmos-cmd-tlm-api/app/controllers/api_controller.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status