Condition Coverage

blib/lib/Text/PDF/Pages.pm
Criterion Covered Total %
condition 9 38 23.6


and 3 conditions

line !l l&&!r l&&r condition
151 1 0 0 defined $pnum and $pnum <= $top->{'Count'}->val
189 1 0 0 scalar $self->{'Kids'}->elementsof >= 8 and $self->{'Parent'}
0 0 0 scalar $self->{'Kids'}->elementsof >= 8 and $self->{'Parent'} and $index < 1
272 0 0 1 ref $self->{$prop} and $self->{$prop}->isa('Text::PDF::Objind')
298 0 1 0 $dict ne '' and defined $dict->{'Font'}
1 0 0 $dict ne '' and defined $dict->{'Font'} and defined $dict->{'Font'}{$name}
309 0 1 0 ref $dict ne 'HASH' and $dict->is_obj($pdf)
311 0 1 0 ref $rdict ne 'HASH' and $rdict->is_obj($pdf)
336 0 0 0 $test &&= $e->val == $bbox[$i++]
337 0 0 0 $test and $i == 4
362 1 0 0 $dict ne '' and defined $dict->{'ProcSet'}

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
391 0 0 0 $Text::PDF::Pages::inst{$_[1]} || $_[0]->SUPER::dont_copy($_[1])