Condition Coverage

blib/lib/Metabrik/Network/Stream.pm
Criterion Covered Total %
condition 0 53 0.0


and 3 conditions

line !l l&&!r l&&r condition
80 0 0 0 defined $network and defined $transport
96 0 0 0 $this_src_ip eq $src_ip || $this_src_ip eq $dst_ip and $this_src_port eq $src_port || $this_src_port eq $dst_port
108 0 0 0 defined $transport and length $transport->payload
0 0 0 defined $transport and length $transport->payload and defined $network
270 0 0 0 defined $network and defined $transport
271 0 0 0 defined $transport and length $transport->payload

or 2 conditions

line l !l condition
49 0 0 defined $self->global && $self->global->device || 'eth0'
204 0 0 $simple->ref->{'TCP'} || (next)
205 0 0 $simple->ref->{'IPv4'} || $simple->ref->{'IPv6'} || (next)
239 0 0 $simple->ref->{'TCP'} || $simple->ref->{'UDP'} || (next)

or 3 conditions

line l !l&&r !l&&!r condition
62 0 0 0 $filter ||= $self->filter
77 0 0 0 $simple->ref->{'IPv4'} || $simple->ref->{'IPv6'}
96 0 0 0 $this_src_ip eq $src_ip || $this_src_ip eq $dst_ip
0 0 0 $this_src_port eq $src_port || $this_src_port eq $dst_port
106 0 0 0 $simple->ref->{'IPv4'} || $simple->ref->{'IPv6'}
158 0 0 0 $simple->ref->{'IPv4'} || $simple->ref->{'IPv6'}
181 0 0 0 $simple->ref->{'IPv4'} || $simple->ref->{'IPv6'}
256 0 0 0 $filter ||= $self->filter
267 0 0 0 $simple->ref->{'IPv4'} || $simple->ref->{'IPv6'}