Branch Coverage

blib/lib/Text/PDF/Objind.pm
Criterion Covered Total %
branch 11 34 32.3


line true false branch
78 29 100 unless $_[0]{' uid'}
108 0 35 if ($force) { }
123 29 74 if (UNIVERSAL::can($ref, 'release')) { }
6 68 elsif ($ref eq 'ARRAY') { }
0 68 elsif (UNIVERSAL::isa($ref, 'HASH')) { }
150 0 0 unless $self->{' realised'}
160 9 0 $_[0]{' realised'} ? :
173 0 0 unless $self->{' realised'}
188 6 22 if (defined $pdf->{' objects'}{$self->uid}) { }
206 0 0 if ($self->{' realised'}) { }
227 0 0 unless $self->dont_copy($k)
247 0 0 unless $self->dont_copy($k)
292 0 0 unless $outpdf
294 0 0 unless (defined $res)
296 0 0 if ($outpdf eq $inpdf and not $unique) { }
0 0 elsif (not $unique and defined $outpdf->{' copies'}{$self->uid}) { }
305 0 0 if ($self->is_obj($inpdf) and $unique || $outpdf ne $inpdf && !defined($outpdf->{' copies'}{$self->uid}))