blib/lib/NetPacket/TCP.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 16 | 22 | 72.7 |
line | true | false | branch |
---|---|---|---|
61 | 3 | 0 | if (defined $pkt) |
78 | 0 | 3 | if $olen < 0 |
144 | 0 | 2 | if ($ip->isa('NetPacket::IPv6')) { } |
159 | 1 | 1 | if length($packet) % 2 |
187 | 1 | 7 | if ($kind == 2) { } |
3 | 4 | elsif ($kind == 1) { } | |
1 | 3 | elsif ($kind == 3) { } | |
1 | 2 | elsif ($kind == 4) { } | |
0 | 2 | elsif ($kind == 5) { } | |
2 | 0 | elsif ($kind == 8) { } | |
265 | 0 | 2 | wantarray ? : |