| line |
true |
false |
branch |
|
53
|
0 |
90 |
if ($str =~ /^\xef\xbb\xbf/u) { } |
|
|
0 |
90 |
elsif ($str =~ /^\xfe\xff/u) { } |
|
|
0 |
90 |
elsif ($str =~ /^\xff\xfe/u) { } |
|
|
0 |
90 |
elsif ($str =~ /^\x00\x00\xfe\xff/u) { } |
|
|
0 |
90 |
elsif ($str =~ /^\xff\xfe\x00\x00/u) { } |
|
75
|
51 |
39 |
if (length($str) % 2 != 0) |
|
79
|
39 |
0 |
length $str > 1024 ? : |
|
87
|
0 |
19968 |
if ($char =~ /^\0/u) |
|
91
|
0 |
19968 |
if ($char =~ /\0$/u) |
|
95
|
19968 |
0 |
unless ($got_null) |
|
100
|
0 |
39 |
if ($leading_null > $trailling_null and $leading_null > $none) { } |
|
|
0 |
39 |
elsif ($trailling_null > $leading_null and $trailling_null > $none) { } |
|
114
|
71 |
19 |
if (length($str) % 4 != 0) |
|
118
|
19 |
0 |
length $str > 1024 ? : |
|
126
|
0 |
4864 |
if ($char =~ /^\0\0\0/u) |
|
130
|
0 |
4864 |
if ($char =~ /\0\0\0$/u) |
|
134
|
4864 |
0 |
unless ($got_null) |
|
139
|
0 |
19 |
if ($leading_null > $trailling_null and $leading_null > $none) { } |
|
|
0 |
19 |
elsif ($trailling_null > $leading_null and $trailling_null > $none) { } |
|
153
|
157 |
0 |
length $str > 8192 ? : |
|
158
|
91 |
345920 |
if ($j > $#guessers) |
|
162
|
39 |
345881 |
if ($take == 2) { } |
|
|
218 |
345663 |
elsif ($take == 1) { } |
|
168
|
0 |
62984 |
unless (@guessers) |
|
232
|
0 |
90 |
if (defined $char) |
|
237
|
0 |
90 |
if (defined $char) |
|
242
|
0 |
90 |
if (defined $char) |
|
248
|
23 |
67 |
unless (has_high_bit($str)) |
|
250
|
23 |
0 |
@chars > 0 ? : |
|
257
|
67 |
0 |
@chars > 0 ? : |