Condition Coverage

lib/XML/Schema/Scoped.pm
Criterion Covered Total %
condition 10 18 55.5


and 3 conditions

line !l l&&!r l&&r condition
136 9 0 1 ref $name and UNIVERSAL::can($name, 'name')

or 2 conditions

line l !l condition
51 98 5 $self->_mandatory($mand, $config) or return
98 9 0 $$self{'_FACTORY'} || (return $self->error('no factory defined'))
100 9 0 $factory->module('simple') || (return $self->error($factory->error))

or 3 conditions

line l !l&&r !l&&!r condition
58 0 0 98 $$config{'FACTORY'} || $XML::Schema::FACTORY
92 92 0 2 $scope->type($name) || $self->error($scope->error)
104 8 0 0 $class->new || $self->error($class->error)