blib/lib/Mojo/Snoo/Base.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 22 | 22.7 |
line | true | false | branch |
---|---|---|---|
53 | 0 | 0 | if (exists $$res{'error'}) |
54 | 0 | 0 | $$res{'error'} == 401 ? : |
76 | 1 | 13 | if (@oauth_given and @oauth_given < 4) |
90 | 0 | 0 | $TOKEN_REQUIRED{$path} ? : |
98 | 0 | 0 | unless $captcha_required |
114 | 0 | 0 | if ($self->_token_required($path)) |
122 | 0 | 0 | if ($method eq 'GET') |
123 | 0 | 0 | if %params |
133 | 0 | 5 | @args > 1 ? : |
137 | 0 | 20 | if exists $args{$attr} |
140 | 0 | 20 | if $self->$has_attr |