blib/lib/Net/ACL/Match/List.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 22 | 54.5 |
line | true | false | branch |
---|---|---|---|
30 | 0 | 3 | if scalar @_ == 1 and ref $_[0] eq 'ARRAY' |
37 | 0 | 3 | unless $$this{'_index'} =~ /^[0-9]$/ |
43 | 0 | 3 | unless scalar $$this{'_lists'} |
53 | 5 | 1 | if (blessed($_[0])) { } |
0 | 1 | elsif (ref $_[0] eq 'ARRAY') { } | |
1 | 0 | elsif (ref $_[0] eq 'HASH') { } | |
56 | 2 | 3 | unless scalar @_ == 0 |
61 | 0 | 0 | unless scalar @_ == 0 |
67 | 0 | 1 | unless scalar @_ == 0 |
81 | 5 | 8 | unless $list->match($data[$$this{'_index'}]) == ACL_PERMIT() |
89 | 0 | 0 | unless scalar @{$$this{'_lists'};} |