blib/lib/ArangoDB2/Index.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 0 | 16 | 0.0 |
line | true | false | branch |
---|---|---|---|
41 | 0 | 0 | unless ref $index eq 'HASH' |
48 | 0 | 0 | unless my $res = $self->arango->http->post($self->api_path('index'), $args, $JSON->encode($index)) |
54 | 0 | 0 | unless my($name) = $$res{'id'} =~ m[/(\d+)$] |
72 | 0 | 0 | unless my $res = $self->arango->http->delete($self->api_path('index', $self->id)) |
100 | 0 | 0 | $self->id ? : |
104 | 0 | 0 | unless my $res = $self->arango->http->get($self->api_path('index', $id)) |
108 | 0 | 0 | unless my($name) = $$res{'id'} =~ m[/(\d+)$] |
138 | 0 | 0 | unless ref $args eq 'HASH' |