Condition Coverage

blib/lib/Net/IMP/Filter.pm
Criterion Covered Total %
condition 11 47 23.4


and 3 conditions

line !l l&&!r l&&r condition
102 0 0 0 @$buf == 1 and not $buf->[0][2]
106 0 0 0 $self->{'skipped'}[$dir] && $buf->[0][0]
109 0 0 0 $data eq '' and $maxoff != -1
122 0 0 0 $type > 0 and $canfw != length $data
130 0 0 0 $self->{'skipped'}[$dir] && $buf->[0][0]
143 1 0 12 $type < 0 and $buf->[-1][2] == $type
160 25 0 0 $self->{'skipped'}[$dir] && $buf->[0][0]
198 0 0 0 $offset > $self->{'pass'}[$dir] and $offset > $self->{'prepass'}[$dir]
267 9 0 31 $offset != -1 and $offset <= $end

or 2 conditions

line l !l condition
91 5 20 $type ||= -1

or 3 conditions

line l !l&&r !l&&!r condition
60 0 0 0 $imp ||= $class->{'imp'}
62 0 10 0 ref $class || $class
103 0 0 0 $maxoff == -1 or $maxoff > $buf->[-1][0] + length($data)
198 0 0 0 $offset == -1 or $offset > $self->{'pass'}[$dir] and $offset > $self->{'prepass'}[$dir]
228 0 10 22 $offset == -1 or $offset >= $end
276 0 0 31 $self->{'pass'}[$dir] or $self->{'prepass'}[$dir]