blib/lib/HTTP/Headers/ActionPack/Authorization/Basic.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 12 | 58.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
23 | 6 | 3 | 3 | ref $credentials and ref $credentials eq 'HASH' |
6 | 0 | 3 | ref $credentials and ref $credentials eq 'ARRAY' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
20 | 12 | 0 | 0 | shift() || confess('Must specify type') |
21 | 12 | 0 | 0 | shift() || confess('Must provide credentials') |