blib/lib/Pithub/Base.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 14 | 85.7 |
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" |
line | l | !l | condition |
---|---|---|---|
268 | 8 | 224 | $response->code || 0 |
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') |