Condition Coverage

blib/lib/TUWF/XML.pm
Criterion Covered Total %
condition 6 19 31.5


and 3 conditions

line !l l&&!r l&&r condition
56 4 0 1 $htmlbool{$le} && $#_ % 2
230 1 0 0 $w and $w ne $l
242 0 0 0 $hascontent && pop()

or 2 conditions

line l !l condition
100 1 0 $o{'write'} ||= sub { print @_; }
245 0 0 delete $o{'doctype'} || 'html5'

or 3 conditions

line l !l&&r !l&&!r condition
184 0 0 5 not $name or $name =~ /^[^a-z]/i
0 0 5 not $name or $name =~ /^[^a-z]/i or $name =~ / /