blib/lib/MongoDBx/Tiny.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 47 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
349 | 0 | 0 | 0 | $reserved and my(@attr) = keys %$reserved |
390 | 0 | 0 | 0 | $reserved and my(@attr) = keys %$reserved |
431 | 0 | 0 | 0 | not $opt->{'no_trigger'} and $d_class->trigger('before_update') |
442 | 0 | 0 | 0 | not $opt->{'no_trigger'} and $d_class->trigger('after_update') |
468 | 0 | 0 | 0 | not $opt->{'no_trigger'} and $d_class->trigger('before_remove') |
479 | 0 | 0 | 0 | not $opt->{'no_trigger'} and $d_class->trigger('after_remove') |
line | l | !l | condition |
---|---|---|---|
238 | 0 | 0 | shift() || {'no_cache', 0} |
463 | 0 | 0 | shift() || {} |
588 | 0 | 0 | shift() || {} |
697 | 0 | 0 | $d_class->indexes || [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
350 | 0 | 0 | 0 | $proto->{$_} ||= $reserved->{$_} |
391 | 0 | 0 | 0 | $query->{$_} ||= $reserved->{$_} |
414 | 0 | 0 | 0 | shift() || confess('no collection name') |
415 | 0 | 0 | 0 | shift() || confess('no query') |
461 | 0 | 0 | 0 | shift() || confess('no collection name') |
462 | 0 | 0 | 0 | shift() || confess('no query') |
597 | 0 | 0 | 0 | $opt{'database'} || $self->database |