blib/lib/WebService/Mattermost/V4/API/Resource.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 16 | 24 | 66.6 |
line | true | false | branch |
---|---|---|---|
121 | 3 | 7 | if ($args->{'required'}) |
124 | 0 | 3 | unless $validation->{'valid'} |
129 | 10 | 0 | if ($self->auth_token) |
138 | 3 | 7 | if (grep {$_ eq $request->method;} $self->PUT, $self->POST) { } |
144 | 0 | 10 | if $args->{'override_data_type'} |
151 | 0 | 10 | if (my $error = $tx->req->error) |
181 | 0 | 10 | if ($args->{'view'}) |
185 | 1 | 9 | if ($res->is_error and $self->debug) |
201 | 2 | 8 | $res->is_error ? : |
8 | 2 | $res->is_success ? : | |
215 | 3 | 0 | if &all(sub { |
220 | 0 | 0 | unless $args->{$kx} |