| blib/lib/Mojolicious/Plugin/PlugAuthLite.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 10 | 13 | 76.9 |
| line | l | !l | condition |
|---|---|---|---|
| 16 | 8 | 1 | $conf->{'auth'} // sub { 0; } |
| 17 | 7 | 2 | $conf->{'authz'} // sub { 1; } |
| 18 | 5 | 4 | $conf->{'host'} // sub { 0; } |
| 19 | 0 | 9 | $conf->{'realm'} // 'PlugAuthLite' |
| 20 | 0 | 8 | ($conf->{'url'} // $conf->{'uri'}) // '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 20 | 1 | 0 | 8 | $conf->{'url'} // $conf->{'uri'} |