vorteil/direktiv

View on GitHub
pkg/model/state-switch.go

Summary

Maintainability
A
35 mins
Test Coverage

Method SwitchState.Validate has 5 return statements (exceeds 4 allowed).
Open

func (o *SwitchState) Validate() error {
    if err := o.commonValidate(); err != nil {
        return err
    }

Severity: Major
Found in pkg/model/state-switch.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status