blib/lib/Eixo/Rest/Api.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 7 | 20 | 35.0 |
line | true | false | branch |
---|---|---|---|
28 | 4 | 0 | if ($method =~ /^get|^post|^patch|^delete|^update|^put|^head/) { } |
98 | 0 | 0 | if ($id) |
99 | 0 | 0 | unless scalar grep({$_->job_id == $id;} @{$self->jobs;}) |
123 | 0 | 4 | if ($args{'needed'}) |
133 | 0 | 0 | unless defined $params->{$_} |
140 | 4 | 0 | unless (exists $params->{'GET_DATA'}) |
145 | 4 | 0 | unless (exists $params->{'POST_DATA'}) |
150 | 1 | 3 | if ($args{'uri_mask'}) |
176 | 0 | 4 | wantarray ? : |
232 | 0 | 0 | if (scalar(@args) % 2 != 0) |