Branch Coverage

blib/lib/Net/Delicious.pm
Criterion Covered Total %
branch 0 144 0.0


line true false branch
228 0 0 if (ref $args eq 'Config::Simple') { }
0 0 elsif (ref $$args{'cfg'} eq 'Config::Simple') { }
0 0 elsif (-f $$args{'cfg'}) { }
242 0 0 if ($@)
251 0 0 unless ($cfg)
267 0 0 if ($parser_cfg eq 'libxml') { }
0 0 elsif ($parser_cfg eq 'xpath') { }
281 0 0 if ($@)
296 0 0 if ($self->config('delicious.debug'))
323 0 0 $res ? :
394 0 0 unless ($self->_use_rsp_parser)
425 0 0 unless ($self->_use_rsp_parser)
462 0 0 unless ($res)
466 0 0 unless ($self->_use_rsp_parser)
510 0 0 unless ($res)
514 0 0 unless ($self->_use_rsp_parser)
539 0 0 unless ($self->_is_updated)
546 0 0 unless ($res)
550 0 0 unless ($self->_use_rsp_parser)
597 0 0 unless ($res)
601 0 0 unless ($self->_use_rsp_parser)
626 0 0 unless ($res)
630 0 0 unless ($self->_use_rsp_parser)
672 0 0 unless ($self->_use_rsp_parser)
708 0 0 unless ($self->_use_rsp_parser)
715 0 0 unless ($$args{'tag'})
722 0 0 unless ($it)
733 0 0 if (wantarray) { }
744 0 0 if (wantarray)
770 0 0 unless ($self->_use_rsp_parser)
777 0 0 if (ref $bundles ne 'HASH')
786 0 0 if (exists $$bundles{'name'}) { }
831 0 0 unless ($self->_use_rsp_parser)
862 0 0 unless ($self->_use_rsp_parser)
882 0 0 if (ref $$self{'__logger'} ne 'Log::Dispatch')
938 0 0 if (ref $$self{'__ua'} ne 'LWP::UserAgent')
958 0 0 unless (-f $path)
964 0 0 unless ($fh)
983 0 0 unless ($fh)
1002 0 0 $last ? :
1010 0 0 unless ($$self{'__updates'})
1014 0 0 if ($user_cfg) { }
0 0 elsif (-d (getpwuid $Net::Delicious::EUID)[7]) { }
1039 0 0 unless ($params)
1059 0 0 unless ($args)
1067 0 0 unless (defined $rules)
1078 0 0 if ($required and not exists $$args{$param})
1083 0 0 if ($type and $type eq 'no')
1100 0 0 if exists $$args{$_}
1145 0 0 if ($res->code eq 503)
1153 0 0 if ($$self{'__paused'} > 10)
1170 0 0 if ($retry_after) { }
1197 0 0 if ($res->code ne 200)
1202 0 0 if ($res->content =~ /^
1218 0 0 if ($parser eq 'libxml') { }
0 0 elsif ($parser eq 'xpath') { }
1232 0 0 if ($@)
1237 0 0 if ($xml eq 'something went wrong')
1254 0 0 if (ref $$self{'__ua'} ne 'LWP::UserAgent')
1269 0 0 if (not exists $$data{$key}) { }
0 0 elsif (ref $$data{$key} eq 'ARRAY') { }
1291 0 0 if ($self->config('delicious.use_dev'))
1299 0 0 if ($@)
1310 0 0 if (wantarray)
1339 0 0 if ($self->config('delicious.xml_parser') ne 'simple')
1343 0 0 if ($self->config('delicious.force_xml_objects'))
1354 0 0 if (not $res) { }
0 0 elsif ($res eq 'done') { }
0 0 elsif ($res eq 'ok') { }
0 0 elsif (ref $res eq 'HASH' and exists $$res{'code'} and $$res{'code'} eq 'done') { }
1386 0 0 unless (exists $$args{$key})
1390 0 0 if ($$args{$key})