Branch Coverage

blib/lib/Dancer2/Plugin/Auth/Extensible/Provider/Usergroup.pm
Criterion Covered Total %
branch 15 18 83.3


line true false branch
302 2 97 unless defined $login_name
309 45 52 unless ($user_row = $user_rset->next)
337 0 14 unless defined $correct
338 13 1 if ($correct =~ /^\{.+}/)
356 3 49 unless defined $username and defined $password
361 35 14 unless $user
365 14 0 if ($must_be_activated)
366 0 14 unless ($user->{$must_be_activated})
389 2 14 unless my $user = $self->get_user_details($login_name)