Branch Coverage

blib/lib/Net/Flickr/API.pm
Criterion Covered Total %
branch 0 56 0.0


line true false branch
149 0 0 unless ($self->init($cfg))
160 0 0 UNIVERSAL::isa($cfg, 'Config::Simple') ? :
162 0 0 unless ($$self{'cfg'}->param('flickr.api_handler') =~ /^(?:XPath|LibXML)$/)
175 0 0 if ($args{'level'} eq 'error')
198 0 0 if ($$self{'cfg'}->param('reporting.enable'))
206 0 0 if ($@)
213 0 0 if (my $args = $$self{'cfg'}->param('reporting.handler_args'))
226 0 0 unless ($reporter)
310 0 0 if (exists $$args{'args'}{'api_sig'})
327 0 0 if ($@)
339 0 0 if ($res->code eq $PAUSE_ONSTATUS)
361 0 0 unless ($$self{'__auth'})
364 0 0 unless ($auth)
370 0 0 unless ($nsid)
393 0 0 if (my $auth = $self->get_auth)
409 0 0 unless ($xml)
417 0 0 if ($stat eq 'fail')
425 0 0 if ($code == 0)
433 0 0 $@ ? :
447 0 0 if ($$self{'cfg'}->param('flickr.api_handler') eq 'XPath') { }
450 0 0 unless ($@)
460 0 0 unless ($@)
470 0 0 unless ($xml)
487 0 0 if ($$self{'__retries'} > $RETRY_MAXTRIES)
494 0 0 unless ($res)
513 0 0 if ($$self{'__paused'} > $PAUSE_MAXTRIES)
525 0 0 if ($retry_after) { }
574 0 0 if ($@)