Branch Coverage

blib/lib/CGI/Widget/Tabs.pm
Criterion Covered Total %
branch 21 64 32.8


line true false branch
208 0 10 if defined $active
212 4 6 if defined $active
216 3 3 if defined $active
251 10 10 if ($cgi)
252 0 10 if (ref $cgi ne 'CGI' and ref $cgi ne 'CGI::Minimal')
295 10 34 if (@_)
324 0 0 if (@_)
327 0 0 unless $$self{'drop_params'}
384 0 0 if (@_)
414 6 6 if (@_)
472 0 10 if (@_)
615 6 3 if (@_)
623 14 0 unless (ref $arg)
625 7 7 if ($arg =~ /^-/)
637 0 0 if (ref $arg eq 'HASH')
638 0 0 unless ($$arg{'text'})
643 0 0 if (exists $$arg{'key'} and $$arg{'key'})
644 0 0 if (exists $$arg{'url'} and $$arg{'url'})
645 0 0 if (exists $$arg{'raw'} and $$arg{'raw'})
646 0 0 if (exists $$arg{'class'} and $$arg{'class'})
654 0 9 unless $$self{'headings'}
701 10 0 if (defined $arg)
702 10 0 $arg ? :
750 0 0 if (@param_list) { }
758 0 0 if (@headings)
769 0 0 if ($heading_nr == 1)
771 0 0 if ($indent and $row_nr > 1)
779 0 0 if (defined $h->class) { }
783 0 0 if $param_value eq $active
793 0 0 if ($wrap and $heading_nr == $wrap)
803 0 0 if ($heading_nr > 1)
830 0 0 if (@_)