Branch Coverage

lib/XML/Schema/Particle.pm
Criterion Covered Total %
branch 24 42 57.1


line true false branch
60 0 28 if ($content = $$config{'content'})
63 0 0 if ($factory->isa($modtype, $content))
69 0 0 unless $found
76 22 33 if ($model = $$config{$modtype})
88 22 2 unless defined $min
89 22 2 unless defined $max
90 9 15 unless defined $min
91 7 17 unless defined $max
93 1 23 if $max < $min
97 0 23 if $XML::Schema::Particle::DEBUG
115 1 11 if (@_)
118 0 1 if $$self{'max'} < $newmin
127 0 13 if (@_)
130 0 0 if $newmax < $$self{'min'}
144 0 7 if $XML::Schema::Particle::DEBUG
159 0 3 if $XML::Schema::Particle::DEBUG
168 0 3 if $XML::Schema::Particle::DEBUG
172 1 2 $min > 1 ? :
3 0 if $occurs < $min
176 0 0 $max > 1 ? :
0 0 if $occurs > $max