Condition Coverage

blib/lib/Text/Microformat/Element.pm
Criterion Covered Total %
condition 17 29 58.6


and 3 conditions

line !l l&&!r l&&r condition
15 0 0 531 defined $params and ref $params eq 'HASH'
21 9 0 522 $k eq 'class' and defined $v
9 513 9 $k eq 'class' and defined $v and not ref $v
81 268 0 833 ref $schema eq 'HASH' and defined $$schema{$child}
268 709 124 ref $schema eq 'HASH' and defined $$schema{$child} and not ref $$schema{$child}
709 0 124 ref $schema eq 'HASH' and defined $$schema{$child} and not ref $$schema{$child} and length $$schema{$child}
122 0 0 662 defined $criteria and ref $criteria eq 'HASH'
134 0 0 162 $element and UNIVERSAL::isa($element, 'HTML::Element')

or 2 conditions

line l !l condition
207 0 67 shift() || 'Value'

or 3 conditions

line l !l&&r !l&&!r condition
131 0 162 0 ref $proto || $proto