blib/lib/Captcha/noCAPTCHA.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 16 | 20 | 80.0 |
line | true | false | branch |
---|---|---|---|
13 | 0 | 3 | unless $self->site_key($args->{'site_key'}) |
14 | 0 | 3 | unless $self->secret_key($args->{'secret_key'}) |
40 | 1 | 4 | if ($self->noscript) |
72 | 2 | 0 | if $value |
73 | 1 | 1 | if $ip |
79 | 3 | 6 | unless ($response and ref $response) |
83 | 2 | 4 | unless ($response->{'success'}) |
88 | 2 | 2 | unless ($response->{'content'}) |
93 | 0 | 2 | unless ($json) |
104 | 21 | 17 | if @args |