Condition Coverage

blib/lib/WebService/Pingboard.pm
Criterion Covered Total %
condition 10 42 23.8


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'}
293 8 0 0 $self->_access_token and $self->_access_token_expires > time + 5
304 4 0 0 $self->access_token_is_valid and $self->_headers
544 0 0 4 $params{'limit'} and $params{'limit'} < $params{'page_size'}
556 0 0 0 $response->{'meta'}{$params{'field'}}{'page'} < $response->{'meta'}{$params{'field'}}{'page_count'} and !$params{'limit'} || scalar @results < $params{'limit'}
621 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
543 0 4 0 $params{'page_size'} ||= $self->default_page_size
556 0 0 0 !$params{'limit'} || scalar @results < $params{'limit'}
583 0 0 4 $params{'headers'} || $self->headers
640 0 0 0 not $self->max_tries or $self->max_tries > $try_count