Condition Coverage

lib/HTML/Object/Attribute.pm
Criterion Covered Total %
condition 11 27 40.7


and 3 conditions

line !l l&&!r l&&r condition
37 31 6 0 scalar @_ == 1 and !ref($_[0]) || overload::Method($_[0], '""')
30 7 0 @_ % 2 and !ref($_[0]) || overload::Method($_[0], '""')
36 0 0 scalar @_ == 2 and !ref($_[0]) || overload::Method($_[0], '""')
0 0 0 scalar @_ == 2 and !ref($_[0]) || overload::Method($_[0], '""') and ref $_[1] eq "HASH"

or 3 conditions

line l !l&&r !l&&!r condition
37 0 0 6 !ref($_[0]) || overload::Method($_[0], '""')
1 0 6 !ref($_[0]) || overload::Method($_[0], '""')
0 0 37 scalar @_ == 1 and !ref($_[0]) || overload::Method($_[0], '""') or @_ % 2 and !ref($_[0]) || overload::Method($_[0], '""')
0 0 0 !ref($_[0]) || overload::Method($_[0], '""')
1 0 36 scalar @_ == 1 and !ref($_[0]) || overload::Method($_[0], '""') or @_ % 2 and !ref($_[0]) || overload::Method($_[0], '""') or scalar @_ == 2 and !ref($_[0]) || overload::Method($_[0], '""') and ref $_[1] eq "HASH"