Branch Coverage

blib/lib/App/ansicolumn/Util.pm
Criterion Covered Total %
branch 0 46 0.0


line true false branch
12 0 0 unless my $border = +(shift())->{'BORDER'}
38 0 0 if ($lb_flag{$obj->linebreak} & 1) { }
59 0 0 unless $obj->width
81 0 0 if ($obj->discard_el)
91 0 0 if ((my $ls = $obj->linestyle) eq 'truncate') { }
0 0 elsif ($ls eq 'wrap') { }
113 0 0 if $height <= 0
115 0 0 if ($height >= 4 and $top > 2 and not $obj->isolation)
116 0 0 if (not $$dp[$top - 2] =~ /\S/u and $$dp[$top - 1] =~ /\S/u and $dp->[$top] =~ /\S/u)
124 0 0 unless ($obj->white_space)
135 0 0 if (my $remmant = @$dp % $len)
144 0 0 unless defined $obj->fillup and not $obj->fillup =~ /^(?:no|none)$/u
147 0 0 if $obj->fillup eq "page"
154 0 0 unless $obj->pagebreak
161 0 0 unless $dp->[0] =~ s/^([^\f]*)\f//u
162 0 0 if $1 ne ""
165 0 0 if @up
179 0 0 unless ref $index
194 0 0 if $b == 0
202 0 0 if (open my $tty, ">", "/dev/tty")
208 0 0 @size ? :
219 0 0 @$a && $App::ansicolumn::a->[-1] ne '' && $b ne '' ? :
225 0 0 utf8::is_utf8($_) ? :