| blib/lib/Mojo/Snoo/Base.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 5 | 22 | 22.7 |
| line | true | false | branch |
|---|---|---|---|
| 55 | 0 | 0 | if (exists $res->{'error'}) |
| 59 | 0 | 0 | $res->{'error'} == 401 ? : |
| 78 | 1 | 13 | if (@oauth_given and @oauth_given < 4) |
| 92 | 0 | 0 | $TOKEN_REQUIRED{$path} ? : |
| 100 | 0 | 0 | unless $captcha_required |
| 116 | 0 | 0 | if ($self->_token_required($path)) |
| 124 | 0 | 0 | if ($method eq 'GET') |
| 125 | 0 | 0 | if %params |
| 135 | 0 | 5 | @args > 1 ? : |
| 139 | 0 | 20 | if exists $args{$attr} |
| 142 | 0 | 20 | if $self->$has_attr |