Branch Coverage

blib/lib/Tree/Simple/View/DHTML.pm
Criterion Covered Total %
branch 47 48 97.9


line true false branch
28 1 84 if $self->{'config'}{'use_tree_uids'}
43 5 41 if (defined $current_path and $self->_compareNodeToPath($current_path, $t))
48 12 34 if $last_depth > $current_depth
49 16 30 if (not $t->isLeaf) { }
60 1 2 if $self->{'include_trunk'}
63 1 2 if $self->{'include_trunk'}
80 9 67 if (defined $current_path and $self->_compareNodeToPath($current_path, $t))
85 20 56 if $last_depth > $current_depth
86 26 50 if (not $t->isLeaf) { }
96 1 4 if $self->{'include_trunk'}
99 1 4 if $self->{'include_trunk'}
112 8 23 if $last_depth > $current_depth
113 11 20 if (not $t->isLeaf) { }
124 1 1 if $self->{'include_trunk'}
127 1 1 if $self->{'include_trunk'}
143 25 69 if $last_depth > $current_depth
144 32 62 if (not $t->isLeaf) { }
154 1 6 if $self->{'include_trunk'}
157 1 6 if $self->{'include_trunk'}
202 2 10 if (exists $config{'link_css'}) { }
3 7 elsif (exists $config{'link_css_class'}) { }
210 0 12 if (exists $config{'form_element_formatter'}) { }
214 1 11 if (exists $config{'radio_button'}) { }
1 10 elsif (exists $config{'checkbox'}) { }