Branch Coverage

blib/lib/Mojolicious/Plugin/HttpBasicAuth.pm
Criterion Covered Total %
branch 6 6 100.0


line true false branch
38 2 16 unless $auth
41 4 12 if $options{'validate'} and $options{'validate'}($controller, split(/:/, $auth, 2), $options{'realm'})
54 16 2 if ($auth and $auth =~ /Basic (.*)/)