Branch Coverage

blib/lib/TypeLibrary/FromXSD/Element.pm
Criterion Covered Total %
branch 0 34 0.0


line true false branch
27 0 0 unless $self->has_enum
34 0 0 unless $self->restrictions
42 0 0 if @args > 1 and @args % 2 == 0
47 0 0 if (@args > 1)
53 0 0 if ($node)
55 0 0 unless ref $node and $node->isa('XML::LibXML::Element')
77 0 0 if ($node_name eq 'xs:enumeration') { }
0 0 elsif ($node_name eq 'xs:minLength') { }
0 0 elsif ($node_name eq 'xs:maxLength') { }
0 0 elsif ($node_name eq 'xs:pattern') { }
0 0 elsif ($node_name eq 'xs:minInclusive') { }
0 0 elsif ($node_name eq 'xs:maxInclusive') { }
0 0 elsif ($node_name eq 'xs:fractionDigits') { }
0 0 elsif ($node_name eq 'xs:totalDigits') { }
106 0 0 if ($base eq 'date') { }
0 0 elsif ($base eq 'dateTime') { }
114 0 0 if ($base =~ /\Adate(Time)?\z/ and $extra_validations and $$extra_validations{$base})