Condition Coverage

blib/lib/XML/Validator/Schema/ModelNode.pm
Criterion Covered Total %
condition 9 27 33.3


and 3 conditions

line !l l&&!r l&&r condition
141 0 0 36 $min eq '1' and $max eq '1'
142 0 0 0 $min eq '1' and $max eq 'unbounded'
143 0 0 0 $min eq '0' and $max eq '1'
144 0 0 0 $min eq '0' and $max eq 'unbounded'

or 3 conditions

line l !l&&r !l&&!r condition
28 2 2 1 $name eq 'sequence' or $name eq 'choice'
4 1 0 $name eq 'sequence' or $name eq 'choice' or $name eq 'all'
3 0 0 $name eq 'sequence' or $name eq 'choice' or $name eq 'all' or $name eq 'union'
44 5 0 0 $max =~ /^\d+$/ or $max eq 'unbounded'
49 1 0 0 $$self{'min'} eq '1' or $$self{'min'} eq '0'