Condition Coverage

blib/lib/Struct/Path/PerlStyle.pm
Criterion Covered Total %
condition 25 25 100.0


and 3 conditions

line !l l&&!r l&&r condition
205 12 34 39 not $type and $delim eq '"'
12 23 11 not $type and $delim eq q[']
9 3 23 $delim eq '/' and not $type
354 23 9 30 @items and $items[-1][0] < $i && $items[-1][-1] == $i - 1 || $items[-1][0] > $i && $items[-1][-1] == $i + 1
387 1 1 66 defined $k and ref $k eq ''

or 2 conditions

line l !l condition
353 2 1 $i // 'undef'
400 1 1 ref $k || 'undef'

or 3 conditions

line l !l&&r !l&&!r condition
205 23 10 2 $delim eq '/' and not $type or $type eq 'm'
354 15 15 9 $items[-1][0] < $i && $items[-1][-1] == $i - 1 || $items[-1][0] > $i && $items[-1][-1] == $i + 1