Branch Coverage

blib/lib/Perl/Lint/Policy/Subroutines/ProhibitReturnSort.pm
Criterion Covered Total %
branch 24 26 92.3


line true false branch
19 17 79 if ($token_type == 0) { }
1 78 elsif ($token_type == 96) { }
21 13 4 if ($$next_token{'type'} == 70 and $$next_token{'data'} eq 'sort')
26 13 68 if ($token_type == 106) { }
5 63 elsif ($token_type == 96) { }
1 75 elsif ($token_type == 70 and $$token{'data'} eq 'wantarray' and $is_in_postposition_if) { }
27 12 1 unless ($is_wantarray)
53 1 8 if ($token_type == 109) { }
1 7 elsif ($token_type == 110) { }
1 6 elsif ($token_type == 70 and $$token{'data'} eq 'wantarray') { }
1 5 elsif (not $is_wantarray) { }
58 1 0 if $left_brace_num <= 0
65 0 1 if ($next_token and $$next_token{'type'} == 70 and $$next_token{'data'} eq 'sort')