Condition Coverage

blib/lib/Perl/Lint/Policy/InputOutput/RequireEncodingWithUTF8Layer.pm
Criterion Covered Total %
condition 24 30 80.0


and 3 conditions

line !l l&&!r l&&r condition
21 91 132 0 $token_type == 70 and $token_data eq 'open' || $token_data eq 'binmode'
26 128 0 280 $token_type != 104 and $token_type != 146
128 0 280 $token_type != 104 and $token_type != 146 and $token_type != 145
0 0 280 $token_type != 104 and $token_type != 146 and $token_type != 145 and $token_type != 151
0 44 236 $token_type != 104 and $token_type != 146 and $token_type != 145 and $token_type != 151 and $token_type != 107
44 18 218 $token_type != 104 and $token_type != 146 and $token_type != 145 and $token_type != 151 and $token_type != 107 and $token_kind != 3
41 8 44 38 $second_arg and $second_arg =~ /utf8\Z/

or 3 conditions

line l !l&&r !l&&!r condition
21 58 32 42 $token_data eq 'open' || $token_data eq 'binmode'
26 44 26 428 $token_type == 108 or $token_kind == 21
70 20 408 $token_type == 108 or $token_kind == 21 or $token_kind == 1