| blib/lib/Captcha/reCAPTCHA/V3.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 8 | 18 | 44.4 |
| line | true | false | branch |
|---|---|---|---|
| 34 | 6 | 1 | unless my $value = shift() |
| 40 | 0 | 1 | unless my $value = shift() |
| 48 | 0 | 1 | if @_ |
| 61 | 1 | 0 | if ($res->is_success) { } |
| 73 | 0 | 0 | if $score < 0 or 1 < $score |
| 76 | 0 | 0 | if ($content->{'success'} and $content->{'score'} == 1 || $content->{'score'} < $score) |
| 86 | 0 | 0 | if $content->{'success'} |
| 111 | 0 | 3 | unless my $id = $attr{'id'} |
| 113 | 1 | 2 | $attr{'debug'} ? : |