Branch Coverage

blib/lib/Perl/Lint/Policy/BuiltinFunctions/ProhibitVoidMap.pm
Criterion Covered Total %
branch 28 28 100.0


line true false branch
26 48 304 if ($token_type == 70) { }
3 301 elsif ($token_type == 65) { }
6 295 elsif ($token_type == 96 or $token_type == 133 or $token_type == 132 or $token_type == 99) { }
62 233 elsif ($is_in_ctrl_statement) { }
21 212 elsif ($token_type == 106) { }
11 201 elsif ($token_type == 104) { }
27 37 11 if ($token_data eq 'map')
28 12 25 if $is_in_map
30 6 19 if ($is_in_ctrl_statement) { }
10 9 elsif (not $is_in_context || $is_before_comma) { }
31 4 2 if ($left_brace_num)
68 10 52 if ($token_type == 109) { }
10 42 elsif ($token_type == 110) { }
73 6 4 if ($left_brace_num <= 0)