Branch Coverage

blib/lib/LooksLike.pm
Criterion Covered Total %
branch 93 148 62.8


line true false branch
34 2 0 if @_
35 0 2 unless defined $_
36 0 2 if ref $_
47 8 0 if @_
48 0 8 unless defined $_
49 0 8 if ref $_
60 3 0 if @_
61 0 3 unless defined $_
62 0 3 if ref $_
73 8 0 if @_
74 0 8 unless defined $_
75 0 8 if ref $_
127 47 0 if @_
128 0 47 unless defined $_
129 0 47 if ref $_
134 21 26 if ($number =~ /\A(?:$inf|$nan)\z/u) { }
135 9 12 if $^V ge v5.22.0 and $number =~ s/\A1\.\#//u and $number =~ s/(?:\(($binary|\"$octal\"|$hex|$int)\)|0*)\z//u
146 2 1 unless (length $number or length $frac)
151 45 2 if pos $_
165 86 0 if @_
166 1 85 unless defined $_
167 0 85 if ref $_
169 17 68 if (B::svref_2object(\$_)->FLAGS & 8192)
181 101 0 if @_
182 1 100 unless defined $_
183 0 100 if ref $_
185 31 69 if (B::svref_2object(\$_)->FLAGS & 8192)
197 73 0 if @_
198 1 72 unless defined $_
199 0 72 if ref $_
202 16 56 if ($flags & 4096 and not $flags & 8192)
215 89 0 if @_
216 1 88 unless defined $_
217 0 88 if ref $_
219 36 52 if (B::svref_2object(\$_)->FLAGS & 12288)
229 0 0 if @_
230 0 0 unless defined $_
231 0 0 if ref $_
233 0 0 if (B::svref_2object(\$_)->FLAGS & 12288)
242 165 0 if @_
243 1 164 unless defined $_
244 0 164 if ref $_
246 62 102 if (B::svref_2object(\$_)->FLAGS & 12288)
260 40 0 if @_
261 4 36 unless defined $_
262 0 36 if ref $_
264 14 22 if (B::svref_2object(\$_)->FLAGS & 12288)
283 98 0 if @_
284 0 98 unless defined $_
285 0 98 if ref $_
287 48 50 if (B::svref_2object(\$_)->FLAGS & 12288)
300 99 0 if @_
301 0 99 unless defined $_
302 0 99 if ref $_
304 49 50 if (B::svref_2object(\$_)->FLAGS & 12288)
316 98 0 if @_
317 0 98 unless defined $_
318 0 98 if ref $_
320 48 50 if (B::svref_2object(\$_)->FLAGS & 12288)
334 75 0 if @_
335 1 74 unless defined $_
336 0 74 if ref $_
339 15 59 if ($flags & 4096 and not $flags & 8192)
353 75 0 if @_
354 1 74 unless defined $_
355 0 74 if ref $_
358 15 59 if ($flags & 4096 and not $flags & 8192)
373 2 0 if @_ % 2
374 0 2 unless defined $_
375 0 2 if ref $_
382 1 0 positive($_) ? :
0 0 exists $repr{$_} ? :
1 0 infinity($_) ? :
1 1 nan($_) ? :