Branch Coverage

blib/lib/Perl/Lint/Policy/BuiltinFunctions/ProhibitVoidGrep.pm
Criterion Covered Total %
branch 26 26 100.0


line true false branch
25 50 328 if ($token_type == 70) { }
3 325 elsif ($token_type == 65) { }
5 320 elsif ($token_type == 96 or $token_type == 133 or $token_type == 132 or $token_type == 99) { }
50 270 elsif ($is_in_ctrl_statement) { }
20 250 elsif ($token_type == 106) { }
26 42 8 if ($token_data eq 'grep')
27 18 24 if $is_in_grep
29 5 19 if ($is_in_ctrl_statement) { }
11 8 elsif (not $is_in_context) { }
30 3 2 if ($left_brace_num)
67 8 42 if ($token_type == 109) { }
8 34 elsif ($token_type == 110) { }
72 5 3 if ($left_brace_num <= 0)