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

or 2 conditions

line l !l condition
28 3 1 $attr{'sitekey'} || ''
30 0 4 $attr{'query_name'} || 'g-recaptcha-response'
70 0 0 $attr{'score'} || 0.5
110 0 3 $attr{'action'} || 'homepage'

or 3 conditions

line l !l&&r !l&&!r condition
24 0 4 0 ref $class || $class
29 4 0 0 $attr{'secret'} || croak(q[missing param 'secret'])
56 1 0 0 $response || croak('missing response token')
69 0 0 0 $attr{'response'} || croak('missing response token')
71 0 0 0 $score < 0 or 1 < $score
74 0 0 0 $content->{'score'} == 1 || $content->{'score'} < $score
92 1 2 0 $attr{'sitekey'} || $self->{'sitekey'} || croak(q[missing 'sitekey'])
99 3 2 0 $attr{'sitekey'} || $self->{'sitekey'} || croak(q[missing 'sitekey'])
107 2 2 0 $attr{'sitekey'} || $self->{'sitekey'} || croak(q[missing 'sitekey'])