elliotchance/gedcom

View on GitHub
q/accessor_expr.go

Summary

Maintainability
A
35 mins
Test Coverage

Method AccessorExpr.Evaluate has 5 return statements (exceeds 4 allowed).
Open

func (e *AccessorExpr) Evaluate(engine *Engine, input interface{}, args []*Statement) (interface{}, error) {
    in := reflect.ValueOf(input)
    accessor := e.Query[1:]

    if input == nil {
Severity: Major
Found in q/accessor_expr.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status