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