Condition Coverage

lib/XML/Schema/Handler/Complex.pm
Criterion Covered Total %
condition 6 19 31.5


and 3 conditions

line !l l&&!r l&&r condition
137 4 0 0 not $$self{'empty'} and $model
4 0 0 not $$self{'empty'} and $model and $particle = $model->particle

or 2 conditions

line l !l condition
94 6 0 $$self{'attributes'} || (return $self->error('no attribute group'))
96 4 2 $attrgrp->validate($attribs) || (return $self->error($attrgrp->error))
102 0 4 $$attributes{'_MAGIC'} || {}
207 0 0 $instance->idref($value) || (return $self->error($instance->error))
276 0 0 $self->activate_end_child($child) || (return)

or 3 conditions

line l !l&&r !l&&!r condition
304 0 0 0 $$self{'mixed'} or $text =~ /^\s*$/