Branch Coverage

blib/lib/Tangerine/hook/if.pm
Criterion Covered Total %
branch 10 12 83.3


line true false branch
13 5 80 if (&any(sub { $s->[0] eq $_; } , 'use', 'no') and scalar @$s > 3 and $s->[1] eq 'if')
17 1 4 $version ? :
21 0 11 if $token eq '[' or $token eq '{' or $token eq '('
22 0 11 if $token eq ']' or $token eq '}' or $token eq ')'
23 4 7 if $token eq ';' or not $depth and $token eq ',' || $token eq '=>'
27 4 1 if ($s->[$index])