blib/lib/Captcha/reCAPTCHA.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 20 | 24 | 83.3 |
line | true | false | branch |
---|---|---|---|
28 | 1 | 12 | unless 'HASH' eq ref $args |
38 | 0 | 1 | unless 'HASH' eq ref $options |
56 | 2 | 5 | unless $pubkey |
61 | 1 | 4 | $use_ssl ? : |
64 | 2 | 3 | if ($error) |
67 | 1 | 1 | if ('HASH' eq ref $error) |
68 | 0 | 1 | if $$error{'is_valid'} |
128 | 1 | 3 | unless $privkey |
132 | 1 | 2 | unless $remoteip |
135 | 0 | 2 | unless $challenge and $response |
148 | 2 | 0 | if ($resp->is_success) { } |
150 | 1 | 1 | if ($answer =~ /true/) { } |