line |
true |
false |
branch |
261
|
0 |
0 |
unless (defined $$args{'CGI_OBJECT'} and UNIVERSAL::isa($$args{'CGI_OBJECT'}, 'CGI')) |
268
|
0 |
0 |
unless defined $$args{'RESULTS_PER_PAGE'} |
269
|
0 |
0 |
unless defined $$args{'PAGES_IN_LIST'} |
270
|
0 |
0 |
unless defined $$args{'PAGE_VARIABLE'} |
271
|
0 |
0 |
unless defined $$args{'NUM_RESULTS'} |
274
|
0 |
0 |
unless defined $$args{'SORT_VARIABLE'} |
275
|
0 |
0 |
unless defined $$args{'DEFAULT_SORT'} |
279
|
0 |
0 |
unless defined $$args{'CURRENT_PAGE'} |
284
|
0 |
0 |
if ($sort) |
289
|
0 |
0 |
if (not $sort_dir and $sort_col) |
294
|
0 |
0 |
unless defined $$args{'CURRENT_SORT_COL'} |
295
|
0 |
0 |
unless defined $$args{'CURRENT_SORT_DIR'} |
298
|
0 |
0 |
unless defined $$args{'PREV_HTML'} |
299
|
0 |
0 |
unless defined $$args{'NEXT_HTML'} |
300
|
0 |
0 |
unless defined $$args{'FIRST_HTML'} |
301
|
0 |
0 |
unless defined $$args{'LAST_HTML'} |
304
|
0 |
0 |
unless defined $$args{'ASC_HTML'} |
305
|
0 |
0 |
unless defined $$args{'DESC_HTML'} |
308
|
0 |
0 |
if (!$$args{'PAGES_IN_LIST'} % 2) |
315
|
0 |
0 |
unless defined $$args{'LANGUAGE_TOKENS'} |
319
|
0 |
0 |
if ($sort_dir || $sort_col and not $$args{'SORTABLE_COLUMNS'} or ref $$args{'SORTABLE_COLUMNS'} ne 'ARRAY') |
355
|
0 |
0 |
if ($$self{'RESULTS_PER_PAGE'} != 0) { } |
360
|
0 |
0 |
if ($$self{'CURRENT_PAGE'} > $total_pages) |
370
|
0 |
0 |
if ($$self{'CURRENT_PAGE'} > 1) |
395
|
0 |
0 |
if ($$self{'RESULTS_PER_PAGE'} == 0) |
404
|
0 |
0 |
if ($$self{'CURRENT_PAGE'} > $total_pages) |
412
|
0 |
0 |
if ($$self{'CURRENT_PAGE'} == $total_pages) { } |
|
0 |
0 |
elsif ($$self{'CURRENT_PAGE'} - $pages_on_either_side >= 1 and $$self{'CURRENT_PAGE'} + $pages_on_either_side <= $total_pages) { } |
|
0 |
0 |
elsif ($$self{'CURRENT_PAGE'} - $$self{'PAGES_IN_LIST'} < 1) { } |
|
0 |
0 |
elsif ($$self{'CURRENT_PAGE'} + $$self{'PAGES_IN_LIST'} > $total_pages) { } |
415
|
0 |
0 |
if $min < 1 |
432
|
0 |
0 |
if ($$self{'PAGES_IN_LIST'} > $total_pages) { } |
445
|
0 |
0 |
if $min < 1 |
479
|
0 |
0 |
if ($oldpage) { } |
503
|
0 |
0 |
if $$self{'NUM_RESULTS'} == 0 or $$self{'RESULTS_PER_PAGE'} == 0 |
510
|
0 |
0 |
$$self{'CURRENT_PAGE'} == 1 ? : |
511
|
0 |
0 |
$$self{'CURRENT_PAGE'} == $total_pages ? : |
528
|
0 |
0 |
if ($_ eq 'FIRST' || $_ eq 'PREV' and $$self{'CURRENT_PAGE'} != 1) { } |
|
0 |
0 |
elsif ($_ eq 'NEXT' || $_ eq 'LAST' and $$self{'CURRENT_PAGE'} != $total_pages) { } |
|
0 |
0 |
elsif ($_ eq 'FIRST' or $_ eq 'PREV' or $_ eq 'NEXT' or $_ eq 'LAST') { } |
|
0 |
0 |
elsif ($_ != $$self{'CURRENT_PAGE'}) { } |
530
|
0 |
0 |
$_ eq 'FIRST' ? : |
535
|
0 |
0 |
$_ eq 'LAST' ? : |
578
|
0 |
0 |
if ($$self{'RESULTS_PER_PAGE'} != 0) |
585
|
0 |
0 |
if ($@) |
616
|
0 |
0 |
if ($@) |
657
|
0 |
0 |
if (not $$self{'SORTABLE_COLUMNS'} or ref $$self{'SORTABLE_COLUMNS'} ne 'ARRAY') |
666
|
0 |
0 |
if ($dir and $sort and none sub {
$$_{'get'} eq $sort;
}
, @{$$self{'SORTABLE_COLUMNS'};}) |
671
|
0 |
0 |
if ($dir and $sort) |
674
|
0 |
0 |
if ($$self{'SORTABLE_COLUMNS'}[$index]{'get'} ne $sort) |
679
|
0 |
0 |
if ($sort =~ / AS /i) |
765
|
0 |
0 |
if (not $$self{'SORTABLE_COLUMNS'} or ref $$self{'SORTABLE_COLUMNS'} ne 'ARRAY') |
770
|
0 |
0 |
if (none sub {
$$_{'get'} eq $sort;
}
, @{$$self{'SORTABLE_COLUMNS'};}) |
776
|
0 |
0 |
$$self{'CURRENT_SORT_DIR'} eq 'ASC' ? : |
|
0 |
0 |
!defined($$self{'CURRENT_SORT_COL'}) || $sort ne $$self{'CURRENT_SORT_COL'} ? : |
789
|
0 |
0 |
if ($oldsort) { } |
798
|
0 |
0 |
if ($oldpage) |
838
|
0 |
0 |
$$col{'sortable'} ? : |
839
|
0 |
0 |
$url ? : |
|
0 |
0 |
$url ? : |
|
0 |
0 |
$$self{'CURRENT_SORT_DIR'} eq 'ASC' ? : |
|
0 |
0 |
!defined($$self{'CURRENT_SORT_COL'}) || $$col{'get'} ne $$self{'CURRENT_SORT_COL'} ? : |