Branch Coverage

blib/lib/Moose/Util/TypeConstraints/Builtins.pm
Criterion Covered Total %
branch 14 16 87.5


line true false branch
44 40 14 unless not defined $_ or $_ eq "" or "$_" eq 1
70 7 528 unless ref \$_ eq "SCALAR"
84 16 189 unless $val =~ /\A[+-]?[0-9]+\z/
138 11 1 unless ref $_ eq "GLOB" and &Scalar::Util::openhandle($_)
178 11 1 unless ref $_ eq "SCALAR"
212 8 81 unless &$check($x)
247 20 166 unless &$check($x)
281 0 0 if not defined $_ or &$check($_)