Condition Coverage

blib/lib/Data/Validate/XSD.pm
Criterion Covered Total %
condition 19 68 27.9


and 3 conditions

line !l l&&!r l&&r condition
301 0 0 6 defined $$def{'root'} and defined $data
352 0 0 0 $e > 0 and $e <= $#errors
461 4 0 2 $subr and ref $subr
494 6 11 36 ref $data ne 'ARRAY' and defined $data
522 0 0 0 $element and $element ne $$definition{'fixed'}
581 0 30 0 defined $$typedef{'pattern'} and ref $$typedef{'pattern'} eq 'REGEX'
613 0 0 0 $data ne $result and $$typedef{'match'}
0 0 0 $data eq $result and $$typedef{'notMatch'}
631 3 0 0 defined $$typedef{'minInclusive'} and $data < $$typedef{'minInclusive'}
632 3 0 0 defined $$typedef{'maxInclusive'} and $data > $$typedef{'maxInclusive'}
633 3 0 0 defined $$typedef{'minExclusive'} and $data <= $$typedef{'minExclusive'}
634 3 0 0 defined $$typedef{'maxExclusive'} and $data >= $$typedef{'maxExclusive'}
722 0 0 0 $def and $content =~ /XMLSchema/

or 2 conditions

line l !l condition
422 6 18 $p{'mode'} || 'AND'

or 3 conditions

line l !l&&r !l&&!r condition
522 0 0 0 ref $element ne '' or $element and $element ne $$definition{'fixed'}
591 0 0 6 ref $method ne 'CODE' or not &$method($data, $typedef)
610 0 0 26 defined $$typedef{'match'} or defined $$typedef{'notMatch'}
611 0 0 0 $$typedef{'match'} || $$typedef{'notMatch'}
613 0 0 0 $data ne $result and $$typedef{'match'} or $data eq $result and $$typedef{'notMatch'}
630 0 0 23 defined $$typedef{'minInclusive'} or defined $$typedef{'maxInclusive'}
0 0 23 defined $$typedef{'minInclusive'} or defined $$typedef{'maxInclusive'} or defined $$typedef{'minExclusive'}
0 0 23 defined $$typedef{'minInclusive'} or defined $$typedef{'maxInclusive'} or defined $$typedef{'minExclusive'} or defined $$typedef{'maxExclusive'}
0 0 23 defined $$typedef{'minInclusive'} or defined $$typedef{'maxInclusive'} or defined $$typedef{'minExclusive'} or defined $$typedef{'maxExclusive'} or defined $$typedef{'fractionDigits'}