Branch Coverage

blib/lib/Term/Table/LineBreak.pm
Criterion Covered Total %
branch 17 20 85.0


line true false branch
17 0 140 unless defined $self->{'string'}
38 68 1758 unless defined $char
41 69 1757 unless $l
43 0 1757 if $char eq "\n"
45 1 1756 if ($size + $l > $len)
55 14 180 if $size == $len and @chars and $chars[0] eq "\n"
70 476 19 if (@_) { }
72 136 340 if not $self->{'_len'} or $self->{'_len'} != $len
76 0 19 unless $self->{'_parts'}
82 231 264 if $idx >= @$parts