line |
true |
false |
branch |
77
|
0 |
0 |
if (ref $keys eq 'ARRAY' or ref $keys eq 'HASH') { } |
|
0 |
0 |
elsif (ref $keys eq 'Tie::IxHash') { } |
138
|
0 |
0 |
if $query and ref $query ne 'HASH' and ref $query ne 'Tie::IxHash' and ref $query ne 'ARRAY' || ref $query eq 'ARRAY' && scalar @$query % 2 != 0 |
146
|
0 |
33 |
if ($query and ref $query eq 'ARRAY') |
151
|
0 |
33 |
if ($query and ref $query eq 'Tie::IxHash') |
205
|
0 |
7 |
unless $docs and ref $docs eq 'ARRAY' |
209
|
0 |
0 |
unless $doc and ref $doc eq 'HASH' || ref $doc eq 'Tie::IxHash' || ref $doc eq 'ARRAY' && scalar @$doc % 2 == 0 |
213
|
0 |
12 |
if ($doc and ref $doc eq 'ARRAY') |
218
|
0 |
12 |
if ($doc and ref $doc eq 'Tie::IxHash') |
225
|
6 |
6 |
blessed($$doc{'_id'}) && blessed($$doc{'_id'}) eq 'MorboDB::OID' ? : |
227
|
0 |
12 |
if exists $self->_data->{$oid} |
262
|
0 |
0 |
if $query and ref $query ne 'HASH' and ref $query ne 'Tie::IxHash' and ref $query ne 'ARRAY' || ref $query eq 'ARRAY' && scalar @$query % 2 != 0 |
271
|
0 |
4 |
unless $update and ref $update eq 'HASH' |
274
|
0 |
4 |
if $opts and ref $opts ne 'HASH' |
280
|
0 |
4 |
if ($$opts{'multiple'}) { } |
284
|
2 |
2 |
if $doc |
287
|
2 |
2 |
if (scalar @docs == 0 and $$opts{'upsert'}) { } |
291
|
0 |
2 |
if $_ eq '_id' |
292
|
2 |
0 |
unless ref $$query{$_} |
338
|
0 |
0 |
if $query and ref $query ne 'HASH' and ref $query ne 'Tie::IxHash' and ref $query ne 'ARRAY' || ref $query eq 'ARRAY' && scalar @$query % 2 != 0 |
345
|
0 |
4 |
if $opts and ref $opts ne 'HASH' |
351
|
0 |
4 |
$$opts{'just_one'} ? : |
353
|
5 |
5 |
blessed($$_{'_id'}) && blessed($$_{'_id'}) eq 'MorboDB::OID' ? : |
384
|
0 |
18 |
unless $doc and ref $doc eq 'HASH' |
389
|
9 |
9 |
blessed($$doc{'_id'}) && blessed($$doc{'_id'}) eq 'MorboDB::OID' ? : |