Condition Coverage

blib/lib/Captcha/Peoplesign.pm
Criterion Covered Total %
condition 2 62 3.2


or 2 conditions

line l !l condition
41 0 1 shift() || {}
46 0 1 $$args{'html_mode'} || 'html'
66 0 0 $$args{'ps_psoptions'} || ''
67 0 0 $$args{'ps_sessionid'} || ''
85 0 0 $$args{'iframe_width'} || '335'
86 0 0 $$args{'iframe_height'} || '335'
104 0 0 $$args{'ps_sessionid'} || 'Provide ps_sessioid'
148 0 0 shift() || 'default'
181 0 0 shift() || 'default'
251 0 0 shift() || '335'
252 0 0 shift() || '335'
274 0 0 shift() || '335'
275 0 0 shift() || '335'

or 3 conditions

line l !l&&r !l&&!r condition
54 0 0 0 $$self{'_html'} ||= 'HTML::Tiny'->new('mode', $$self{'_html_mode'})
63 0 0 0 $$args{'ps_key'} || croak('Provide a key')
64 0 0 0 $$args{'ps_location'} || croak('Provide a location')
65 0 0 0 $$args{'ps_clientip'} || croak('Provide the IP address of the client')
102 0 0 0 $$args{'ps_key'} || croak('Provide ps_key')
103 0 0 0 $$args{'ps_location'} || croak('Provide ps_location')
105 0 0 0 $$args{'ps_response'} || croak('Provide ps_response')
118 0 0 0 $status eq 'fail' or $status eq 'notRequested'
0 0 0 $status eq 'fail' or $status eq 'notRequested' or $status eq 'awaitingResponse'
146 0 0 0 shift() || croak('Provide challengeSessionID')
147 0 0 0 shift() || croak('Provide response string')
318 0 0 0 shift() || $self->_get_caller_info_string