line |
true |
false |
branch |
130
|
0 |
1 |
if (ref $opt->{'connect_info'} eq 'ARRAY')
|
133
|
0 |
1 |
if ($opt->{'database_name'})
|
139
|
1 |
0 |
if ($@)
|
237
|
0 |
0 |
unless my $name = shift()
|
239
|
0 |
0 |
if ($opt->{'no_cache'}) { }
|
243
|
0 |
0 |
if $cache->{$name}
|
290
|
0 |
0 |
unless my $c_name = shift()
|
291
|
0 |
0 |
unless my $document = shift()
|
298
|
0 |
0 |
if ($validator->has_error)
|
303
|
0 |
0 |
unless ($opt->{'no_trigger'})
|
310
|
0 |
0 |
unless ($opt->{'no_trigger'})
|
343
|
0 |
0 |
unless (ref $proto eq 'HASH')
|
349
|
0 |
0 |
if ($reserved and my(@attr) = keys %$reserved)
|
359
|
0 |
0 |
unless $document
|
390
|
0 |
0 |
if ($reserved and my(@attr) = keys %$reserved)
|
395
|
0 |
0 |
if (wantarray) { }
|
418
|
0 |
0 |
unless $document
|
425
|
0 |
0 |
if ($validator->has_error)
|
431
|
0 |
0 |
if (not $opt->{'no_trigger'} and $d_class->trigger('before_update'))
|
442
|
0 |
0 |
if (not $opt->{'no_trigger'} and $d_class->trigger('after_update'))
|
468
|
0 |
0 |
if (not $opt->{'no_trigger'} and $d_class->trigger('before_remove'))
|
479
|
0 |
0 |
if (not $opt->{'no_trigger'} and $d_class->trigger('after_remove'))
|
508
|
0 |
0 |
unless my $c_name = shift()
|
509
|
0 |
0 |
unless my $document = shift()
|
510
|
0 |
0 |
unless $document->{'_id'}
|
542
|
0 |
0 |
unless my $c_name = shift()
|
543
|
0 |
0 |
unless my $document = shift()
|
600
|
0 |
0 |
if $self->{'gridfs'}
|
615
|
0 |
0 |
unless my $c_name = shift()
|
648
|
0 |
1 |
ref $proto ? :
|
649
|
0 |
1 |
$pkg =~ s/^\+// ? :
|
654
|
0 |
2 |
if $class->can($method)
|
677
|
0 |
0 |
unless my $c_name = shift()
|
678
|
0 |
0 |
unless my $method = shift()
|
706
|
0 |
0 |
if (ref $field eq 'ARRAY')
|
709
|
0 |
0 |
ref $field ? :
|
712
|
0 |
0 |
unless ($index_exists)
|