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
16 3 18 1 ($text // '') eq '' and not @$children
28 10 14 2 $tag =~ /^[&"]$/ and ref $content eq 'CODE'
69 27 1 1 $tag =~ /^:attr/ and ref($content) =~ /^(ARRAY|HASH)$/

or 2 conditions

line l !l condition
16 3 19 $text // ''