line |
true |
false |
branch |
191
|
0 |
0 |
if (ref $opts{$opt}) { } |
|
0 |
0 |
elsif (not defined $opts{$opt}) { } |
197
|
0 |
0 |
if (@bad) |
201
|
0 |
0 |
if (not $opts{'dbh'} and $opts{'connect'}) |
202
|
0 |
0 |
unless $opts{'dbh'} = 'DBI'->connect(@{$opts{'connect'};}) |
207
|
0 |
0 |
unless $opts{'dbh'} |
208
|
0 |
0 |
unless $opts{'dbh'}->isa('DBI::db') |
215
|
0 |
0 |
unless exists $opts{'init_id'} |
217
|
0 |
0 |
if (not $opts{'check_sql'} and $opts{'select_sql'}) |
221
|
0 |
0 |
unless ($opts{'select_sql'}) |
234
|
0 |
0 |
unless $opts{$1} |
249
|
0 |
0 |
unless $opts{$1} |
263
|
0 |
0 |
unless $opts{$1} |
266
|
0 |
0 |
unless ($opts{'release_sql'}) |
272
|
0 |
0 |
unless $opts{$1} |
310
|
0 |
0 |
if (eval {
do {
&$callback($self, @{$self;}{'last_id', 'dbh'});
1
}
}) { } |
321
|
0 |
0 |
unless defined $$self{'last_id'} |
324
|
0 |
0 |
unless $$self{'select_args'} |
325
|
0 |
0 |
if (defined $id) { } |
326
|
0 |
0 |
if $self->is_ignored($id) |
327
|
0 |
0 |
unless $$self{'check_args'} |
328
|
0 |
0 |
unless (defined $got_id) |
347
|
0 |
0 |
unless exists $$self{'last_lock'} |
349
|
0 |
0 |
unless $$self{'release_args'} |
352
|
0 |
0 |
unless defined $res |
364
|
0 |
0 |
if (defined $$self{$key}) |
366
|
0 |
0 |
unless $$self{'update_args'} |
|
0 |
0 |
unless my $res = $$self{'dbh'}->do($$self{'update_sql'}, undef, @{[] unless $$self{'update_args'};}, $$self{$key}, $id) |
370
|
0 |
0 |
unless 0 + $res |
386
|
0 |
0 |
if $self |