Condition Coverage

blib/lib/PDF/API2/Outline.pm
Criterion Covered Total %
condition 7 22 31.8


and 3 conditions

line !l l&&!r l&&r condition
124 5 0 14 defined $self->{' children'} and defined $self->{' children'}[0]
140 5 0 6 defined $self->{' children'} and defined $self->{' children'}[-1]
419 2 0 0 @args and ref $args[0] eq "ARRAY"
495 0 0 0 @args and ref $args[0] eq "ARRAY"

or 2 conditions

line l !l condition
203 4 6 $self->{' children'} //= []
505 0 0 $page_number //= 0

or 3 conditions

line l !l&&r !l&&!r condition
415 0 0 0 $location eq "-fit" or $location eq "-fitb"
491 0 0 0 $location eq "-fit" or $location eq "-fitb"