Condition Coverage

blib/lib/Metabrik/Network/Grep.pm
Criterion Covered Total %
condition 0 23 0.0


and 3 conditions

line !l l&&!r l&&r condition
62 0 0 0 defined $layer and length $layer->payload
92 0 0 0 defined $layer and length $layer->payload

or 2 conditions

line l !l condition
40 0 0 defined $self->global && $self->global->device || 'eth0'

or 3 conditions

line l !l&&r !l&&!r condition
50 0 0 0 $device ||= $self->device
51 0 0 0 $filter ||= $self->filter
61 0 0 0 $simple->ref->{'TCP'} || $simple->ref->{'UDP'}
78 0 0 0 $filter ||= $self->filter
91 0 0 0 $simple->ref->{'TCP'} || $simple->ref->{'UDP'}