grokify/mogo

View on GitHub
log/severity/severity.go

Summary

Maintainability
A
45 mins
Test Coverage

Function SeverityInclude has 7 return statements (exceeds 4 allowed).
Open

func SeverityInclude(filterLevel, itemLevel string) (bool, error) {
    filterLevelGood, err := Parse(filterLevel)
    if err != nil || filterLevelGood == SeverityDisabled {
        return false, err
    }
Severity: Major
Found in log/severity/severity.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status