Condition Coverage

lib/PAGI/Middleware/Auth/Basic.pm
Criterion Covered Total %
condition 7 11 63.6


or 2 conditions

line l !l condition
64 3 0 $config->{'authenticator'} // die("Auth::Basic requires 'authenticator' option")
65 1 2 $config->{'realm'} // "Restricted"
148 2 0 $password // ""
179 3 0 $scope->{'headers'} // []

or 3 conditions

line l !l&&r !l&&!r condition
103 0 1 1 $@ or not $valid