OpServ-Monitoring/opserv-backend

View on GitHub
app/server/restful_api/general/endpoint.py

Summary

Maintainability
A
3 hrs
Test Coverage

Endpoint has 27 functions (exceeds 20 allowed). Consider refactoring.
Open

class Endpoint(metaclass=ABCMeta):
    _outbound_gate = DefaultDataGate

    _request_holder = None
    _response_holder = None
Severity: Minor
Found in app/server/restful_api/general/endpoint.py - About 3 hrs to fix

    Avoid too many return statements within this function.
    Open

                return False
    Severity: Major
    Found in app/server/restful_api/general/endpoint.py - About 30 mins to fix

      There are no issues that match your filters.

      Category
      Status