Condition Coverage

blib/lib/Net/PcapWriter/TCP.pm
Criterion Covered Total %
condition 11 20 55.0


and 3 conditions

line !l l&&!r l&&r condition
35 12 0 4 $flags->{'syn'} and ($flow->[4] & 1) == 0
116 2 0 0 ($flow->[1][4] & 3) == 3 and ($flow->[0][4] & 3) == 3

or 2 conditions

line l !l condition
32 12 4 $flags ||= {}
86 14 2 $ack || 0
0 16 $flags->{'window'} || 32768
0 16 $flags->{'urg'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
37 0 4 0 $flow->[5] ||= rand "4294967296"
155 0 0 2 not defined $type or $type eq ""