Branch Coverage

blib/lib/Math/Float32.pm
Criterion Covered Total %
branch 83 108 76.8


line true false branch
81 9020 0 if @_ > 0 and not ref $_[0] and _itsa($_[0]) == 4 and $_[0] eq "Math::Float32"
82 11 9011 unless (@_)
83 0 9011 if @_ > 1
85 9011 0 if ($itsa)
87 78 8933 if $itsa == 4 and $_[0] =~ /^(\s+)?[\-\+]?0b/i
95 0 1 if @_ != 2
97 0 1 if ($itsa == 22) { }
106 1 100 if $itsa == 22
107 100 0 if ($itsa < 5)
109 1 99 if $itsa == 4 and $_[1] =~ /^(\s+)?[\-\+]?0b/i
118 64 77 if $itsa == 22
119 77 0 if ($itsa < 5)
121 1 76 if $itsa == 4 and $_[1] =~ /^(\s+)?[\-\+]?0b/i
130 2 179 if $itsa == 22
131 179 0 if ($itsa < 5)
133 2 177 if $itsa == 4 and $_[1] =~ /^(\s+)?[\-\+]?0b/i
142 0 107 if $itsa == 22
143 107 0 if ($itsa < 5)
145 2 105 if $itsa == 4 and $_[1] =~ /^(\s+)?[\-\+]?0b/i
154 10 2 if $itsa == 22
155 2 0 if ($itsa < 5)
157 2 0 if $itsa == 4 and $_[1] =~ /^(\s+)?[\-\+]?0b/i
166 0 28 if $itsa == 22
167 28 0 if ($itsa < 5)
169 2 26 if $itsa == 4 and $_[1] =~ /^(\s+)?[\-\+]?0b/i
177 1 1 if $_[0] < 0
183 8662 0 if ($itsa == 22 or $itsa < 5)
185 2 8660 if $itsa == 4 and $_[1] =~ /^(\s+)?[\-\+]?0b/i
194 14 0 if ($itsa == 22 or $itsa < 5)
196 0 14 if $itsa == 4 and $_[1] =~ /^(\s+)?[\-\+]?0b/i
205 26 0 if ($itsa == 22 or $itsa < 5)
207 2 24 if $itsa == 4 and $_[1] =~ /^(\s+)?[\-\+]?0b/i
216 66 0 if ($itsa == 22 or $itsa < 5)
218 4 62 if $itsa == 4 and $_[1] =~ /^(\s+)?[\-\+]?0b/i
227 28 0 if ($itsa == 22 or $itsa < 5)
229 2 26 if $itsa == 4 and $_[1] =~ /^(\s+)?[\-\+]?0b/i
238 66 0 if ($itsa == 22 or $itsa < 5)
240 4 62 if $itsa == 4 and $_[1] =~ /^(\s+)?[\-\+]?0b/i
249 48 0 if ($itsa == 22 or $itsa < 5)
251 2 46 if $itsa == 4 and $_[1] =~ /^(\s+)?[\-\+]?0b/i
263 3 0 if ($_[0] == 0)
264 1 2 if flt_signbit($_[0])
271 6 7 if hex substr(unpack_flt_hex($_[0]), 0, 1) >= 8
308 0 8284 if length $arg != 8 or $arg =~ /[^0-9a-fA-F]/
312 4142 4142 if substr($binstr, 0, 1) eq 1
315 4142 4142 if ($power < -126)
332 0 152 if $arg =~ /[^0-9peb\.\-\+]/i
335 61 91 if $arg =~ /^\-/
351 104 48 if $args[0] =~ /\./
356 8 144 if ($args[0] =~ s/^0\.//)
363 30 122 unless $args[0] =~ /1/
370 44 78 if ($pad)
373 24 20 if $point_index < 0
383 52 70 if $point_index < 0