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
76 0 0 0 $content->{'success'} and $content->{'score'} == 1 || $content->{'score'} < $score

or 2 conditions

line l !l condition
23 3 1 $attr{'sitekey'} || ''
25 0 4 $attr{'query_name'} || 'g-recaptcha-response'
72 0 0 $attr{'score'} || 0.5
112 0 3 $attr{'action'} || 'homepage'

or 3 conditions

line l !l&&r !l&&!r condition
19 0 4 0 ref $class || $class
24 4 0 0 $attr{'secret'} || croak(q[missing param 'secret'])
51 1 0 0 $response || croak('missing response token')
71 0 0 0 $attr{'response'} || croak('missing response token')
73 0 0 0 $score < 0 or 1 < $score
76 0 0 0 $content->{'score'} == 1 || $content->{'score'} < $score
94 1 2 0 $attr{'sitekey'} || $self->{'sitekey'} || croak(q[missing 'sitekey'])
101 3 2 0 $attr{'sitekey'} || $self->{'sitekey'} || croak(q[missing 'sitekey'])
109 2 2 0 $attr{'sitekey'} || $self->{'sitekey'} || croak(q[missing 'sitekey'])