line |
true |
false |
branch |
96
|
0 |
1 |
if ('MongoDBx::Tiny::Document' ne $class)
|
203
|
0 |
0 |
if ($stat->{'caller'})
|
213
|
0 |
0 |
unless @_
|
215
|
0 |
0 |
if (@_)
|
220
|
0 |
0 |
unless ($class->can($name))
|
223
|
0 |
0 |
unless ($self->_completed)
|
225
|
0 |
0 |
unless ($essential->{$name})
|
237
|
0 |
0 |
if (@_ >= 1)
|
240
|
0 |
0 |
if (@_ == 1) { }
|
|
0 |
0 |
elsif (@_ > 1) { }
|
263
|
0 |
0 |
if ($stat->{'caller'}) { }
|
273
|
0 |
0 |
if (@_)
|
278
|
0 |
0 |
unless ($class->can($c_name))
|
295
|
0 |
0 |
if ($stat->{'caller'})
|
298
|
0 |
0 |
if (@_)
|
312
|
0 |
0 |
if ($stat->{'caller'})
|
317
|
0 |
0 |
if ($name)
|
337
|
0 |
0 |
unless my $document = shift()
|
338
|
0 |
0 |
unless my $tiny = shift()
|
349
|
0 |
0 |
if $field
|
356
|
0 |
0 |
if $field
|
389
|
0 |
0 |
if (ref $essential[0] eq 'ARRAY')
|
392
|
0 |
0 |
@essential ? :
|
393
|
0 |
0 |
unless $ret->{'_id'}
|
411
|
0 |
0 |
if $name
|
420
|
0 |
0 |
unless $reserved
|
421
|
0 |
0 |
if $condition
|
452
|
0 |
0 |
unless ($tiny->connection)
|
516
|
0 |
0 |
if ($document and !ref($document) eq 'HASH')
|
524
|
0 |
0 |
if (not $document) { }
|
527
|
0 |
0 |
unless keys %$document
|
534
|
0 |
0 |
if ($validator->has_error)
|
537
|
0 |
0 |
unless ($opt->{'no_trigger'})
|
547
|
0 |
0 |
unless ($opt->{'no_trigger'})
|
564
|
0 |
0 |
unless ($opt->{'no_trigger'})
|
571
|
0 |
0 |
unless ($opt->{'no_trigger'})
|
642
|
0 |
0 |
unless (defined $_->{'name'})
|
645
|
0 |
0 |
unless (ref $_->{'callback'} eq 'CODE')
|
659
|
0 |
0 |
if ($name)
|