Branch Coverage

blib/lib/Sniffer/Connection.pm
Criterion Covered Total %
branch 0 36 0.0


line true false branch
60 0 0 if ($packet)
97 0 0 if ($self->flow eq '-:-')
100 0 0 if ($self->ack_start == 0 and $$tcp{'acknum'})
106 0 0 if ($self->signature($tcp) ne $key)
116 0 0 if (scalar keys %{$self->window->{$dir[1]};} > 32)
135 0 0 unless $tcp
140 0 0 if (not defined $status) { }
0 0 elsif ($status eq 'SYN') { }
0 0 elsif ($status eq 'ACK' or $status eq 'SYN_ACK') { }
0 0 elsif ($status eq 'CLOSE') { }
141 0 0 if ($$tcp{'flags'} == 2) { }
153 0 0 if ($$tcp{'flags'} == 18) { }
155 0 0 if ($status ne 'SYN')
170 0 0 if (length $data)
172 0 0 if $self->flow ne $self->signature($tcp)
176 0 0 if $status ne 'ACK'
185 0 0 if ($$tcp{'flags'} & 1)
211 0 0 $val & 2 ** $idx++ ? :