Branch Coverage

blib/lib/ArangoDB2/Graph/Vertex.pm
Criterion Covered Total %
branch 0 32 0.0


line true false branch
24 0 0 unless ref $data eq 'HASH'
29 0 0 unless my $res = $self->arango->http->post($self->api_path('gharial', $self->graph->name, $self->_class, $self->collection->name), $args, $JSON->encode($data))
35 0 0 unless $res = $$res{$self->_class}
58 0 0 unless my $res = $self->arango->http->delete($self->api_path('gharial', $self->graph->name, $self->_class, $self->collection->name, delete $$args{'name'}))
62 0 0 if (my $data = $self->data)
81 0 0 unless my $res = $self->arango->http->get($self->api_path('gharial', $self->graph->name, $self->_class, $self->collection->name, delete $$args{'name'}))
85 0 0 unless $res = $$res{$self->_class}
90 0 0 if (my $data = $self->data) { }
117 0 0 unless ref $data eq 'HASH'
122 0 0 unless my $res = $self->arango->http->patch($self->api_path('gharial', $self->graph->name, $self->_class, $self->collection->name, delete $$args{'name'}), $args, $JSON->encode($data))
128 0 0 unless $res = $$res{$self->_class}
133 0 0 if (my $orig_data = $self->data) { }
154 0 0 unless ref $data eq 'HASH'
159 0 0 unless my $res = $self->arango->http->put($self->api_path('gharial', $self->graph->name, $self->_class, $self->collection->name, delete $$args{'name'}), $args, $JSON->encode($data))
165 0 0 unless $res = $$res{$self->_class}
170 0 0 if (my $orig_data = $self->data) { }