blib/lib/Net/IMP/Filter.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 44 | 25.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
98 | 0 | 0 | 0 | @$buf == 1 and not $buf->[0][2] |
102 | 0 | 0 | 0 | $self->{'skipped'}[$dir] && $buf->[0][0] |
105 | 0 | 0 | 0 | $data eq '' and $maxoff != -1 |
118 | 0 | 0 | 0 | $type > 0 and $canfw != length $data |
126 | 0 | 0 | 0 | $self->{'skipped'}[$dir] && $buf->[0][0] |
139 | 1 | 0 | 12 | $type < 0 and $buf->[-1][2] == $type |
156 | 25 | 0 | 0 | $self->{'skipped'}[$dir] && $buf->[0][0] |
194 | 0 | 0 | 0 | $offset > $self->{'pass'}[$dir] and $offset > $self->{'prepass'}[$dir] |
261 | 9 | 0 | 31 | $offset != -1 and $offset <= $end |
line | l | !l | condition |
---|---|---|---|
87 | 5 | 20 | $type ||= -1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
58 | 0 | 10 | 0 | ref $class || $class |
99 | 0 | 0 | 0 | $maxoff == -1 or $maxoff > $buf->[-1][0] + length($data) |
194 | 0 | 0 | 0 | $offset == -1 or $offset > $self->{'pass'}[$dir] and $offset > $self->{'prepass'}[$dir] |
224 | 0 | 10 | 22 | $offset == -1 or $offset >= $end |
270 | 0 | 0 | 31 | $self->{'pass'}[$dir] or $self->{'prepass'}[$dir] |