| line | true | false | branch | 
 
| 215 | 0 | 14 | if (not $coderef or ref $coderef ne 'CODE') | 
 
| 220 | 3 | 11 | unless ($user) | 
 
| 290 | 2 | 3 | ref $require_role eq 'ARRAY' ? : | 
 
| 295 | 2 | 5 | unless ($user) | 
 
| 302 | 3 | 2 | if ($mode eq 'single') { } | 
 
|  | 1 | 1 | elsif ($mode eq 'any') { } | 
 
|  | 1 | 0 | elsif ($mode eq 'all') { } | 
 
| 304 | 2 | 4 | if _smart_match($_, $require_role) | 
 
| 309 | 1 | 1 | if $role_ok{$_} | 
 
| 314 | 0 | 2 | unless (user_has_role($role)) | 
 
| 321 | 4 | 1 | if ($role_match) | 
 
| 341 | 17 | 5 | if (my $user = session('logged_in_user')) { } | 
 
| 368 | 0 | 2 | if (@_ == 2) { } | 
 
| 375 | 0 | 2 | unless defined $username | 
 
| 380 | 2 | 1 | if $has_role eq $want_role | 
 
| 400 | 5 | 4 | unless defined $username | 
 
| 402 | 1 | 8 | $realm ? : | 
 
| 405 | 0 | 9 | unless defined $roles | 
 
| 406 | 4 | 5 | wantarray ? : | 
 
| 437 | 0 | 5 | $realm ? : | 
 
| 442 | 4 | 4 | if ($provider->authenticate_user($username, $password)) | 
 
| 444 | 4 | 0 | wantarray ? : | 
 
| 453 | 1 | 0 | wantarray ? : | 
 
| 499 | 8 | 26 | if (not $realm and session()->{'logged_in_user'}) | 
 
| 504 | 32 | 2 | if exists $realm_provider{$realm} | 
 
| 508 | 0 | 2 | unless my $realm_settings = $$settings{'realms'}{$realm} | 
 
| 510 | 0 | 2 | unless my $provider_class = $$realm_settings{'provider'} | 
 
| 514 | 2 | 0 | unless ($provider_class =~ /::/) | 
 
| 517 | 0 | 2 | unless 'Dancer::ModuleLoader'->load($provider_class) | 
 
| 538 | 0 | 0 | unless ($provider->can($method)) | 
 
| 541 | 0 | 0 | if (defined(my $result = $provider->$method(@args))) | 
 
| 607 | 1 | 0 | vars()->{'login_failed'} ? : | 
 
| 636 | 4 | 2 | if (not ref $want) { } | 
 
|  | 2 | 0 | elsif (ref $want eq 'Regexp') { } | 
 
|  | 0 | 0 | elsif (ref $want eq 'ARRAY') { } |