blib/lib/Captcha/reCAPTCHA/V3.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 18 | 44.4 |
line | true | false | branch |
---|---|---|---|
35 | 6 | 1 | unless my $value = shift() |
41 | 0 | 1 | unless my $value = shift() |
49 | 0 | 1 | if @_ |
57 | 1 | 0 | if $res->is_success |
67 | 0 | 0 | if $score < 0 or 1 < $score |
70 | 0 | 0 | if ($content->{'success'} and $content->{'score'} == 1 || $content->{'score'} < $score) |
80 | 0 | 0 | if $content->{'success'} |
105 | 0 | 3 | unless my $id = $attr{'id'} |
107 | 1 | 2 | $attr{'debug'} ? : |