Condition Coverage

blib/lib/XML/MyXML/Object.pm
Criterion Covered Total %
condition 19 22 86.3


and 3 conditions

line !l l&&!r l&&r condition
99 11 3 19 @_ && ref $_[-1]
131 2 2 2 @_ && ref $_[-1]

or 2 conditions

line l !l condition
165 0 30 $flags ||= {}
187 2 3 shift() || {}
206 11 3 shift() || {}
222 10 11 shift() || {}
240 1 0 shift() || {}

or 3 conditions

line l !l&&r !l&&!r condition
41 6 45 32 not length $tag or $self->{'element'} =~ /(\A|\:)\Q$tag\E\z/
45 0 7 7 not defined $attrs->{$attr} or $attrs->{$attr} eq $val