Branch Coverage

blib/lib/Javascript/Menu.pm
Criterion Covered Total %
branch 15 44 34.0


line true false branch
44 0 1 if exists $args{'URL'}
48 1 0 if ($class = ref $parent) { }
50 1 0 unless defined $action
57 1 0 defined $action ? :
75 4 0 exists $args{'action'} ? :
80 0 4 if exists $args{'base_URL'}
86 0 3 if exists $args{'base_URL'}
108 0 0 unless $table and $dbh
110 0 0 exists $args{'action'} ? :
112 0 0 if $args{'URL_col'}
118 0 0 if $cols
139 0 2 exists $args{'caption'} ? :
143 0 0 unless ref $styles eq 'HASH' and $$styles{'caption'} and $$styles{'Mmenu'} and $$styles{'Smenu'}
161 2 0 if wantarray
185 2 2 if ($ismain) { }
204 2 6 if ($item->childCount) { }
228 5 5 if ($no_ie and not $item->getURL) { }
326 0 0 $no_ie ? :
330 0 0 $class =~ s/^_// ? :
333 0 0 if $hover
341 0 0 unless ($hover or $no_ie or $no_autolink)
368 0 0 if ($rtl) { }