kitabisa/buroq

View on GitHub
cmd/root.go

Summary

Maintainability
A
2 hrs
Test Coverage

Function start has 60 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func start() {
    cfg := config.Config()
    logger := log.NewLogger("buroq")

    app := appcontext.NewAppContext(cfg)
Severity: Minor
Found in cmd/root.go - About 1 hr to fix

    Function start has 5 return statements (exceeds 4 allowed).
    Open

    func start() {
        cfg := config.Config()
        logger := log.NewLogger("buroq")
    
        app := appcontext.NewAppContext(cfg)
    Severity: Major
    Found in cmd/root.go - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status