Condition Coverage

blib/lib/HTML/Menu/TreeView.pm
Criterion Covered Total %
condition 33 90 36.6


and 3 conditions

line !l l&&!r l&&r condition
409 7 1 5 defined $p[0] and $p[0] =~ /(16|22|32|48|64|128)/
506 2 0 0 defined $p[0] and $p[0] =~ /(0|1)/
528 1 0 1 defined $p[0] and $p[0] =~ /(\d+)/
1 1 0 defined $p[0] and $p[0] =~ /(\d+)/ and $#p == 0
555 0 0 0 defined $p[0] and $p[0] =~ /(0|1)/
579 0 0 0 defined $p[0] and $p[0] =~ /(0|1)/
605 0 0 0 defined $p[0] and $p[0] =~ /(0|1)/
632 0 0 0 defined $p[0] and $p[0] =~ /(\d+)/
659 2 0 2 defined $p[0] and $p[0] =~ /(0|1)/
1118 20 0 0 defined $HTML::Menu::TreeView::orderbyColumn and $HTML::Menu::TreeView::orderbyColumn >= 0
1135 16 0 10 ref @$tree[$i]->{'subtree'}[0] eq 'HASH' and not defined @$tree[$i]->{'empty'}
1168 0 0 0 ref $HTML::Menu::TreeView::a->{'subtree'}[0] eq 'HASH' and ref $HTML::Menu::TreeView::b->{'subtree'}[0] eq 'HASH'
1201 20 107 16 defined $_[0] and not ref $_[0]
127 16 0 defined $_[0] and not ref $_[0] and $_[0] eq 'HTML::Menu::TreeView'
1202 20 123 0 defined $_[0] && (ref $_[0] eq 'HTML::Menu::TreeView' || UNIVERSAL::isa($_[0], 'HTML::Menu::TreeView'))
1239 10 22 0 $HTML::Menu::TreeView::anker{$key} and $node->{$key}
1247 5 0 0 ($HTML::Menu::TreeView::columns > 0 || defined $node->{'addition'}) && !defined($node->{'style'})
1321 10 21 0 $HTML::Menu::TreeView::anker{$key} and $node->{$key}
1329 5 0 0 ($HTML::Menu::TreeView::columns > 0 || defined $node->{'addition'}) && !defined($node->{'style'})
1394 0 0 0 $HTML::Menu::TreeView::anker{$key} and $node->{$key}
1402 0 0 0 ($HTML::Menu::TreeView::columns > 0 || defined $node->{'addition'}) && !defined($node->{'style'})
1466 0 0 0 $HTML::Menu::TreeView::anker{$key} and $node->{$key}
1474 0 0 0 ($HTML::Menu::TreeView::columns > 0 || defined $node->{'addition'}) && !defined($node->{'style'})
1530 3 3 0 $HTML::Menu::TreeView::anker{$key} and $node->{$key}
1538 1 0 0 ($HTML::Menu::TreeView::columns > 0 || defined $node->{'addition'}) && !defined($node->{'style'})
1588 45 50 0 $HTML::Menu::TreeView::anker{$key} and $node->{$key}
1596 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
1109 0 0 0 $a or $b
1120 0 0 0 $a or $b