Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
133 149 14 3 $self->{'Filter'} and $self->{' nofilt'}
159 1652 0 0 defined $self->{' streamloc'} and not defined $self->{' stream'}
166 4 1634 14 not $self->{' nofilt'} and defined $self->{'Filter'}
1638 14 0 not $self->{' nofilt'} and defined $self->{'Filter'} and defined $self->{' stream'} || defined $self->{' streamfile'}
298 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
132 165 1 1486 defined $self->{' stream'} or defined $self->{' streamfile'}
166 0 1486 defined $self->{' stream'} or defined $self->{' streamfile'} or defined $self->{' streamloc'}
133 14 0 149 $self->{'Filter'} or not defined $self->{' stream'}
134 1 2 0 $self->{'Length'} ||= "PDF::Builder::Basic::PDF::Number"->new(length $self->{' stream'})
166 14 0 0 defined $self->{' stream'} || defined $self->{' streamfile'}
225 165 1 1486 defined $self->{' stream'} or defined $self->{' streamfile'}
298 3 0 4 $force_memory || defined $self->{' streamfile'}