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
215 190 0 2 defined $page_number and $page_number <= $top->{'Count'}->val
264 192 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 < 0
379 0 0 242 ref $self->{$key} and $self->{$key}->isa("PDF::Builder::Basic::PDF::Objind")
424 0 0 0 $dict and defined $dict->{'Font'}
0 0 0 $dict and defined $dict->{'Font'} and defined $dict->{'Font'}{$name}
435 0 0 0 ref $dict ne "HASH" and $dict->is_obj($pdf)
438 0 0 0 ref $resource ne "HASH" and $resource->is_obj($pdf)
472 0 0 0 $i == 4 and not $is_changed
501 234 0 192 $dict and defined $dict->{'ProcSet'}

or 2 conditions

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

or 3 conditions

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