Condition Coverage

blib/lib/Pithub/Base.pm
Criterion Covered Total %
condition 12 14 85.7


and 3 conditions

line !l l&&!r l&&r condition
227 326 245 112 $self->_token_required($method, $path) and not $self->has_token($request)
233 1 224 1 $options->{'prepare_request'} and ref $options->{'prepare_request'} ne "CODE"

or 2 conditions

line l !l condition
268 8 226 $response->code || 0

or 3 conditions

line l !l&&r !l&&!r condition
201 685 1 0 delete $args{'method'} || croak('Missing mandatory key in parameters: method')
202 684 1 0 delete $args{'path'} || croak('Missing mandatory key in parameters: path')