Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
135 140 0 2 defined $page_number and $page_number <= $top->{'Count'}->val
183 142 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
259 0 0 225 ref $self->{$prop} and $self->{$prop}->isa("PDF::API2::Basic::PDF::Objind")
287 0 0 0 $dict and defined $dict->{'Font'}
0 0 0 $dict and defined $dict->{'Font'} and defined $dict->{'Font'}{$name}
300 0 0 0 ref $dict ne "HASH" and $dict->is_obj($pdf)
303 0 0 0 ref $resource ne "HASH" and $resource->is_obj($pdf)
330 0 0 0 $i == 4 and not $is_changed
353 164 0 142 $dict and defined $dict->{'ProcSet'}

or 2 conditions

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

or 3 conditions

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