nuts-foundation/go-leia

View on GitHub

Showing 1 of 14 total issues

Function findR has a Cognitive Complexity of 27 (exceeds 20 allowed). Consider refactoring.
Open

func findR(cursor *bbolt.Cursor, searchKey Key, matchers []matcher, fn iteratorFn, lastCursorPosition []byte, depth int) ([]byte, error) {
var err error
returnKey := lastCursorPosition
currentQueryPart := matchers[0].queryPart
//outer:
Severity: Minor
Found in index.go - About 1 hr to fix
Severity
Category
Status
Source
Language