Condition Coverage

blib/lib/XML/PP.pm
Criterion Covered Total %
condition 19 28 67.8


and 3 conditions

line !l l&&!r l&&r condition
260 0 0 8 ref $node eq "HASH" and $node->{'children'}
267 0 1 18 $child->{'children'} and @{$child->{'children'};}
268 1 2 15 @{$child->{'children'};} == 1 and exists $child->{'children'}[0]{'text'}
275 1 1 17 defined $value and $value ne ""
319 24 0 0 $self_close and not $$xml_ref =~ m[^\s*]
338 11 1 0 $k1 eq "xmlns" and not defined $k2
11 0 1 $k1 eq "xmlns" and defined $k2

or 2 conditions

line l !l condition
80 4 4 Params::Get::get_params(undef, @_) || {}
316 12 12 $2 || ''

or 3 conditions

line l !l&&r !l&&!r condition
426 0 0 3 $entity =~ /^(lt|gt|amp|quot|apos)$/ or $entity =~ /^#(?:x[0-9a-fA-F]+|\d+)$/