Condition Coverage

blib/lib/OAuth/Lite/Consumer.pm
Criterion Covered Total %
condition 32 106 30.1


and 3 conditions

line !l l&&!r l&&r condition
417 0 0 0 $resp and $resp->token
0 0 0 $resp and $resp->token and $resp->token->callback_confirmed
464 0 0 0 $token and $token->callback_confirmed
679 1 1 0 not $is_send_data_method and $auth_method eq 'post_body'
683 0 0 0 $is_send_data_method and not $content
708 1 0 0 $is_send_data_method and not $content
939 0 0 0 $authenticate and $authenticate =~ /^\s*OAuth/
1032 10 0 0 $params->{'oauth_signature_method'} eq 'PLAINTEXT' and not lc($url) =~ /^https/

or 2 conditions

line l !l condition
305 7 1 $args{'consumer_key'} || ''
306 7 1 $args{'consumer_secret'} || ''
307 1 7 $args{'http_method'} || 'POST'
308 1 7 $args{'auth_method'} || 'auth_header'
476 0 0 delete $args{'realm'} || $self->{'realm'} || ''
477 0 0 delete $args{'callback_url'} || $self->{'callback_url'} || 'oob'
537 0 0 $args{'realm'} || $self->{'realm'} || ''
540 0 0 $args{'params'} || {}
604 0 0 $args{'realm'} || $self->{'realm'} || ''
645 2 0 $args{'params'} || {}
648 0 2 $args{'realm'} || $self->{'realm'} || $self->find_realm_from_last_response || ''
656 3 4 $hash{$key} ||= []
726 0 1 &bytes::length($content) || 0
836 0 0 $args ||= {}
865 0 0 $args ||= {}
896 0 0 $args ||= {}
925 0 0 $args ||= {}
969 2 0 $args->{'extra'} || {}
971 0 2 $args->{'realm'} || ''
982 2 2 $extra ||= {}
1016 6 4 $extra ||= {}
1017 9 1 $self->consumer_key || ''
1030 9 1 $self->consumer_secret || ''

or 3 conditions

line l !l&&r !l&&!r condition
388 0 5 0 $args{'url'} ||= $self->authorization_url
416 0 0 0 $res->decoded_content || $res->content
463 0 0 0 $res->decoded_content || $res->content
472 0 0 0 $args{'url'} ||= $self->request_token_url
534 0 0 0 $args{'url'} ||= $self->access_token_url
551 0 0 0 $res->decoded_content || $res->content
599 0 0 0 $args{'url'} ||= $self->access_token_url
616 0 0 0 $res->decoded_content || $res->content
641 1 1 0 $args{'method'} || $self->{'http_method'}
784 0 0 0 $args{'token'} ||= $self->access_token
1018 0 10 0 $self->{'_timestamp'} || time
1019 0 10 0 $self->{'_nonce'} || gen_random_key()