Condition Coverage

blib/lib/XML/Validator/Schema/SimpleType.pm
Criterion Covered Total %
condition 10 16 62.5


and 3 conditions

line !l l&&!r l&&r condition
481 0 0 10 1 <= $m and $m <= 12
482 0 1 9 1 <= $d and $d <= $days_in_month[_leap_year($y)][$m]

or 2 conditions

line l !l condition
331 18 210 $$self{'restrict'}{$key} ||= []
491 5 5 $y % 4 == 0 && ($y % 400 == 0 || $y % 100 != 0) || 0

or 3 conditions

line l !l&&r !l&&!r condition
327 120 108 0 $self == $root or $FACET{$key} & $$root{'facets'}
447 0 0 266 $$r{'totalDigits'} or $$r{'fractionDigits'}