Branch Coverage

blib/lib/WWW/Suffit/Plugin/BasicAuth.pm
Criterion Covered Total %
branch 0 30 0.0


line true false branch
311 0 0 ref $defaults->{'authn_fail_render'} eq 'CODE' ? :
318 0 0 ref $defaults->{'authz_fail_render'} eq 'CODE' ? :
324 0 0 unless ($res)
327 0 0 if $fail
336 0 0 unless ($res)
339 0 0 if $fail
351 0 0 ref $opt{'authn'} eq 'CODE' ? :
356 0 0 if ($auth_string =~ /Basic\s+(.*)/u)
362 0 0 if $auth_pair and &$authn($c, $opt{'realm'}, split(/:/u, $auth_pair, 2), $params)
366 0 0 if ($opt{'render_by_fail'})
369 0 0 if $fail
383 0 0 ref $opt{'authz'} eq 'CODE' ? :
386 0 0 if &$authz($c, $params)
389 0 0 if ($opt{'render_by_fail'})
392 0 0 if $fail