Condition Coverage

blib/lib/HTTP/Headers/ActionPack/Authorization/Basic.pm
Criterion Covered Total %
condition 7 12 58.3


and 3 conditions

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'

or 3 conditions

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')