Condition Coverage

lib/Mojolicious/Plugin/SPNEGO.pm
Criterion Covered Total %
condition 0 25 0.0


and 3 conditions

line !l l&&!r l&&r condition
34 0 0 0 $AuthBase64 and $status
55 0 0 0 $msg and $msg->is_error

or 2 conditions

line l !l condition
22 0 0 $c->req->headers->header(($cfg->{'web_proxy_mode'} ? "Proxy-" : "") . "Authorization") // ""
26 0 0 $cCache{$cId} //= {"status", $AuthBase64 ? "expectType1" : "init"}
36 0 0 $cfg->{'timeout'} // 10
45 0 0 ($cfg->{'ldap_debug'} // $ENV{'SPNEGO_LDAP_DEBUG'}) // 0
0 0 $cfg->{'verify'} // "none"

or 3 conditions

line l !l&&r !l&&!r condition
45 0 0 0 $cfg->{'ldap_debug'} // $ENV{'SPNEGO_LDAP_DEBUG'}
0 0 0 $cCache->{'ldapObj'} //= "Net::LDAP::SPNEGO"->new($cfg->{'ad_server'}, "debug", ($cfg->{'ldap_debug'} // $ENV{'SPNEGO_LDAP_DEBUG'}) // 0, "onerror", sub { my $msg = shift(); $c->log->error("LDAP ERROR: " . $msg->error); return $msg; } , "timeout", $timeout, "verify", $cfg->{'verify'} // "none")
83 0 0 0 not $cb or &$cb($c, $user, $ldap)