Branch Coverage

blib/lib/Perl/Lint/Policy/BuiltinFunctions/ProhibitReverseSortBlock.pm
Criterion Covered Total %
branch 20 20 100.0


line true false branch
20 30 249 if ($token_type == 70 and $token_data eq 'sort')
22 10 20 if ($$token{'type'} == 107)
26 24 6 if ($$token{'type'} == 109)
32 31 275 if ($token_type == 33 or $token_type == 44) { }
18 257 elsif ($token_type == 109) { }
42 215 elsif ($token_type == 110) { }
26 189 elsif ($token_type == 166 and $token_data eq '$b') { }
7 182 elsif ($token_type == 53 or $token_type == 52 or $token_type == 14 or $token_type == 16) { }
33 10 21 if ($is_b_at_before_comparator)
47 24 18 if --$left_brace_num <= 0