| line |
true |
false |
branch |
|
14
|
0 |
0 |
unless $dbi->can('last_id') |
|
35
|
0 |
0 |
if ($sdel and not exists $param->{$sdel}) |
|
48
|
0 |
0 |
if (ref $pk) { } |
|
49
|
0 |
0 |
unless defined $param->{$pk} |
|
51
|
0 |
0 |
if $object and $$object{$self->name} |
|
58
|
0 |
0 |
if $object and $$object{$self->name} |
|
81
|
0 |
0 |
if (ref $pk) { } |
|
84
|
0 |
0 |
if exists $param->{$_} |
|
88
|
0 |
0 |
if exists $param->{$pk} |
|
90
|
0 |
0 |
unless ($where or $have_pk) |
|
101
|
0 |
0 |
if ($sdel and not exists $where->{$sdel}) |
|
118
|
0 |
0 |
if (ref $pk) { } |
|
120
|
0 |
0 |
if (exists $where->{$_}) |
|
126
|
0 |
0 |
if (exists $where->{$pk}) |
|
157
|
0 |
0 |
if (defined $where and not ref $where) { } |
|
|
0 |
0 |
elsif (ref $where eq 'ARRAY') { } |
|
160
|
0 |
0 |
if (ref $pk) { } |
|
161
|
0 |
0 |
if (@{$pk;} == 1) { } |
|
165
|
0 |
0 |
if (@{$pk;} <= @_) |
|
179
|
0 |
0 |
if (@{$pk;} <= @ids) |
|
188
|
0 |
0 |
if (ref $where ne 'HASH') |
|
195
|
0 |
0 |
if ($sdel and not exists $where->{$sdel}) |
|
220
|
0 |
0 |
ref $_[0] ? : |
|
221
|
0 |
0 |
$t ? : |
|
226
|
0 |
0 |
if (ref $pk eq 'ARRAY' and @ids >= @{$pk;}) { } |
|
|
0 |
0 |
elsif (ref $pk eq 'ARRAY') { } |
|
238
|
0 |
0 |
if ($sdel and not exists $where->{$sdel}) |
|
263
|
0 |
0 |
if (defined $where and not ref $where) { } |
|
|
0 |
0 |
elsif (ref $where eq 'ARRAY') { } |
|
266
|
0 |
0 |
if (ref $pk) { } |
|
267
|
0 |
0 |
if (@{$pk;} == 1) { } |
|
271
|
0 |
0 |
if (@{$pk;} <= @_) |
|
285
|
0 |
0 |
if (@{$pk;} <= @ids) |
|
297
|
0 |
0 |
if ($sdel and not exists $where->{$sdel}) |
|
301
|
0 |
0 |
if ($sdel) { } |
|
328
|
0 |
0 |
ref $_[0] ? : |
|
329
|
0 |
0 |
$t ? : |
|
334
|
0 |
0 |
if (ref $pk eq 'ARRAY' and @ids >= @{$pk;}) { } |
|
|
0 |
0 |
elsif (ref $pk eq 'ARRAY') { } |
|
346
|
0 |
0 |
if ($sdel and not exists $where->{$sdel}) |
|
350
|
0 |
0 |
if ($sdel) { } |
|
352
|
0 |
0 |
$t ? : |
|
371
|
0 |
0 |
if (ref $_[0]) { } |
|
373
|
0 |
0 |
if (@_ > 0) |
|
374
|
0 |
0 |
ref $_[0] ? : |
|
379
|
0 |
0 |
unless ($ids) |
|
387
|
0 |
0 |
if (ref $pk and @{$pk;} <= @{$ids;}) { } |
|
|
0 |
0 |
elsif (ref $pk) { } |
|
399
|
0 |
0 |
if ($sdel and not exists $where->{$sdel}) |
|
404
|
0 |
0 |
if (defined $ids) |
|
405
|
0 |
0 |
$fields ? : |
|
426
|
0 |
0 |
if ($method =~ /^get_by_(.+)$/) |
|
429
|
0 |
0 |
if (ref $_[0]) |
|
436
|
0 |
0 |
if ($sdel and not exists $where->{$sdel}) |
|
440
|
0 |
0 |
$columns ? : |
|
457
|
0 |
0 |
if ($method =~ /^count_by_(.+)$/) |
|
460
|
0 |
0 |
if (ref $_[0]) |
|
467
|
0 |
0 |
if ($sdel and not exists $where->{$sdel}) |
|
471
|
0 |
0 |
$columns ? : |
|
480
|
0 |
0 |
if ($method =~ /^remove_by_(.+)$/) |
|
493
|
0 |
0 |
if ($method =~ /^sremove_by_(.+)$/) |