Branch Coverage

blib/lib/Text/Tree.pm
Criterion Covered Total %
branch 25 32 78.1


line true false branch
109 15 38 unless $want
113 19 37 if $want > length $_
116 29 24 if wantarray
124 0 24 unless $want
128 16 8 if $want > length $_
132 0 24 if wantarray
168 0 10 if ($style =~ /center/) { }
173 0 10 if $style =~ /space/
174 5 5 if $style =~ /line|box/
175 0 10 if $style =~ /oval|round/
205 6 4 unless @children
212 4 4 if (@out) { }
225 4 10 unless $out[$_]
251 0 4 if (@children == 1) { }
275 4 0 if $lines =~ s/^( *)//
287 1 3 substr($lines, $pos, 1) eq '.' ? :