Condition Coverage

blib/lib/XML/Simple/Sugar.pm
Criterion Covered Total %
condition 9 15 60.0


and 3 conditions

line !l l&&!r l&&r condition
204 14 2 1 defined $content->[1] and UNIVERSAL::isa($content->[1], 'XML::Simple::Sugar')
212 15 0 2 defined $content->[2] and UNIVERSAL::isa($content->[2], 'HASH')

or 3 conditions

line l !l&&r !l&&!r condition
73 7 0 0 $self->xml_autovivify or grep /^$attribute$/u, keys %{$self->xml_parent->xml_data->{$self->xml_node}[$self->xml_index];}
131 1 0 1 $self->xml_autovivify or grep /^$attribute$/u, keys %{$self->xml_data->{$node}[$self->xml_index];}
147 1 0 0 $self->xml_autovivify or grep /^$attribute$/u, keys %{$self->xml_data->{$node};}