Condition Coverage

blib/lib/HTML/Transmorgify.pm
Criterion Covered Total %
condition 31 56 55.3


and 3 conditions

line !l l&&!r l&&r condition
184 7 0 0 $priorities{$tag_pkg} and $priorities{$tag_pkg} != $priority
392 0 0 76 defined $finaltag and $finaltag eq "/$onetag"
445 218 0 76 $r and $r == 22
497 67 122 41 @$rbuf > 1 and not ref $$rbuf[-1]
189 5 36 @$rbuf > 1 and not ref $$rbuf[-1] and not ref $$rbuf[-2]
582 191 109 99 $i <= @$atvals and not defined $$atvals[$i]
601 245 31 2 defined $pos and $pos <= $lastpos
613 540 2 118 defined $pos and $pos <= $lastpos
643 45 31 44 defined $pos and $pos <= $lastpos
932 83 0 0 ref $r and ref $r eq 'CODE'

or 2 conditions

line l !l condition
265 0 37 $$invocation_options{'query_param'} || {}
388 0 0 $onetag || '?'
397 0 0 $onetag || '?'
523 0 0 $context{'caller_level'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
266 37 0 0 $$invocation_options{'input_file'} || (caller())[1]
267 37 0 0 $$invocation_options{'input_line'} || (caller())[2]
380 55 93 0 $opts ||= $no_opts
708 0 0 0 $lines_in ||= substr($$invoking_textref, 0, $invoking_pos) =~ tr/\n//
773 0 0 0 $attr->static($t) or not defined $attr->raw($t)
799 7 169 6 $val =~ /[^\w.]/ || $is_val && $HTML::Transmorgify::xml_quoting