Branch Coverage

blib/lib/PDF/Make/Builder/Layout/Cell.pm
Criterion Covered Total %
branch 21 28 75.0


line true false branch
63 18 0 unless defined $item->{'size'} or defined $item->{'family'} or defined $item->{'bold'} or defined $item->{'italic'}
80 10 1 if ($item->{'type'} eq 'text') { }
1 0 elsif ($item->{'type'} eq 'image') { }
97 0 24 if (my $tb = XXX)
107 1 24 unless $item->{'type'} eq "text"
121 24 152 $line eq '' ? :
125 12 164 if ($test > $cw + $slack and $line ne '') { }
127 0 12 if $text_y < $cy
129 9 3 if ($align eq 'center') { }
0 3 elsif ($align eq 'right') { }
144 24 0 if ($line ne "")
146 24 0 if ($text_y >= $cy)
148 4 20 if ($align eq 'center') { }
3 17 elsif ($align eq 'right') { }