blib/lib/Captcha/reCAPTCHA/V3.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 5 | 27 | 18.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
60 | 0 | 0 | 0 | $content->{'success'} and $content->{'score'} == 1 || $content->{'score'} < $score |
line | l | !l | condition |
---|---|---|---|
21 | 0 | 3 | $attr{'query_name'} || 'g-recaptcha-response' |
56 | 0 | 0 | $attr{'score'} || 0.5 |
79 | 0 | 1 | $attr{'action'} || 'homepage' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
19 | 3 | 0 | 0 | $attr{'secret'} || croak(q[missing param 'secret']) |
20 | 3 | 0 | 0 | $attr{'sitekey'} || croak(q[missing param 'sitekey']) |
42 | 1 | 0 | 0 | $response || croak('missing response token') |
55 | 0 | 0 | 0 | $attr{'response'} || croak('missing response token') |
57 | 0 | 0 | 0 | $score < 0 or 1 < $score |
60 | 0 | 0 | 0 | $content->{'score'} == 1 || $content->{'score'} < $score |