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
14 53 28 51 &any(sub { $s->[0] eq $_; } , 'use', 'no') and scalar @$s > 3
81 46 5 &any(sub { $s->[0] eq $_; } , 'use', 'no') and scalar @$s > 3 and $s->[1] eq 'if'
24 0 11 0 not $depth and $token eq ',' || $token eq '=>'

or 2 conditions

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

or 3 conditions

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