Branch Coverage

blib/lib/PDF/API3/Compat/API2/Basic/PDF/Pages.pm
Criterion Covered Total %
branch 0 84 0.0


line true false branch
66 0 0 if ref $class
69 0 0 if defined $parent
72 0 0 ref $pdfs eq 'ARRAY' ? :
102 0 0 if ($isnew) { }
107 0 0 unless (defined $$self{'Parent'})
138 0 0 if ($$self{'Count'}->realise->val <= $$rpnum)
146 0 0 if ($$k{'Type'}->realise->val eq 'Page') { }
0 0 elsif ($res = $k->realise->find_page_recurse($rpnum)) { }
148 0 0 if $$rpnum == 0
177 0 0 unless defined $pnum and $pnum <= $$top{'Count'}->val
178 0 0 if ($pnum == -1) { }
182 0 0 if $pnum < 0
186 0 0 if (defined $$ppage{'Parent'}) { }
193 0 0 if ($pnum == -1) { }
198 0 0 if $$ppages{'Kids'}{' val'}[$pindex] eq $ppage
199 0 0 if $pindex == $ppnum
215 0 0 if (scalar $$self{'Kids'}->elementsof >= 8 and $$self{'Parent'} and $index < 1) { }
219 0 0 if ($ppages)
223 0 0 if $$ppages{'Kids'}{' val'}[$pindex] eq $self
224 0 0 if $pindex == $ppnum
231 0 0 if ($index < 0) { }
278 0 0 if ($$pgref{'Type'}->val =~ /^Pages$/io) { }
295 0 0 if (defined $$self{$prop}) { }
0 0 elsif (defined $$self{'Parent'}) { }
297 0 0 if (ref $$self{$prop} and $$self{$prop}->isa('PDF::API3::Compat::API2::Basic::PDF::Objind')) { }
321 0 0 if $dict ne '' and defined $$dict{'Font'} and defined $$dict{'Font'}{$name}
322 0 0 if (not defined $$self{'Resources'}) { }
324 0 0 $dict ne '' ? :
329 0 0 unless defined $$self{'Resources'}{'Font'}
331 0 0 unless $$rdict{$name}
332 0 0 if (ref $dict ne 'HASH' and $dict->is_obj($pdf))
334 0 0 if (ref $rdict ne 'HASH' and $rdict->is_obj($pdf))
355 0 0 if ($inh ne '')
360 0 0 if $test and $i == 4
385 0 0 if ($dict ne '' and defined $$dict{'ProcSet'})
389 0 0 if scalar @temp == 0
390 0 0 if defined $$self{'Resources'}
393 0 0 unless (defined $$self{'Resources'})
394 0 0 $dict ne '' ? :
396 0 0 unless defined $$self{'ProcSet'}
406 0 0 if defined $$self{'Parent'}
409 0 0 if defined $parent