Condition Coverage

blib/lib/PDF/API2/Basic/PDF/Dict.pm
Criterion Covered Total %
condition 26 36 72.2


and 3 conditions

line !l l&&!r l&&r condition
121 111 15 9 $self->{'Filter'} and $self->{' nofilt'}
149 1353 0 0 defined $self->{' streamloc'} and not defined $self->{' stream'}
156 9 1329 15 not $self->{' nofilt'} and defined $self->{'Filter'}
1338 15 0 not $self->{' nofilt'} and defined $self->{'Filter'} and defined $self->{' stream'} || defined $self->{' streamfile'}
293 3 4 0 not $force_memory || defined $self->{' streamfile'} and length($self->{' stream'}) + length($data) > $mincache

or 3 conditions

line l !l&&r !l&&!r condition
120 134 1 1218 defined $self->{' stream'} or defined $self->{' streamfile'}
135 0 1218 defined $self->{' stream'} or defined $self->{' streamfile'} or defined $self->{' streamloc'}
121 15 0 111 $self->{'Filter'} or not defined $self->{' stream'}
122 2 7 0 $self->{'Length'} ||= "PDF::API2::Basic::PDF::Number"->new(length $self->{' stream'})
156 15 0 0 defined $self->{' stream'} || defined $self->{' streamfile'}
217 134 1 1218 defined $self->{' stream'} or defined $self->{' streamfile'}
293 3 0 4 $force_memory || defined $self->{' streamfile'}