Condition Coverage

blib/lib/MarpaX/xPathLike.pm
Criterion Covered Total %
condition 0 83 0.0


and 2 conditions

line l !l condition
957 0 0 carp("Wrong xPathLike Expression $q\n$@") and return undef

and 3 conditions

line !l l&&!r l&&r condition
226 0 0 0 defined $operData and ref $operData eq 'HASH'
232 0 0 0 defined $oper and exists $$operatorBy{$oper}
263 0 0 0 ref $x and ref $x ne 'Regexp'
264 0 0 0 ref $y and ref $y ne 'Regexp'
279 0 0 0 ref $x eq 'HASH' and exists $$x{'oper'}
331 0 0 0 defined $filter and ref $filter eq 'HASH'
396 0 0 0 defined $type and $type ne 'HASH'
402 0 0 0 defined $type and $type ne 'ARRAY'
578 0 0 0 $cnt >= 0 and \$$data{$keys[$cnt]} != $mySelf
593 0 0 0 $cnt >= 0 and \$$data[$cnt] != $mySelf
901 0 0 0 defined $_ and defined $$_{'data'}
0 0 0 defined $_ and defined $$_{'data'} and defined $$_{'order'}
915 0 0 0 defined $paths and ref $paths eq 'ARRAY'
0 0 0 defined $paths and ref $paths eq 'ARRAY' and scalar @$paths > 0
932 0 0 0 defined $query and defined $$query{'oper'} || defined $$query{'paths'}
993 0 0 0 defined $data and ref $data eq 'HASH' || ref $data eq 'ARRAY'
1011 0 0 0 defined $xPathLike and defined $$xPathLike{'oper'} || defined $$xPathLike{'paths'}

or 2 conditions

line l !l condition
339 0 0 $filter //= []
340 0 0 $context[$#context]{'order'} // ''
365 0 0 $filter //= []
366 0 0 $context[$#context]{'order'} // ''
418 0 0 $context[$#context]{'order'} // ''
458 0 0 $context[$#context]{'order'} // ''
477 0 0 $filters //= []
531 0 0 $filter //= []
896 0 0 $path //= {}

or 3 conditions

line l !l&&r !l&&!r condition
931 0 0 0 ref $data eq 'HASH' or ref $data eq 'ARRAY'
932 0 0 0 defined $$query{'oper'} || defined $$query{'paths'}
993 0 0 0 ref $data eq 'HASH' || ref $data eq 'ARRAY'
1011 0 0 0 defined $$xPathLike{'oper'} || defined $$xPathLike{'paths'}