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
190 139 0 2 defined $page_number and $page_number <= $top->{'Count'}->val
239 141 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
336 0 0 186 ref $self->{$key} and $self->{$key}->isa('PDF::Builder::Basic::PDF::Objind')
375 0 0 0 $dict and defined $dict->{'Font'}
0 0 0 $dict and defined $dict->{'Font'} and defined $dict->{'Font'}{$name}
386 0 0 0 ref $dict ne 'HASH' and $dict->is_obj($pdf)
389 0 0 0 ref $resource ne 'HASH' and $resource->is_obj($pdf)
417 0 0 0 $i == 4 and not $is_changed
440 162 0 141 $dict and defined $dict->{'ProcSet'}

or 2 conditions

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

or 3 conditions

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