Branch Coverage

blib/lib/Scalar/Type.pm
Criterion Covered Total %
branch 26 30 86.6


line true false branch
81 1 6 $_ eq 'is_*' ? :
114 1 98 if $#_ == -1
116 0 91 bool_supported() && isbool($arg) ? :
2 91 !defined($arg) ? :
4 93 ref $arg ? :
1 97 &blessed($arg) ? :
130 1 3 if $#_ == -1
133 1 2 if ($type eq 'INTEGER') { }
1 1 elsif ($type eq 'NUMBER') { }
154 1 56 if $#_ == -1
155 17 39 type(@_) eq 'INTEGER' ? :
166 1 23 if $#_ == -1
167 16 7 is_integer(@_) || type(@_) eq 'NUMBER' ? :
179 1 0 unless bool_supported()
180 0 0 if $#_ == -1