| blib/lib/Mojolicious/Plugin/Ident.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 12 | 22 | 54.5 |
| line | l | !l | condition |
|---|---|---|---|
| 22 | 1 | 6 | $$conf{'timeout'} // 2 |
| 23 | 7 | 0 | $$conf{'port'} // 113 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 29 | 6 | 7 | 0 | $tx //= $controller->tx |
| 30 | 6 | 7 | 0 | $timeout //= $default_timeout |
| 49 | 6 | 0 | 0 | $timeout // $default_timeout |
| 85 | 0 | 10 | 0 | $tx //= $controller->tx |
| 86 | 0 | 10 | 0 | $timeout //= $default_timeout |
| 113 | 2 | 0 | 3 | $controller->session('ident_same_user') // do { my $same_user = eval { do { $controller->ident(@_)->same_user } }; return if $@; $controller->session('ident_same_user', $same_user); $same_user } |