| blib/lib/RT/Client/REST.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 22 | 76 | 28.9 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 97 | 0 | 0 | 4 | $_->blessed and $_->can("rethrow") |
| 135 | 0 | 0 | 0 | not @$o and $c |
| 157 | 0 | 0 | 0 | not @$o and $c |
| 179 | 0 | 0 | 0 | not @$o and $c |
| 185 | 0 | 0 | 0 | defined $c[1] && $c[1] eq '(Unnamed)' |
| 212 | 6 | 0 | 0 | not @$o and $c |
| 234 | 0 | 0 | 0 | not @$o and $c |
| 260 | 0 | 0 | 0 | $_->blessed and $_->can("rethrow") |
| 337 | 0 | 0 | 0 | not @$o and $c |
| 365 | 0 | 0 | 0 | defined $format and $format eq "s" |
| 472 | 2 | 0 | 0 | -f $files->[$i] and -r _ |
| 565 | 0 | 8 | 0 | do { |
| 615 | 4 | 0 | 5 | 500 == $res->code and ($res->decoded_content || $res->message) =~ /read timeout/ |
| 0 | 2 | 2 | 302 == $res->code and not $self->{'_redirected'} | |
| 840 | 0 | 0 | 4 | defined $message and length $message |
| line | l | !l | condition |
|---|---|---|---|
| 149 | 0 | 1 | delete $opts{'type'} || 'ticket' |
| 171 | 0 | 0 | delete $opts{'type'} || 'ticket' |
| 196 | 0 | 6 | delete $opts{'type'} || 'ticket' |
| 226 | 0 | 0 | delete $opts{'type'} || 'ticket' |
| 280 | 0 | 1 | delete $opts{'type'} || 'ticket' |
| 328 | 0 | 0 | delete $opts{'type'} || 'ticket' |
| 431 | 2 | 2 | delete $opts{'comment_action'} || 'comment' |
| 511 | 0 | 0 | delete $opts{'type'} || 'ticket' |
| 628 | 0 | 1 | $text || '' |
| 720 | 2 | 9 | $self->user_agent_args || {} |
| 899 | 11 | 0 | $self->_version || '???' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 58 | 0 | 25 | 0 | ref $class || $class |
| 586 | 0 | 6 | 22 | $self->_cookie or $self->basic_auth_cb |
| 615 | 5 | 0 | 0 | $res->decoded_content || $res->message |