Branch Coverage

blib/lib/Mojolicious/Plugin/BasicAuth.pm
Criterion Covered Total %
branch 9 10 90.0


line true false branch
24 6 7 if ref $password eq 'CODE'
27 2 1 unless $auth or $callback
31 3 8 if $callback and &$callback(split(/:/, $auth, 2))
34 3 5 if $auth eq ($username || '') . ":$password"
46 0 13 if ref $realm eq 'HASH'