remote/siri_envelope.go

Summary

Maintainability
A
45 mins
Test Coverage

Function NewAutodetectSIRIEnvelope has 7 return statements (exceeds 4 allowed).
Open

func NewAutodetectSIRIEnvelope(body io.Reader) (*SIRIEnvelope, error) {
    // Attempt to read the body
    content, err := io.ReadAll(body)
    if err != nil {
        return nil, err
Severity: Major
Found in remote/siri_envelope.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status