Condition Coverage

blib/lib/HTML/Menu/TreeView.pm
Criterion Covered Total %
condition 37 90 41.1


and 3 conditions

line !l l&&!r l&&r condition
408 7 1 5 defined $p[0] and $p[0] =~ /(16|22|32|48|64|128)/
505 2 0 0 defined $p[0] and $p[0] =~ /(0|1)/
527 1 0 1 defined $p[0] and $p[0] =~ /(\d+)/
1 1 0 defined $p[0] and $p[0] =~ /(\d+)/ and $#p == 0
554 0 0 0 defined $p[0] and $p[0] =~ /(0|1)/
578 0 0 0 defined $p[0] and $p[0] =~ /(0|1)/
604 0 0 0 defined $p[0] and $p[0] =~ /(0|1)/
631 0 0 0 defined $p[0] and $p[0] =~ /(\d+)/
658 2 0 2 defined $p[0] and $p[0] =~ /(0|1)/
1117 20 0 0 defined $HTML::Menu::TreeView::orderbyColumn and $HTML::Menu::TreeView::orderbyColumn >= 0
1134 16 0 10 ref @$tree[$i]->{'subtree'}[0] eq 'HASH' and not defined @$tree[$i]->{'empty'}
1167 0 0 0 ref $HTML::Menu::TreeView::a->{'subtree'}[0] eq 'HASH' and ref $HTML::Menu::TreeView::b->{'subtree'}[0] eq 'HASH'
1200 20 107 16 defined $_[0] and not ref $_[0]
127 16 0 defined $_[0] and not ref $_[0] and $_[0] eq 'HTML::Menu::TreeView'
1201 20 21 102 defined $_[0] && (ref $_[0] eq 'HTML::Menu::TreeView' || UNIVERSAL::isa($_[0], 'HTML::Menu::TreeView'))
1238 10 7 15 $HTML::Menu::TreeView::anker{$key} and $node->{$key}
1246 5 0 0 ($HTML::Menu::TreeView::columns > 0 || defined $node->{'addition'}) && !defined($node->{'style'})
1320 10 6 15 $HTML::Menu::TreeView::anker{$key} and $node->{$key}
1328 5 0 0 ($HTML::Menu::TreeView::columns > 0 || defined $node->{'addition'}) && !defined($node->{'style'})
1393 0 0 0 $HTML::Menu::TreeView::anker{$key} and $node->{$key}
1401 0 0 0 ($HTML::Menu::TreeView::columns > 0 || defined $node->{'addition'}) && !defined($node->{'style'})
1465 0 0 0 $HTML::Menu::TreeView::anker{$key} and $node->{$key}
1473 0 0 0 ($HTML::Menu::TreeView::columns > 0 || defined $node->{'addition'}) && !defined($node->{'style'})
1529 3 0 3 $HTML::Menu::TreeView::anker{$key} and $node->{$key}
1537 1 0 0 ($HTML::Menu::TreeView::columns > 0 || defined $node->{'addition'}) && !defined($node->{'style'})
1587 45 5 45 $HTML::Menu::TreeView::anker{$key} and $node->{$key}
1595 15 0 0 ($HTML::Menu::TreeView::columns > 0 || defined $node->{'addition'}) && !defined($node->{'style'})

or 3 conditions

line l !l&&r !l&&!r condition
268 49 0 0 ref $class || $class || $HTML::Menu::TreeView::DefaultClass
1108 0 0 0 $a or $b
1119 0 0 0 $a or $b