Condition Coverage

blib/lib/WebService/Pingboard.pm
Criterion Covered Total %
condition 11 45 24.4


and 3 conditions

line !l l&&!r l&&r condition
256 4 0 0 $params{'username'} and $params{'refresh_token'}
4 0 0 $params{'username'} and $params{'password'}
295 8 0 0 $self->_access_token and $self->_access_token_expires > time + 5
306 4 0 0 $self->access_token_is_valid and $self->_headers
553 0 0 4 $params{'limit'} and $params{'limit'} < $params{'page_size'}
567 0 0 0 $response->{'meta'}{$params{'field'}}{'page'} < $response->{'meta'}{$params{'field'}}{'page_count'} and !$params{'limit'} || scalar @results < $params{'limit'}
628 0 0 0 $response->header('Retry-After') and $response->header('Retry-After') =~ /^\d+$/

or 3 conditions

line l !l&&r !l&&!r condition
247 0 0 4 $params{'username'} ||= $self->username
248 0 0 4 $params{'password'} ||= $self->password
249 0 0 4 $params{'refresh_token'} ||= $self->refresh_token
552 0 4 0 $params{'page_size'} ||= $self->default_page_size
567 0 0 0 !$params{'limit'} || scalar @results < $params{'limit'}
583 0 4 0 $params{'uri'} || $self->api_url
590 0 0 4 $params{'headers'} || $self->headers
647 0 0 0 not $self->max_tries or $self->max_tries > $try_count