| blib/lib/Dancer2/Plugin/Interchange6/Routes/Account.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 18 | 83.3 |
| line | true | false | branch |
|---|---|---|---|
| 34 | 0 | 5 | if $d2pae->logged_in_user |
| 38 | 2 | 3 | if ($app->request->param('login_failed')) |
| 43 | 3 | 2 | if (my $return_url = $app->request->param('return_url')) |
| 63 | 0 | 6 | if $d2pae->logged_in_user |
| 72 | 4 | 2 | if ($user) |
| 83 | 4 | 2 | if ($success) { } |
| 88 | 4 | 0 | unless ($current_cart->users_id) |
| 96 | 1 | 3 | if ($app->session->read('return_url')) { } |
| 127 | 3 | 2 | if ($cart->count > 0) |