Branch Coverage

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 446987 unless ($prefix_bin = inet_pton(2, $prefix))
165 4 458936 unless (defined $prefix_len)
166 2 2 if (length $prefix_bin == 4) { }
196 35 9000039 unless ($addr_bin = inet_pton(2, $addr))