blib/lib/Net/IP/LPM.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 14 | 57.1 |
line | true | false | branch |
---|---|---|---|
43 | 0 | 0 | if $constname eq 'constant' |
45 | 0 | 0 | if ($error) |
135 | 0 | 0 | if (my $addr_bin = inet_pton(2, $addr)) { } |
161 | 11953 | 446984 | unless ($prefix_bin = inet_pton(2, $prefix)) |
165 | 4 | 458933 | unless (defined $prefix_len) |
166 | 2 | 2 | if (length $prefix_bin == 4) { } |
196 | 35 | 9000039 | unless ($addr_bin = inet_pton(2, $addr)) |