Condition Coverage

lib/XML/Schema/Type/Simple.pm
Criterion Covered Total %
condition 13 19 68.4


and 3 conditions

line !l l&&!r l&&r condition
72 199 1 13 $class eq 'XML::Schema::Type::Simple' and $base = $$config{'base'}
258 2 0 321 $self->validate_instance($infoset) && do { $$infoset{'result'} = $$infoset{'value'} } && $self->activate_instance($infoset) && $infoset

or 2 conditions

line l !l condition
86 4 2 $self->_mandatory($mand, $config) or return
202 269 2 $pkg->new($value) || (return $self->error($pkg->error))

or 3 conditions

line l !l&&r !l&&!r condition
93 9 189 0 $$config{'name'} || $self->type
153 13 100 0 ref $self || $self
354 0 0 0 $instance->simple_handler($self, $element) || $self->error($instance->error)