Condition Coverage

blib/lib/Struct/Path/JsonPointer.pm
Criterion Covered Total %
condition 18 18 100.0


and 3 conditions

line !l l&&!r l&&r condition
83 1 1 1 &looks_like_number($step->[0]) and int $step->[0] == $step->[0]
93 1 1 8 keys %{$step;} == 1 and exists $step->{'K'}
140 1 6 1 $last and $_{'opts'}{'insert'}
145 1 6 1 $last and $_{'opts'}{'delete'}

or 3 conditions

line l !l&&r !l&&!r condition
149 7 1 2 exists $_->{$step} or $_{'opts'}{'expand'}
168 17 5 17 &looks_like_number($step) or $step eq '-'