Branch Coverage

blib/lib/Scalar/Type.pm
Criterion Covered Total %
branch 28 34 82.3


line true false branch
10 0 3 $] >= 5.035007 ? :
0 3 $] >= 5.03501 ? :
89 1 6 $_ eq 'is_*' ? :
122 1 98 if $#_ == -1
128 0 91 bool_supported() && &{$IS_BOOL_FN;}($arg) ? :
2 91 !defined($arg) ? :
4 93 ref $arg ? :
1 97 &blessed($arg) ? :
139 1 3 if $#_ == -1
142 1 2 if ($type eq 'INTEGER') { }
1 1 elsif ($type eq 'NUMBER') { }
163 1 56 if $#_ == -1
164 17 39 type(@_) eq 'INTEGER' ? :
175 1 23 if $#_ == -1
176 16 7 is_integer(@_) || type(@_) eq 'NUMBER' ? :
188 1 0 unless bool_supported()
189 0 0 if $#_ == -1