Branch Coverage

blib/lib/PDF/Builder/Basic/PDF/Objind.pm
Criterion Covered Total %
branch 24 34 70.5


line true false branch
98 16342 16232 unless $_[0]{' uid'}
135 13998 1053 if (&blessed($item) and $item->can('release')) { }
1033 20 elsif ($ref eq 'ARRAY') { }
0 40 elsif (defined &reftype($ref) and &reftype($ref) eq 'HASH') { }
166 0 0 if ($self->{' realised'}) { }
182 2634 118 if $self->{' realised'}
183 86 32 if $self->{' objnum'}
205 0 0 if ($self->{' realised'}) { }
222 1263 14141 if (defined $pdf->{' objects'}{$self->uid}) { }
245 3 0 if ($self->{' realised'}) { }
264 0 0 unless $PDF::Builder::Basic::PDF::Objind::inst{$k}
283 90 340 if $PDF::Builder::Basic::PDF::Objind::inst{$k}
288 24 316 if $k eq "Parent"
325 3129 0 unless (defined $res)
330 6272 3140 if $PDF::Builder::Basic::PDF::Objind::inst{$k}
331 0 3140 if defined $res->{$k}
332 208 2932 if (&blessed($self->{$k}) and $self->{$k}->can('is_obj') and not $self->{$k}->is_obj($pdf)) { }