Branch Coverage

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


line true false branch
38 18 144 unless $auth
41 36 108 if $options{'validate'} and $options{'validate'}($controller, split(/:/, $auth, 2), $options{'realm'})
54 144 18 if ($auth and $auth =~ /Basic (.*)/)
69 84 42 if ($controller->tx)