Condition Coverage

blib/lib/Perl/Lint/Policy/InputOutput/RequireCheckedOpen.pm
Criterion Covered Total %
condition 22 48 45.8


and 3 conditions

line !l l&&!r l&&r condition
35 0 0 1 $next_token_type == 172 || $next_token_type == 173 and $next_token->{'data'} eq 'open'
38 1 1 1 $token_type == 187 and $token->{'data'} eq 'open'
50 0 0 1 $token_type == 172 || $token_type == 173 and $token->{'data'} eq 'open'
69 2 1 1 $token_type == 187 and $token->{'data'} =~ /\A\s*:io\s*\Z/
85 358 0 1 $token_type == 127 and $token_data eq 'Fatal'
87 0 0 1 $skipped_token and $skipped_token->{'type'} == 127
0 0 1 $skipped_token and $skipped_token->{'type'} == 127 and $skipped_token->{'data'} eq 'Exception'
90 1 1 0 $token_type == 172 || $token_type == 173 and $token->{'data'} eq 'open'
93 0 0 1 $token_type == 187 and $token->{'data'} eq 'open'
105 0 0 0 $token_type == 172 || $token_type == 173 and $token->{'data'} eq 'open'
155 0 0 1 $next_token->{'type'} == 122 and $next_token->{'data'} eq 'autodie'

or 3 conditions

line l !l&&r !l&&!r condition
35 0 1 0 $next_token_type == 172 || $next_token_type == 173
50 0 1 0 $token_type == 172 || $token_type == 173
90 0 1 1 $token_type == 172 || $token_type == 173
105 0 0 0 $token_type == 172 || $token_type == 173
149 4 0 32 $is_in_assign_context or $is_in_statement_context