Condition Coverage

lib/Hetula/Client.pm
Criterion Covered Total %
condition 16 35 45.7


and 3 conditions

line !l l&&!r l&&r condition
186 0 3 18 $ssns and @$ssns
385 0 0 1 $username and $injectHere
386 0 0 1 $password and $injectHere
387 0 0 1 $organization and $injectHere
388 0 0 1 $baseURL and $injectHere

or 2 conditions

line l !l condition
244 6 0 $ENV{'MOCK_BAD_CONNECTION'} || 10
259 21 9 $res->{'ssn'}{'id'} // ''
9 21 $res->{'error'} // ''
417 18 3 $res->json || {'OK', $tx->res->code}

or 3 conditions

line l !l&&r !l&&!r condition
328 0 0 0 $params->{'id'} || $params->{'username'}
342 0 1 0 $params->{'id'} || $params->{'username'}
358 0 1 0 $params->{'id'} || $params->{'username'}
421 1 0 0 $tx->res->body || $error->{'message'} || $error->{'code'}