Branch Coverage

blib/lib/ArangoDB2/Collection.pm
Criterion Covered Total %
branch 3 12 25.0


line true false branch
58 0 0 unless my $res = $self->arango->http->post($self->api_path('collection'), undef, $JSON->encode($args))
91 0 3 if (defined $name) { }
142 0 1 if (defined $name) { }
191 0 1 if (defined $name) { }
296 0 0 %$args ? :
325 0 0 if ($res and $$res{'name'} eq $$args{'name'})