Condition Coverage

blib/lib/Tangerine/hook/if.pm
Criterion Covered Total %
condition 16 29 55.1


and 3 conditions

line !l l&&!r l&&r condition
13 57 28 57 &any(sub { $s->[0] eq $_; } , 'use', 'no') and scalar @$s > 3
85 52 5 &any(sub { $s->[0] eq $_; } , 'use', 'no') and scalar @$s > 3 and $s->[1] eq 'if'
23 0 11 0 not $depth and $token eq ',' || $token eq '=>'

or 2 conditions

line l !l condition
16 1 4 $version //= ''

or 3 conditions

line l !l&&r !l&&!r condition
21 0 0 11 $token eq '[' or $token eq '{'
0 0 11 $token eq '[' or $token eq '{' or $token eq '('
22 0 0 11 $token eq ']' or $token eq '}'
0 0 11 $token eq ']' or $token eq '}' or $token eq ')'
23 4 0 7 $token eq ',' || $token eq '=>'
0 0 11 $token eq ';' or not $depth and $token eq ',' || $token eq '=>'