synapsecns/sanguine

View on GitHub
contrib/opbot/signoz/example/main.go

Summary

Maintainability
A
2 hrs
Test Coverage

Function loadConfig has 71 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func loadConfig() *signoz.Client {
    cfg := config{}

    var configFormFields []huh.Field

Severity: Minor
Found in contrib/opbot/signoz/example/main.go - About 1 hr to fix

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

    func loadConfig() *signoz.Client {
        cfg := config{}
    
        var configFormFields []huh.Field
    
    
    Severity: Major
    Found in contrib/opbot/signoz/example/main.go - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status