Condition Coverage

blib/lib/HTML/ReportWriter/PagingAndSorting.pm
Criterion Covered Total %
condition 0 71 0.0


and 3 conditions

line !l l&&!r l&&r condition
261 0 0 0 defined $$args{'CGI_OBJECT'} and UNIVERSAL::isa($$args{'CGI_OBJECT'}, 'CGI')
289 0 0 0 not $sort_dir and $sort_col
319 0 0 0 $sort_dir || $sort_col and not $$args{'SORTABLE_COLUMNS'}
412 0 0 0 $$self{'CURRENT_PAGE'} - $pages_on_either_side >= 1 and $$self{'CURRENT_PAGE'} + $pages_on_either_side <= $total_pages
528 0 0 0 $_ eq 'FIRST' || $_ eq 'PREV' and $$self{'CURRENT_PAGE'} != 1
0 0 0 $_ eq 'NEXT' || $_ eq 'LAST' and $$self{'CURRENT_PAGE'} != $total_pages
666 0 0 0 $dir and $sort
0 0 0 $dir and $sort and none sub { $$_{'get'} eq $sort; } , @{$$self{'SORTABLE_COLUMNS'};}
671 0 0 0 $dir and $sort

or 2 conditions

line l !l condition
278 0 0 $$args{'CGI_OBJECT'}->param($$args{'PAGE_VARIABLE'}) || 1

or 3 conditions

line l !l&&r !l&&!r condition
282 0 0 0 $$args{'CGI_OBJECT'}->param($$args{'SORT_VARIABLE'}) || $$args{'DEFAULT_SORT'}
319 0 0 0 $sort_dir || $sort_col
0 0 0 $sort_dir || $sort_col and not $$args{'SORTABLE_COLUMNS'} or ref $$args{'SORTABLE_COLUMNS'} ne 'ARRAY'
503 0 0 0 $$self{'NUM_RESULTS'} == 0 or $$self{'RESULTS_PER_PAGE'} == 0
528 0 0 0 $_ eq 'FIRST' || $_ eq 'PREV'
0 0 0 $_ eq 'NEXT' || $_ eq 'LAST'
0 0 0 $_ eq 'FIRST' or $_ eq 'PREV'
0 0 0 $_ eq 'FIRST' or $_ eq 'PREV' or $_ eq 'NEXT'
0 0 0 $_ eq 'FIRST' or $_ eq 'PREV' or $_ eq 'NEXT' or $_ eq 'LAST'
657 0 0 0 not $$self{'SORTABLE_COLUMNS'} or ref $$self{'SORTABLE_COLUMNS'} ne 'ARRAY'
678 0 0 0 $$self{'SORTABLE_COLUMNS'}[$index]{'order'} || $$self{'SORTABLE_COLUMNS'}[$index]{'sql'}
765 0 0 0 not $$self{'SORTABLE_COLUMNS'} or ref $$self{'SORTABLE_COLUMNS'} ne 'ARRAY'
776 0 0 0 !defined($$self{'CURRENT_SORT_COL'}) || $sort ne $$self{'CURRENT_SORT_COL'}
839 0 0 0 !defined($$self{'CURRENT_SORT_COL'}) || $$col{'get'} ne $$self{'CURRENT_SORT_COL'}