Condition Coverage

blib/lib/Perl/Lint/Policy/ControlStructures/ProhibitUnreachableCode.pm
Criterion Covered Total %
condition 32 42 76.1


and 3 conditions

line !l l&&!r l&&r condition
70 185 68 0 $token_type == 122 || $token_type == 70 and $control_statement_to_exit{$token_data}
80 33 0 1 $before_token->{'type'} == 60 and $before_token->{'data'} eq '//'
121 174 13 1 $token_type == 70 and $token_data eq 'no'
135 176 0 1 $token_type == 75 and $token_data eq 'BEGIN'
152 117 15 44 $is_exited_by_depth{$depth} and not $is_in_ignore_context_by_depth{$depth}

or 3 conditions

line l !l&&r !l&&!r condition
70 27 41 185 $token_type == 122 || $token_type == 70
31 0 222 $token_type == 122 || $token_type == 70 and $control_statement_to_exit{$token_data} or $control_statement_token_types_to_exit{$token_type}
75 0 1 0 $unreachable_token_by_depth{$depth} //= $token
80 4 0 34 $conditional_token_types{$before_token->{'type'}} or $before_token->{'type'} == 60 and $before_token->{'data'} eq '//'
95 5 1 7 $token_type == 96 or $token_type == 99
121 1 1 188 $token_type == 93 or $token_type == 91
2 0 188 $token_type == 93 or $token_type == 91 or $token_type == 70 and $token_data eq 'no'
135 10 0 177 $token_type == 63 or $token_type == 75 and $token_data eq 'BEGIN'
153 27 17 0 $unreachable_token_by_depth{$depth} //= $token