| blib/lib/WebService/Mattermost/V4/API/Resource.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 18 | 24 | 75.0 |
| line | true | false | branch |
|---|---|---|---|
| 124 | 3 | 13 | if ($args->{'required'}) |
| 127 | 0 | 3 | unless $validation->{'valid'} |
| 132 | 16 | 0 | if ($self->auth_token) |
| 141 | 4 | 12 | if (grep {$_ eq $request->method;} $self->PUT, $self->POST) { } |
| 147 | 1 | 15 | if $args->{'override_data_type'} |
| 154 | 0 | 16 | if (my $error = $tx->req->error) |
| 184 | 4 | 12 | if ($args->{'view'}) |
| 188 | 1 | 15 | if ($res->is_error and $self->debug) |
| 204 | 2 | 14 | $res->is_error ? : |
| 14 | 2 | $res->is_success ? : | |
| 218 | 3 | 0 | if &all(sub { 2: defined $_; 3: } 4: , values %slice) |
| 223 | 0 | 0 | unless $args->{$kx} |