Condition Coverage

blib/lib/IO/HTML.pm
Criterion Covered Total %
condition 31 36 86.1


and 3 conditions

line !l l&&!r l&&r condition
144 4 12 12 $buf =~ /^(?: # nothing left over | [\xC2-\xDF] # incomplete 2-byte char | [\xE0-\xEF] [\x80-\xBF]? # incomplete 3-byte char | [\xF0-\xF4] [\x80-\xBF]{0,2} # incomplete 4-byte char )\z/x and $test =~ /[^\x00-\x7F]/
153 16 36 20 defined $encoding and $options->{'encoding'}
36 11 9 defined $encoding and $options->{'encoding'} and not ref $encoding
227 70 10 5 $name eq 'http-equiv' and $value eq 'content-type'
61 0 19 $name eq 'content' and not defined $charset
238 9 41 13 defined $need_pragma and !$need_pragma || $got_pragma

or 2 conditions

line l !l condition
62 8 28 $options ||= {}
110 58 14 $options ||= {}
212 58 23 shift() || {}

or 3 conditions

line l !l&&r !l&&!r condition
168 184 8 94 /\G>/cg or not /\G(=?[^\x09\x0A\x0C\x0D =]*)/cg
198 0 0 16 /\G"([^"]*)"/cg or /\G'([^']*)'/cg
0 16 0 /\G"([^"]*)"/cg or /\G'([^']*)'/cg or /\G(?!['"])([^\x09\x0A\x0C\x0D ;]+)/cg
238 47 2 5 !$need_pragma || $got_pragma