BAN-AI-Communications/go-hdlc

View on GitHub
decoder.go

Summary

Maintainability
A
40 mins
Test Coverage

Method Decoder.ReadFrame has 6 return statements (exceeds 4 allowed).
Open

func (fd *Decoder) ReadFrame() (*Frame, error) {
    var err error
    frame := Frame{}
    if !fd.inSync {
        if err := fd.resync(); err != nil {
Severity: Major
Found in decoder.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status