Branch Coverage

blib/lib/Test/Type.pm
Criterion Covered Total %
branch 55 66 83.3


line true false branch
140 4 1 unless defined $name
142 3 2 unless defined $allow_empty
143 0 5 if scalar keys %args != 0
147 4 1 $allow_empty ? :
148 0 5 scalar @test_properties == 0 ? :
224 7 1 unless defined $name
226 6 2 unless defined $allow_empty
228 6 2 unless defined $no_blessing
230 0 8 if scalar keys %args != 0
234 7 1 $allow_empty ? :
235 1 7 $no_blessing ? :
236 1 7 if $element_validate_type
238 0 8 scalar @test_properties == 0 ? :
297 6 1 unless defined $name
299 5 2 unless defined $allow_empty
301 5 2 unless defined $no_blessing
302 0 7 if scalar keys %args != 0
306 6 1 $allow_empty ? :
307 1 6 $no_blessing ? :
308 0 7 scalar @test_properties == 0 ? :
353 2 1 unless defined $name
354 0 3 if scalar keys %args != 0
413 6 1 unless defined $name
415 5 2 unless defined $strictly_positive
417 5 2 unless defined $positive
418 0 7 if scalar keys %args != 0
422 1 6 if $strictly_positive
424 1 6 if $positive
426 5 2 scalar @test_properties == 0 ? :
481 2 1 unless defined $name
483 0 3 if scalar keys %args != 0
510 3 0 unless defined $name
511 0 3 if scalar keys %args != 0