Condition Coverage

blib/lib/XML/WriterX/Simple.pm
Criterion Covered Total %
condition 11 11 100.0


and 3 conditions

line !l l&&!r l&&r condition
14 1 15 1 ($text // '') eq '' and not @$children
26 10 11 2 $tag =~ /^[&"]$/ and ref $content eq 'CODE'
64 24 1 1 $tag =~ /^:attr/ and ref($content) =~ /^(ARRAY|HASH)$/

or 2 conditions

line l !l condition
14 1 16 $text // ''