line |
true |
false |
branch |
72
|
0 |
0 |
unless defined $target
|
73
|
0 |
0 |
if (ref $target eq 'ARRAY') { }
|
74
|
0 |
0 |
if (@$target > $max or defined $min and @$target < $min)
|
78
|
0 |
0 |
if (length $target > $max or defined $min and length $target < $min)
|
96
|
0 |
0 |
unless defined $target
|
97
|
0 |
0 |
unless $target =~ /\A[+-]?[0-9]+\z/
|
112
|
0 |
0 |
unless defined $target
|
113
|
0 |
0 |
if $target =~ /[^0-9]/
|
128
|
0 |
0 |
unless defined $target
|
129
|
0 |
0 |
unless $target =~ /^[a-f\d]+$/
|
144
|
0 |
0 |
unless defined $target
|
145
|
0 |
0 |
if ref $target
|
163
|
0 |
0 |
unless defined $target
|
165
|
0 |
0 |
unless grep {$target eq $_;} @list
|
181
|
0 |
0 |
unless defined $target
|
182
|
0 |
0 |
unless ref $target eq $type
|
197
|
0 |
0 |
unless defined $target
|
198
|
0 |
0 |
unless ref $target eq 'HASH'
|
213
|
0 |
0 |
unless defined $target
|
214
|
0 |
0 |
unless ref $target eq 'ARRAY'
|
230
|
0 |
0 |
if ($target)
|
231
|
0 |
0 |
unless ref $target eq 'DateTime'
|
266
|
0 |
0 |
unless defined $target
|
267
|
0 |
0 |
unless $target =~ /$regex/
|
283
|
0 |
0 |
unless defined $target
|
299
|
0 |
0 |
unless defined $target
|
300
|
0 |
0 |
unless (ref $target eq 'MongoDB::OID')
|
301
|
0 |
0 |
if ($target =~ /\A[a-fA-F\d]{24}\z/) { }
|
326
|
0 |
0 |
if defined $target and $target ne ''
|
327
|
0 |
0 |
if (ref $default eq 'CODE') { }
|
356
|
0 |
0 |
if ($time_zone eq 'timestamp') { }
|
376
|
0 |
0 |
if $opt->{'state'} eq 'update'
|