Branch Coverage

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


line true false branch
31 0 25 if ($style and not $self->_checkname($style))
41 3 22 if ($style and my $t = $self->_getstyle($style))
42 0 3 if $t->{'ignore'}
43 0 3 if $t->{'skip_before'}
45 0 3 if $t->{'line_before'}
49 7 18 unless defined $style
60 79 24 $style ? :
61 1 102 if $t->{'ignore'}
63 86 16 defined $data->{$fname} ? :
65 8 94 if ($col->{'truncate'})
73 102 0 if ($t)
75 6 96 defined $t->{'wrap_indent'} ? :
78 0 102 if $indent < 0 or $indent >= $self->_get_fdata->{$fname}{'width'}
81 0 102 if $wrapindent < 0 or $wrapindent >= $self->_get_fdata->{$fname}{'width'}
82 0 102 if ($t->{'line_before'})
84 0 0 $t->{'line_before'} eq '1' ? :
86 8 94 if ($t->{'line_after'})
88 4 4 $t->{'line_after'} eq '1' ? :
90 0 102 if ($t->{'excess'})
93 8 94 if ($t->{'truncate'} or $col->{'truncate'})
101 0 25 if ($linebefore)
112 196 102 if @lines
115 117 181 if (length $values[$i] <= $maxw) { }
121 25 156 if (substr($values[$i], $maxw, 1) eq ' ') { }
156 0 elsif ($t =~ /^(.*)([ ]+)/) { }
139 67 0 if $t =~ /\S/
140 25 42 unless $more
143 0 25 if ($self->{'lines'} < @lines)
150 6 19 if ($lineafter)
155 3 22 if ($line_after) { }
0 22 elsif ($skip_after) { }
222 1 46 if $t->{'ignore'}
226 30 16 if ($a->{'align'} eq '<') { }
248 39 0 if not $self->_does_needskip or $self->{'lines'} <= 0
249 0 0 unless $cancel