Condition Coverage

blib/lib/Perl/Lint/Policy/InputOutput/RequireCheckedClose.pm
Criterion Covered Total %
condition 24 48 50.0


and 3 conditions

line !l l&&!r l&&r condition
35 0 0 2 $next_token_type == 172 || $next_token_type == 173 and $$next_token{'data'} eq 'close'
38 1 1 1 $token_type == 187 and $$token{'data'} eq 'close'
50 0 0 2 $token_type == 172 || $token_type == 173 and $$token{'data'} eq 'close'
69 2 1 1 $token_type == 187 and $$token{'data'} =~ /\A\s*:io\s*\Z/
85 264 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 'close'
93 0 0 1 $token_type == 187 and $$token{'data'} eq 'close'
105 0 0 0 $token_type == 172 || $token_type == 173 and $$token{'data'} eq 'close'
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 1 1 0 $next_token_type == 172 || $next_token_type == 173
50 1 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 30 $is_in_assign_context or $is_in_statement_context