| blib/lib/Captcha/reCAPTCHA/V3.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 8 | 18 | 44.4 |
| line | true | false | branch |
|---|---|---|---|
| 39 | 6 | 1 | unless my $value = shift() |
| 45 | 0 | 1 | unless my $value = shift() |
| 53 | 0 | 1 | if @_ |
| 61 | 1 | 0 | if $res->is_success |
| 71 | 0 | 0 | if $score < 0 or 1 < $score |
| 74 | 0 | 0 | if ($content->{'success'} and $content->{'score'} == 1 || $content->{'score'} < $score) |
| 84 | 0 | 0 | if $content->{'success'} |
| 109 | 0 | 3 | unless my $id = $attr{'id'} |
| 111 | 2 | 1 | unless $attr{'debug'} |