Branch Coverage

blib/lib/Data/Report/Plugin/Text.pm
Criterion Covered Total %
branch 51 70 72.8


line true false branch
32 0 25 if ($style and not $self->_checkname($style))
42 3 22 if ($style and my $t = $self->_getstyle($style))
43 0 3 if $$t{'ignore'}
44 0 3 if $$t{'skip_before'}
46 0 3 if $$t{'line_before'}
50 7 18 unless defined $style
61 79 24 $style ? :
62 1 102 if $$t{'ignore'}
64 86 16 defined $$data{$fname} ? :
66 8 94 if ($$col{'truncate'})
74 102 0 if ($t)
76 6 96 defined $$t{'wrap_indent'} ? :
77 0 102 if $indent < 0 or $indent >= $self->_get_fdata->{$fname}{'width'}
80 0 102 if $wrapindent < 0 or $wrapindent >= $self->_get_fdata->{$fname}{'width'}
83 0 102 if ($$t{'line_before'})
84 0 0 $$t{'line_before'} eq '1' ? :
87 8 94 if ($$t{'line_after'})
88 4 4 $$t{'line_after'} eq '1' ? :
91 0 102 if ($$t{'excess'})
94 8 94 if ($$t{'truncate'} or $$col{'truncate'})
102 0 25 if ($linebefore)
113 196 102 if @lines
116 117 181 if (length $values[$i] <= $maxw) { }
122 25 156 if (substr($values[$i], $maxw, 1) eq ' ') { }
156 0 elsif ($t =~ /^(.*)([ ]+)/) { }
140 67 0 if $t =~ /\S/
141 25 42 unless $more
144 0 25 if ($$self{'lines'} < @lines)
151 6 19 if ($lineafter)
156 3 22 if ($line_after) { }
0 22 elsif ($skip_after) { }
223 1 46 if $$t{'ignore'}
227 30 16 if ($$a{'align'} eq '<') { }
249 39 0 if not $self->_does_needskip or $$self{'lines'} <= 0
250 0 0 unless $cancel