Condition Coverage

blib/lib/Tree/Simple/View/HTML.pm
Criterion Covered Total %
condition 15 24 62.5


and 3 conditions

line !l l&&!r l&&r condition
31 4 3 1 $self->{'include_trunk'} and not +(caller 1)[3] =~ /expandPathSimple$/
36 0 0 1 defined $current_path and $tree->getNodeValue eq $current_path
43 8 10 4 defined $current_path and $self->_compareNodeToPath($current_path, $child)
66 24 30 10 defined $current_path and $self->_compareNodeToPath($current_path, $child)
86 0 0 2 defined $current_path and $self->_compareNodeToPath($current_path, $tree)
318 19 0 15 exists $config{'node_formatter'} and ref $config{'node_formatter'} eq 'CODE'

or 3 conditions

line l !l&&r !l&&!r condition
230 32 0 0 $self->_buildListFunction(%config) || 'Tree::Simple::View::CompilationFailed'->throw(q[List function didn't compile], $@)
232 32 0 0 $self->_buildListItemFunction(%config) || 'Tree::Simple::View::CompilationFailed'->throw(q[List item function didn't compile], $@)