Condition Coverage

blib/lib/WWW/Live/Auth.pm
Criterion Covered Total %
condition 3 39 7.6


and 3 conditions

line !l l&&!r l&&r condition
26 1 0 0 $secret_key and not ref $secret_key

or 3 conditions

line l !l&&r !l&&!r condition
21 0 1 0 ref $proto || $proto
30 0 1 0 $options{'agent'} ||= 'WWW::Live::Auth' . "/$VERSION"
50 0 0 0 $args{'offers'} || croak('List of offers is required')
51 0 0 0 $args{'privacy_url'} || croak('Privacy policy URL is required')
52 0 0 0 $self->{'secret_key'} || croak('Secret key is required')
53 0 0 0 $self->{'application_id'} || croak('Application ID is required')
93 0 0 0 $args{'consent_token'} || croak('Consent token is required to construct a refresh URL')
94 0 0 0 $self->{'secret_key'} || croak('Secret key is required to construct a refresh URL')
95 0 0 0 $self->{'application_id'} || croak('Application ID is required to construct a refresh URL')
128 0 0 0 $cgi ||= 'CGI'->new
130 0 0 0 not $cgi->param('action') or $cgi->param('action') ne 'delauth'
139 0 0 0 $cgi ||= 'CGI'->new