qbeon/webwire-go

View on GitHub
handleSessionRestore.go

Summary

Maintainability
A
2 hrs
Test Coverage

Method server.handleSessionRestore has 73 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func (srv *server) handleSessionRestore(
    con *connection,
    msg *message.Message,
) {
    finalize := func() {
Severity: Minor
Found in handleSessionRestore.go - About 1 hr to fix

    Method server.handleSessionRestore has 5 return statements (exceeds 4 allowed).
    Open

    func (srv *server) handleSessionRestore(
        con *connection,
        msg *message.Message,
    ) {
        finalize := func() {
    Severity: Major
    Found in handleSessionRestore.go - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status