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
30 4 3 1 $self->{'include_trunk'} and not +(caller 1)[3] =~ /expandPathSimple$/
35 0 0 1 defined $current_path and $tree->getNodeValue eq $current_path
42 8 10 4 defined $current_path and $self->_compareNodeToPath($current_path, $child)
65 24 30 10 defined $current_path and $self->_compareNodeToPath($current_path, $child)
85 0 0 2 defined $current_path and $self->_compareNodeToPath($current_path, $tree)
257 15 0 15 exists $config{'node_formatter'} and ref $config{'node_formatter'} eq 'CODE'

or 3 conditions

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