Branch Coverage

blib/lib/HTML/Pager.pm
Criterion Covered Total %
branch 0 96 0.0


line true false branch
319 0 0 unless exists $$self{'query'}
321 0 0 unless ref $$self{'query'} eq 'CGI'
324 0 0 if exists $$self{'persist_vars'} and ref $$self{'persist_vars'} ne 'ARRAY'
328 0 0 unless exists $$self{'rows'}
330 0 0 if $$self{'rows'} < 0
333 0 0 unless exists $$self{'page_size'}
335 0 0 if $$self{'page_size'} <= 0
338 0 0 unless exists $$self{'get_data_callback'}
340 0 0 unless ref $$self{'get_data_callback'} and ref $$self{'get_data_callback'} ne 'CODE' || ref $$self{'get_data_callback'} ne 'ARRAY'
344 0 0 unless exists $$self{'debug'}
345 0 0 unless exists $$self{'column_names'}
346 0 0 unless exists $$self{'persist_vars'}
347 0 0 unless exists $$self{'javascript_presubmit'}
350 0 0 unless exists $$self{'cell_space_color'}
351 0 0 unless exists $$self{'cell_background_color'}
352 0 0 unless exists $$self{'nav_background_color'}
371 0 0 if (defined $query->param('PAGER_offset')) { }
377 0 0 if $$self{'debug'}
386 0 0 if (ref $$self{'get_data_callback'} eq 'CODE') { }
0 0 elsif (ref $$self{'get_data_callback'} eq 'ARRAY') { }
389 0 0 unless defined $$self{'data'}
398 0 0 unless defined $$self{'data'}
404 0 0 if $$self{'debug'}
408 0 0 if (ref $$self{'data'} ne 'ARRAY')
413 0 0 if (defined $$self{'data'}[0] and ref $$self{'data'}[0] eq 'ARRAY') { }
421 0 0 unless ref $rowRef eq $args_type
426 0 0 unless (exists $$self{'template'})
430 0 0 if (scalar @{$rowRef;} > $$self{'cols'})
434 0 0 if (defined $$self{'column_names'})
435 0 0 if (scalar @{$$self{'column_names'};} > $$self{'cols'})
448 0 0 if ($args_type eq 'ARRAY') { }
451 0 0 if (defined $$self{'column_names'})
465 0 0 unless defined $value
469 0 0 if ($x)
480 0 0 if ($$self{'offset'} + $$self{'page_size'} < $$self{'rows'})
484 0 0 if ($$self{'offset'} > 0)
486 0 0 if ($prev_offset < 0)
497 0 0 if ($this_page_number =~ /\./)
507 0 0 if ($offset < $$self{'rows'}) { }
517 0 0 if ($offset >= 0) { }
0 0 elsif ($between_pages) { }
530 0 0 if (exists $jump_links{-6})
534 0 0 if (exists $jump_links{$x})
535 0 0 if ($x != 0) { }
544 0 0 if (exists $jump_links{6})
549 0 0 if ($did_others)
556 0 0 if ($javascript_presubmit) { }
671 0 0 if (@_ == 1 and ref $_[0] eq 'ARRAY') { }