Condition Coverage

blib/lib/Captcha/reCAPTCHA/V3.pm
Criterion Covered Total %
condition 13 38 34.2


and 3 conditions

line !l l&&!r l&&r condition
70 0 0 0 $content->{'success'} and $content->{'score'} == 1 || $content->{'score'} < $score

or 2 conditions

line l !l condition
24 3 1 $attr{'sitekey'} || ''
26 0 4 $attr{'query_name'} || 'g-recaptcha-response'
66 0 0 $attr{'score'} || 0.5
106 0 3 $attr{'action'} || 'homepage'

or 3 conditions

line l !l&&r !l&&!r condition
20 0 4 0 ref $class || $class
25 4 0 0 $attr{'secret'} || croak(q[missing param 'secret'])
52 1 0 0 $response || croak('missing response token')
65 0 0 0 $attr{'response'} || croak('missing response token')
67 0 0 0 $score < 0 or 1 < $score
70 0 0 0 $content->{'score'} == 1 || $content->{'score'} < $score
88 1 2 0 $attr{'sitekey'} || $self->{'sitekey'} || croak(q[missing 'sitekey'])
95 3 2 0 $attr{'sitekey'} || $self->{'sitekey'} || croak(q[missing 'sitekey'])
103 2 2 0 $attr{'sitekey'} || $self->{'sitekey'} || croak(q[missing 'sitekey'])