Condition Coverage

blib/lib/XML/Element.pm
Criterion Covered Total %
condition 0 28 0.0


and 3 conditions

line !l l&&!r l&&r condition
46 0 0 0 $under_hash and ref $under_hash eq 'ARRAY'
55 0 0 0 $all || $$under_hash{$this->tag} and @$children
155 0 0 0 $$empty_element_map{$tag} and not @{$nillio unless $$node{'_content'};}
165 0 0 0 $$empty_element_map{$tag} and not @{$nillio unless $$node{'_content'};}

or 2 conditions

line l !l condition
54 0 0 $this->content || (next)
86 0 0 $$self{'text'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
55 0 0 0 $all || $$under_hash{$this->tag}
106 0 0 0 not length $_ or /^_/s
0 0 0 not length $_ or /^_/s or $_ eq '/'
150 0 0 0 $attr eq '/' or $self->_valid_name($attr)