qbeon/webwire-go

View on GitHub
failMsg.go

Summary

Maintainability
A
3 hrs
Test Coverage

Method server.failMsg has 84 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func (srv *server) failMsg(
    con *connection,
    msg *message.Message,
    reqErr error,
) {
Severity: Major
Found in failMsg.go - About 2 hrs to fix

    Method server.failMsg has 8 return statements (exceeds 4 allowed).
    Open

    func (srv *server) failMsg(
        con *connection,
        msg *message.Message,
        reqErr error,
    ) {
    Severity: Major
    Found in failMsg.go - About 50 mins to fix

      There are no issues that match your filters.

      Category
      Status