blib/lib/NetPacket/TCP.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 20 | 75.0 |
line | true | false | branch |
---|---|---|---|
62 | 3 | 0 | if (defined $pkt) |
79 | 0 | 3 | if $olen < 0 |
155 | 1 | 1 | if length($packet) % 2 |
183 | 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) { } | |
261 | 0 | 2 | wantarray ? : |