Branch Coverage

blib/lib/Tree/Simple/View/ASCII.pm
Criterion Covered Total %
branch 27 38 71.0


line true false branch
19 8 4 unless $t->isRoot
31 2 2 if $self->{'include_trunk'}
35 2 0 if $self->{'include_trunk'} and defined $full_path[0] and $self->_compareNodeToPath($full_path[0], $tree)
51 2 2 if $self->{'include_trunk'}
56 28 32 $t == $siblings[-1] ? :
77 4 96 $t->isRoot ? :
79 52 48 if $self->{'include_trunk'}
83 0 136 unless $vert_dashes->[$_]
86 12 88 $sibling_count == 1 ? :
88 40 60 if $sibling_count == $t->getIndex + 1
92 50 50 exists $self->{'config'}{'node_formatter'} ? :
100 36 44 $is_last ? :
80 20 $depth ? :
109 8 28 if defined $current_path and $self->_compareNodeToPath($current_path, $child)
124 100 0 unless defined $self->{'config'} and defined $self->{'config'}{'characters'}
127 0 0 unless $chars->{'pipe'}
128 0 0 unless $chars->{'indent'}
129 0 0 unless $chars->{'last_branch'}
130 0 0 unless $chars->{'branch'}