blib/lib/Data/LazyACL.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 25 | 28 | 89.2 |
line | true | false | branch |
---|---|---|---|
33 | 1 | 10004 | if ($access_key eq 'admin') |
47 | 0 | 9 | unless defined $$s{'token'} |
49 | 1 | 8 | if $$s{'token'} eq $ADMIN_NUMBER |
52 | 1 | 7 | if $access_key eq 'admin' |
56 | 1 | 6 | unless $access_digit |
59 | 4 | 2 | $acl->band($$s{'token'}) ? : |
75 | 1 | 5 | if $access_key eq 'admin' |
79 | 0 | 5 | unless $digit |
94 | 1 | 1 | if $token eq $ADMIN_NUMBER |
97 | 1 | 3 | if $key eq 'admin' |
103 | 2 | 1 | if ($mb->band($token)) |
117 | 0 | 1 | if $token eq $ADMIN_NUMBER |
120 | 1 | 3 | if $key eq 'admin' |
126 | 2 | 1 | if ($mb->band($token)) |