Branch Coverage

lib/Dancer/Plugin/Interchange6/Routes/Account.pm
Criterion Covered Total %
branch 15 18 83.3


line true false branch
38 0 5 if logged_in_user()
42 2 3 if (vars()->{'login_failed'})
47 3 2 if (my $return_url = param('return_url'))
62 0 6 if logged_in_user()
70 4 2 if ($user)
77 4 2 if ($success) { }
82 4 0 unless ($current_cart->users_id)
90 1 3 if (session('return_url')) { }
109 3 2 if ($cart->count > 0)