blib/lib/Dancer2/Plugin/Auth/HTTP/Basic/DWIW.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 5 | 10 | 50.0 |
line | l | !l | condition |
---|---|---|---|
18 | 0 | 6 | plugin_setting()->{'realm'} // 'Please login' |
23 | 8 | 4 | $dsl->app->request->header('Authorization') || die(\401) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
27 | 0 | 8 | 0 | $auth_method ne 'Basic' or $auth_string |
31 | 8 | 0 | 0 | $username or $password |