Branch Coverage

blib/lib/WWW/Ohloh/API.pm
Criterion Covered Total %
branch 1 22 4.5


line true false branch
71 0 0 if index($id, "\@") != -1
200 0 2 if index($id, "\@") != -1
253 0 0 unless ($analysis->project_id == $project)
306 0 0 unless ($ua = $user_agent_of[$$self])
325 0 0 $_[0] ? :
327 0 0 unless ($url =~ /^http/)
328 0 0 unless $param{'api_key'} = $self->get_api_key
338 0 0 if $debugging[$$self]
344 0 0 unless ($response->is_success)
350 0 0 unless my $dom = eval { do { $self->_parser->parse_string($result) } }
353 0 0 if ($dom->findvalue("/response/status/text()") ne "success")