blib/lib/Net/ACL/Match/IP.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 14 | 57.1 |
line | true | false | branch |
---|---|---|---|
29 | 4 | 28 | if scalar @_ == 1 and ref $_[0] eq 'ARRAY' |
37 | 0 | 32 | unless $$this{'_index'} =~ /^[0-9]+$/ |
39 | 0 | 32 | unless scalar @_ > 0 |
43 | 0 | 32 | if defined $$this{'_net'}{'ERROR'} |
53 | 28 | 37 | $$this{'_net'}->match($_[$$this{'_index'}]) ? : |
59 | 0 | 0 | ref $_[0] eq 'Net::Netmask' ? : |
0 | 20 | @_ ? : |