Branch Coverage

blib/lib/OAuth/Consumer.pm
Criterion Covered Total %
branch 0 54 0.0


line true false branch
321 0 0 $opts{'oauth_callback'} ? :
329 0 0 if (not eval 'use threads; 1') { }
0 0 elsif (not eval 'use Thread::Queue; 1') { }
362 0 0 unless $sock
366 0 0 if $$self{'oauth_callback'}
375 0 0 $ok ? :
376 0 0 $ok ? :
378 0 0 if ($txt =~ /^\s*/) { }
397 0 0 unless $sock
407 0 0 if $@
409 0 0 if ($get_line =~ m[^GET\s+/oauth_callback.*oauth_verifier=([-0-9a-z_]+)]i) { }
435 0 0 if ($$self{'thread'})
436 0 0 if ($$self{'thread'}->is_joinable) { }
467 0 0 unless $$self{'oauth_request_token_url'}
468 0 0 unless $$self{'oauth_authorize_url'}
469 0 0 unless $ver_type =~ /^(manual|blocking|thread)$/
474 0 0 unless $$self{'oauth_callback'}
478 0 0 unless $$self{'oauth_callback'}
481 0 0 if (not $$self{'oauth_callback'})
495 0 0 if ($r->is_error)
496 0 0 length $r->content > $max_content_len_for_error ? :
505 0 0 if ($$self{'oauth_version'} eq '1.0')
517 0 0 unless $$self{'oauth_access_token_url'}
527 0 0 unless exists $args{'oauth_verifier'}
534 0 0 if ($$self{'oauth_verifier'} =~ /^OAUTH::CONSUMER::ERR:(.*?)$/m)
540 0 0 if ($r->is_error)
541 0 0 length $r->content > $max_content_len_for_error ? :