synapsecns/sanguine

View on GitHub
ethergo/backends/anvil/options.go

Summary

Maintainability
B
6 hrs
Test Coverage

OptionBuilder has 41 methods (exceeds 20 allowed). Consider refactoring.
Open

type OptionBuilder struct {
    generalOptions
    evmOptions
    executorOptions
    serverOptions
Severity: Minor
Found in ethergo/backends/anvil/options.go - About 5 hrs to fix

    Function fieldIsEmpty has 8 return statements (exceeds 4 allowed).
    Open

    func fieldIsEmpty(v reflect.Value) bool {
        //nolint: exhaustive
        switch v.Kind() {
        case reflect.Bool:
            if !v.Bool() {
    Severity: Major
    Found in ethergo/backends/anvil/options.go - About 50 mins to fix

      There are no issues that match your filters.

      Category
      Status