Condition Coverage

blib/lib/PDF/Builder/Basic/PDF/Pages.pm
Criterion Covered Total %
condition 6 41 14.6


and 3 conditions

line !l l&&!r l&&r condition
192 192 0 2 defined $page_number and $page_number <= $top->{'Count'}->val
241 194 0 0 scalar $parent->{'Kids'}->elements >= $max_kids_per_parent and $parent->{'Parent'}
0 0 0 scalar $parent->{'Kids'}->elements >= $max_kids_per_parent and $parent->{'Parent'} and $page_index < 1
338 0 0 245 ref $self->{$key} and $self->{$key}->isa("PDF::Builder::Basic::PDF::Objind")
377 0 0 0 $dict and defined $dict->{'Font'}
0 0 0 $dict and defined $dict->{'Font'} and defined $dict->{'Font'}{$name}
388 0 0 0 ref $dict ne "HASH" and $dict->is_obj($pdf)
391 0 0 0 ref $resource ne "HASH" and $resource->is_obj($pdf)
419 0 0 0 $i == 4 and not $is_changed
442 217 0 194 $dict and defined $dict->{'ProcSet'}

or 2 conditions

line l !l condition
410 0 0 $bbox[4] || 'MediaBox'

or 3 conditions

line l !l&&r !l&&!r condition
62 0 0 0 $pdf //= $class->get_top->{' parent'}
384 0 0 0 $dict->{'Font'} //= PDFDict()
387 0 0 0 $resource->{$name} //= $font