blib/lib/Net/PcapWriter/TCP.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 20 | 55.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
35 | 12 | 0 | 4 | $flags->{'syn'} and ($flow->[4] & 1) == 0 |
106 | 2 | 0 | 0 | ($flow->[1][4] & 3) == 3 and ($flow->[0][4] & 3) == 3 |
line | l | !l | condition |
---|---|---|---|
32 | 12 | 4 | $flags ||= {} |
82 | 14 | 2 | $ack || 0 |
0 | 16 | $flags->{'window'} || 32768 | |
0 | 16 | $flags->{'urg'} || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
37 | 0 | 4 | 0 | $flow->[5] ||= rand 4294967296 |
145 | 0 | 0 | 2 | not defined $type or $type eq '' |