Branch Coverage

lib/XML/Schema/Particle/Element.pm
Criterion Covered Total %
branch 13 22 59.0


line true false branch
49 0 20 if $XML::Schema::Particle::Element::DEBUG
57 1 19 unless $self->constrain($config)
73 6 10 unless $name
75 0 10 if $XML::Schema::Particle::Element::DEBUG
80 2 8 unless ($name eq $ename)
82 0 2 $min > 1 ? :
2 0 if $occurs < $min
92 3 0 $max > 1 ? :
3 5 unless $occurs < $max
107 0 0 if $$self{'name'} eq $name
110 0 0 if $$self{'min'} == 0