line |
true |
false |
branch |
95
|
5 |
211 |
$nss->doesExtend($type, $duration_type) ? : |
|
0 |
216 |
$nss->doesExtend($type, $date_type) ? : |
|
4 |
216 |
$nss->doesExtend($type, $date_time_type) ? : |
|
23 |
220 |
$is_list ? : |
97
|
0 |
243 |
unless $def |
105
|
0 |
0 |
unless $ws eq 'collapse' |
113
|
2 |
0 |
$ws eq 'preserve' ? : |
|
2 |
2 |
$ws eq 'collapse' ? : |
|
2 |
4 |
$ws eq 'replace' ? : |
124
|
0 |
0 |
unless $ws eq 'collapse' |
131
|
1 |
1 |
ref $_[0] ? : |
137
|
1 |
1 |
ref $_[0] ? : |
148
|
2 |
70 |
if $args->{'sloppy_integers'} |
153
|
0 |
70 |
if ($value =~ /[.eE]/) { } |
|
0 |
70 |
elsif (substr($value, 0, 1) eq '-') { } |
155
|
0 |
0 |
$c =~ s/[eE][+-]?([0-9]+)// ? : |
156
|
0 |
0 |
$c =~ /^[-+]?([0-9]*)/ ? : |
157
|
0 |
0 |
if $pre >= 15 or $pre + $exp >= 308 |
162
|
0 |
0 |
if length $value > 21 or length $value == 21 and $value gt -9.2233720368547758e+18 |
167
|
6 |
64 |
if length $value > 19 or length $value == 19 and $value gt 9223372036854775808 |
178
|
17 |
7 |
if $_[0] >= $min |
187
|
3 |
2 |
if $_[0] > $min |
196
|
13 |
6 |
if $_[0] <= $max |
205
|
3 |
2 |
if $_[0] < $max |
216
|
9 |
39 |
ref $_[0] eq 'ARRAY' ? : |
217
|
30 |
18 |
if exists $enum{$v} |
231
|
24 |
2 |
if $total >= $v =~ tr/0-9// |
260
|
0 |
4 |
unless ($v =~ /^(?:[+-]?)(?:[0-9]*)(?:\.([0-9]*))?$/) |
265
|
1 |
3 |
if ($1 and length $1 > $frac) |
270
|
3 |
0 |
if $total >= $v =~ tr/0-9// |
279
|
6 |
9 |
if defined $_[0] and length $_[0] == $len |
287
|
2 |
4 |
if defined $_[0] and @{$_[0];} == $len |
296
|
4 |
0 |
if defined $_[0] and length $_[0] >= $len |
304
|
0 |
0 |
if defined $_[0] and @{$_[0];} >= $len |
313
|
0 |
0 |
if defined $_[0] and length $_[0] <= $len |
321
|
0 |
0 |
if defined $_[0] and @{$_[0];} <= $len |
329
|
0 |
30 |
unless @$pats |
330
|
30 |
0 |
@$pats == 1 ? : |
335
|
0 |
26 |
unless defined $_[0] |
336
|
10 |
16 |
ref $_[0] ? : |
337
|
20 |
6 |
if $compiled->matches($v) |
345
|
2 |
0 |
if $_[0] gt $min |
353
|
2 |
0 |
if $_[0] lt $max |
365
|
0 |
0 |
unless not $_[0] =~ /$tz/ |
370
|
0 |
0 |
unless $_[0] =~ /$tz/ |
374
|
0 |
0 |
$enum eq 'required' ? : |
|
0 |
0 |
$enum eq 'prohibited' ? : |
|
0 |
0 |
$enum eq 'optional' ? : |
382
|
4 |
1 |
if &duration2secs($_[0]) >= $secs |
393
|
0 |
0 |
if &duration2secs($_[0]) > $secs |
404
|
0 |
0 |
if &duration2secs($_[0]) <= $secs |
415
|
0 |
0 |
if &duration2secs($_[0]) < $secs |