| line |
true |
false |
branch |
|
18
|
0 |
4 |
unless $self->filter |
|
40
|
37 |
2 |
if (not defined $_[0] or ref $_[0]) { } |
|
57
|
7 |
32 |
unless ref $self |
|
71
|
0 |
39 |
if ($method eq 'sql_update') |
|
80
|
15 |
24 |
unless $bind_suffix |
|
82
|
39 |
0 |
defined $bind ? : |
|
104
|
1 |
21 |
if (ref $_[0]) { } |
|
117
|
16 |
6 |
if ($params{'suffix'} and ref $params{'suffix'} and ref $params{'suffix'} eq 'ARRAY') { } |
|
|
0 |
6 |
elsif ($params{'suffix'}) { } |
|
126
|
0 |
22 |
if ($params{'fetch_handler'} and ref $params{'fetch_handler'} eq 'CODE') { } |
|
177
|
7 |
9 |
if (ref $_[0] or @_ % 2) { } |
|
197
|
0 |
1 |
if (ref $_[0] or @_ % 2) { } |
|
221
|
0 |
0 |
if defined $filter and ref $filter eq 'HASH' |
|
268
|
22 |
0 |
if (UNIVERSAL::isa($rows, 'ARRAY')) { } |
|
|
0 |
0 |
elsif (UNIVERSAL::isa($rows, 'HASH')) { } |
|
303
|
0 |
0 |
if (exists $$fields{$order}) { } |
|
|
0 |
0 |
elsif ($self->_pk_) { } |
|
310
|
0 |
0 |
if ($dir =~ /^(asc|desc)$/i) { } |
|
321
|
0 |
0 |
unless ($sort_col and $start =~ /\d+/ and $limit =~ /\d+/) |
|
333
|
0 |
0 |
if ($start > $count) |
|
335
|
0 |
0 |
if $start < 0 |
|
338
|
0 |
0 |
if ($limit > $MAX_LIMIT or !$limit > 0) |
|
366
|
0 |
4 |
unless ($pager{'pager_needed'}) |
|
377
|
0 |
4 |
if ($$param{'count'} <= $pages_to_show) |
|
381
|
3 |
1 |
if ($page_number <= $quarter_to_show * 2 + 1) |
|
389
|
0 |
1 |
if ($page_number >= $number_of_pages - ($quarter_to_show * 2 + 1)) |