Branch Coverage

blib/lib/API/Pingboard.pm
Criterion Covered Total %
branch 0 44 0.0


line true false branch
216 0 0 $params{'id'} ? :
238 0 0 $params{'id'} ? :
260 0 0 $params{'id'} ? :
303 0 0 $params{'id'} ? :
325 0 0 $params{'id'} ? :
373 0 0 $params{'path'} =~ /\?/ ? :
0 0 $page > 1 ? :
393 0 0 if ($params{'uri'}) { }
0 0 elsif ($params{'path'}) { }
406 0 0 if $params{'body'}
409 0 0 if $self->log->is_trace
419 0 0 if ($params{'fields'}) { }
420 0 0 if ($request->method ne 'GET')
436 0 0 if ($response->is_success) { }
439 0 0 if (grep {$_ == $response->code;} @{$self->retry_on_status;}) { }
440 0 0 if ($response->code == 429) { }
442 0 0 if ($response->header('Retry-After') and $response->header('Retry-After') =~ /^\d+$/)
460 0 0 if ($retry == 1)
461 0 0 if (not $self->max_tries or $self->max_tries > $try_count) { }
472 0 0 if $self->log->is_trace
473 0 0 unless ($response->is_success)
476 0 0 if ($response->decoded_content)