Branch Coverage

lib/XML/Schema/Wildcard.pm
Criterion Covered Total %
branch 29 32 90.6


line true false branch
63 0 27 unless $self->init_mandopt($config)
69 7 20 if ($$config{'any'} or $$config{'namespace'} and $$config{'namespace'} eq 'any') { }
1 19 elsif ($namespace = $$config{'not'}) { }
18 1 elsif ($namespace = $$config{'namespace'}) { }
77 15 3 unless ref $namespace eq 'ARRAY'
78 5 13 if ($$namespace[0] eq 'not') { }
92 1 25 unless $process =~ /$PROCESS_REGEX/
99 0 25 if $XML::Schema::Wildcard::DEBUG
136 22 106 if $select eq 'any'
143 21 85 if ($select eq 'not')
145 15 6 if ($own) { }
146 12 3 if not $namespace or $namespace ne $own
150 4 2 defined $namespace ? :
155 32 53 unless $namespace
158 0 53 if $XML::Schema::Wildcard::DEBUG
161 26 27 $$self{'namespace'}{$namespace} ? :