cmd/qiloop/main.go

Summary

Maintainability
A
2 hrs
Test Coverage

Function init has 58 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func init() {
    flaggy.SetName("qiloop")
    description := fmt.Sprintf("%s\n\n%s",
        "an utility to explore QiMessaging",
        asciibot.Random())
Severity: Minor
Found in cmd/qiloop/main.go - About 1 hr to fix

    Avoid deeply nested control flow statements.
    Open

        } else if logCommand.Used {
            logger(serverURL, logLevel)
        } else if serverCommand.Used {
            server(serverURL)
        } else if traceCommand.Used {
    Severity: Major
    Found in cmd/qiloop/main.go - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status