Condition Coverage

blib/lib/Dancer2/Plugin/Auth/YARBAC.pm
Criterion Covered Total %
condition 0 27 0.0


and 3 conditions

line !l l&&!r l&&r condition
20 0 0 0 $app->session->read('logged_in_user') and $app->session->read('logged_in_user_realm')
68 0 0 0 $auth->{'success'} and $auth->{'realm'}
657 0 0 0 $app->session->read('logged_in_user') and $app->session->read('logged_in_user_realm')
659 0 0 0 defined $hook and $dsl->request->path_info =~ /$conf->{'no_login_required'}/i
687 0 0 0 defined $params->{'username'} and defined $params->{'password'}
0 0 0 defined $params->{'username'} and defined $params->{'password'} and defined $opts->{'realm'}

or 3 conditions

line l !l&&r !l&&!r condition
652 0 0 0 not $coderef or ref $coderef ne 'CODE'
741 0 0 0 $conf->{'realms'}{$opts->{'realm'}} || croak("Unknown realm $opts->{'realm'}")
742 0 0 0 $settings->{'provider'} || croak('No provider configured see: Dancer2::Plugin::Auth::YARBAC')