| blib/lib/WWW/VastAI/Role/OperationMap.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 16 | 20 | 80.0 |
| line | true | false | branch |
|---|---|---|---|
| 69 | 41 | 5 | if $base eq "v0" |
| 70 | 1 | 4 | if $base eq "v1" |
| 71 | 4 | 0 | if $base eq "run" |
| 81 | 20 | 0 | exists $vars->{$1} ? : |
| 91 | 0 | 46 | unless my $op = $self->operation_map->{$name} |
| 99 | 15 | 31 | if ($op->{'method'} eq "GET") |
| 100 | 2 | 13 | $args{'query'} ? : |
| 102 | 12 | 19 | if ($op->{'method'} eq "POST") |
| 105 | 10 | 9 | if ($op->{'method'} eq "PUT") |
| 108 | 9 | 0 | if ($op->{'method'} eq "DELETE") |