Branch Coverage

blib/lib/Mojolicious/Plugin/PlugAuthLite.pm
Criterion Covered Total %
branch 10 14 71.4


line true false branch
25 5 9 unless ($auth_header)
33 4 5 if (&$cb_auth($user, $pw)) { }
42 0 14 if $@
50 4 2 if (&$cb_authz($user, $action, $resource)) { }
59 0 6 if $@
66 0 2 if (&$cb_host($host, $tag))
71 0 2 if $@