Branch Coverage

lib/XML/Schema/Scoped.pm
Criterion Covered Total %
branch 17 26 65.3


line true false branch
51 103 0 if @$mand
54 0 98 unless $self->_optional($option, $config)
78 124 0 unless defined $name
80 0 124 if $XML::Schema::Scoped::DEBUG
82 0 124 unless defined $name
86 21 103 if ref $name
89 94 9 if (my $scope = $$self{'scope'})
90 0 94 if $XML::Schema::Scoped::DEBUG
103 8 1 if (my $class = $simple->builtin($name)) { }
130 10 0 unless defined $name
132 0 10 unless defined $name
136 1 9 if ref $name and UNIVERSAL::can($name, 'name')
154 0 3 @_ ? :