Branch Coverage

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


line true false branch
26 5 9 unless ($auth_header)
34 4 5 if (&$cb_auth($user, $pw)) { }
43 0 14 if $@
51 4 2 if (&$cb_authz($user, $action, $resource)) { }
60 0 6 if $@
67 0 2 if (&$cb_host($host, $tag))
72 0 2 if $@