Branch Coverage

lib/PDF/Boxer/Content/Box.pm
Criterion Covered Total %
branch 0 44 0.0


line true false branch
44 0 0 unless exists $args->{$attr}
46 0 0 if (ref $arg) { }
47 0 0 unless (ref $arg eq 'ARRAY')
54 0 0 defined $arg->[1] ? :
55 0 0 defined $arg->[2] ? :
56 0 0 defined $arg->[3] ? :
66 0 0 unless ($self->parent)
92 0 0 unless $method
94 0 0 if (@kids)
120 0 0 unless $self->parent
123 0 0 unless $self->parent
139 0 0 if (@$kids)
142 0 0 if $_->margin_height > $highest
143 0 0 if ($width + $_->margin_width > $self->boxer->max_width) { }
146 0 0 if $width > $widest
150 0 0 $width ? :
167 0 0 if ($self->position_set)
169 0 0 if (@$kids)
172 0 0 if $kid->margin_height > $highest
173 0 0 if ($x + $kid->margin_width > $self->width) { }
192 0 0 if ($self->background)
201 0 0 if (my $width = $self->border->[0])