Branch Coverage

blib/lib/LooksLike.pm
Criterion Covered Total %
branch 86 134 64.1


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 $_
114 47 0 if @_
115 0 47 unless defined $_
116 0 47 if ref $_
121 21 26 if ($number =~ /\A(?:$inf|$nan)\z/u) { }
122 9 12 if $^V ge v5.22.0 and $number =~ s/\A1\.\#//u and $number =~ s/(?:\(($binary|\"$octal\"|$hex|$int)\)|0*)\z//u
133 2 1 unless (length $number or length $frac)
138 45 2 if pos $_
154 83 0 if @_
155 1 82 unless defined $_
156 0 82 if ref $_
158 16 66 if (B::svref_2object(\$_)->FLAGS & 8192)
172 97 0 if @_
173 1 96 unless defined $_
174 0 96 if ref $_
176 29 67 if (B::svref_2object(\$_)->FLAGS & 8192)
188 71 0 if @_
189 1 70 unless defined $_
190 0 70 if ref $_
193 16 54 if ($flags & 4096 and not $flags & 8192)
206 87 0 if @_
207 1 86 unless defined $_
208 0 86 if ref $_
210 36 50 if (B::svref_2object(\$_)->FLAGS & 12288)
220 0 0 if @_
221 0 0 unless defined $_
222 0 0 if ref $_
224 0 0 if (B::svref_2object(\$_)->FLAGS & 12288)
233 163 0 if @_
234 1 162 unless defined $_
235 0 162 if ref $_
237 62 100 if (B::svref_2object(\$_)->FLAGS & 12288)
251 38 0 if @_
252 4 34 unless defined $_
253 0 34 if ref $_
255 14 20 if (B::svref_2object(\$_)->FLAGS & 12288)
274 96 0 if @_
275 0 96 unless defined $_
276 0 96 if ref $_
278 48 48 if (B::svref_2object(\$_)->FLAGS & 12288)
291 96 0 if @_
292 0 96 unless defined $_
293 0 96 if ref $_
295 48 48 if (B::svref_2object(\$_)->FLAGS & 12288)
307 96 0 if @_
308 0 96 unless defined $_
309 0 96 if ref $_
311 48 48 if (B::svref_2object(\$_)->FLAGS & 12288)
325 73 0 if @_
326 1 72 unless defined $_
327 0 72 if ref $_
330 15 57 if ($flags & 4096 and not $flags & 8192)
344 73 0 if @_
345 1 72 unless defined $_
346 0 72 if ref $_
349 15 57 if ($flags & 4096 and not $flags & 8192)