yazgazan/jaydiff

View on GitHub
jpath/jpath.go

Summary

Maintainability
A
0 mins
Test Coverage

Function executeSlice has 7 return statements (exceeds 4 allowed).
Wontfix

func executeSlice(head, tail string, v reflect.Value) (interface{}, error) {
    if v.Kind() != reflect.Slice {
        return nil, ErrNotSlice
    }
    if v.IsNil() {
Severity: Major
Found in jpath/jpath.go - About 45 mins to fix

    Function executeMap has 6 return statements (exceeds 4 allowed).
    Wontfix

    func executeMap(head, tail string, v reflect.Value) (interface{}, error) {
        if v.Kind() != reflect.Map {
            return nil, ErrNotMap
        }
        keyStr := head[1:]
    Severity: Major
    Found in jpath/jpath.go - About 40 mins to fix

      There are no issues that match your filters.

      Category
      Status