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
403 7 1 5 defined $p[0] and $p[0] =~ /(16|22|32|48|64|128)/
499 2 0 0 defined $p[0] and $p[0] =~ /(0|1)/
521 1 0 1 defined $p[0] and $p[0] =~ /(\d+)/
1 1 0 defined $p[0] and $p[0] =~ /(\d+)/ and $#p == 0
548 0 0 0 defined $p[0] and $p[0] =~ /(0|1)/
572 0 0 0 defined $p[0] and $p[0] =~ /(0|1)/
598 0 0 0 defined $p[0] and $p[0] =~ /(0|1)/
625 0 0 0 defined $p[0] and $p[0] =~ /(\d+)/
652 2 0 2 defined $p[0] and $p[0] =~ /(0|1)/
1108 20 0 0 defined $HTML::Menu::TreeView::orderbyColumn and $HTML::Menu::TreeView::orderbyColumn >= 0
1125 16 0 10 ref @$tree[$i]->{'subtree'}[0] eq 'HASH' and not defined @$tree[$i]->{'empty'}
1157 0 0 0 ref $HTML::Menu::TreeView::a->{'subtree'}[0] eq 'HASH' and ref $HTML::Menu::TreeView::b->{'subtree'}[0] eq 'HASH'
1190 20 107 16 defined $_[0] and not ref $_[0]
127 16 0 defined $_[0] and not ref $_[0] and $_[0] eq 'HTML::Menu::TreeView'
1191 20 21 102 defined $_[0] && (ref $_[0] eq 'HTML::Menu::TreeView' || UNIVERSAL::isa($_[0], 'HTML::Menu::TreeView'))
1225 10 7 15 $HTML::Menu::TreeView::anker{$key} and $node->{$key}
1228 5 0 0 ($HTML::Menu::TreeView::columns > 0 || defined $node->{'addition'}) && !defined($node->{'style'})
1300 10 6 15 $HTML::Menu::TreeView::anker{$key} and $node->{$key}
1303 5 0 0 ($HTML::Menu::TreeView::columns > 0 || defined $node->{'addition'}) && !defined($node->{'style'})
1367 0 0 0 $HTML::Menu::TreeView::anker{$key} and $node->{$key}
1370 0 0 0 ($HTML::Menu::TreeView::columns > 0 || defined $node->{'addition'}) && !defined($node->{'style'})
1433 0 0 0 $HTML::Menu::TreeView::anker{$key} and $node->{$key}
1436 0 0 0 ($HTML::Menu::TreeView::columns > 0 || defined $node->{'addition'}) && !defined($node->{'style'})
1491 3 0 3 $HTML::Menu::TreeView::anker{$key} and $node->{$key}
1494 1 0 0 ($HTML::Menu::TreeView::columns > 0 || defined $node->{'addition'}) && !defined($node->{'style'})
1544 45 5 45 $HTML::Menu::TreeView::anker{$key} and $node->{$key}
1547 15 0 0 ($HTML::Menu::TreeView::columns > 0 || defined $node->{'addition'}) && !defined($node->{'style'})

or 3 conditions

line l !l&&r !l&&!r condition
263 49 0 0 ref $class || $class || $HTML::Menu::TreeView::DefaultClass
1099 0 0 0 $a or $b
1110 0 0 0 $a or $b