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
132 101 10 8 $self->{'Filter'} and $self->{' nofilt'}
158 1169 0 0 defined $self->{' streamloc'} and not defined $self->{' stream'}
165 8 1151 10 not $self->{' nofilt'} and defined $self->{'Filter'}
1159 10 0 not $self->{' nofilt'} and defined $self->{'Filter'} and defined $self->{' stream'} || defined $self->{' streamfile'}
297 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
131 118 1 1050 defined $self->{' stream'} or defined $self->{' streamfile'}
119 0 1050 defined $self->{' stream'} or defined $self->{' streamfile'} or defined $self->{' streamloc'}
132 10 0 101 $self->{'Filter'} or not defined $self->{' stream'}
133 2 6 0 $self->{'Length'} ||= 'PDF::Builder::Basic::PDF::Number'->new(length $self->{' stream'})
165 10 0 0 defined $self->{' stream'} || defined $self->{' streamfile'}
224 118 1 1050 defined $self->{' stream'} or defined $self->{' streamfile'}
297 3 0 4 $force_memory || defined $self->{' streamfile'}