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
231 326 245 112 $self->_token_required($method, $path) and not $self->has_token($request)
243 1 224 1 $options->{'prepare_request'} and ref $options->{'prepare_request'} ne "CODE"

or 2 conditions

line l !l condition
279 7 221 $response->code || 0

or 3 conditions

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