Branch Coverage

blib/lib/REST/Neo4p/Agent.pm
Criterion Covered Total %
branch 2 82 2.4


line true false branch
25 0 4 unless $mod
27 0 4 unless eval "require $mod;1"
40 0 0 if @_
46 0 0 if @_
52 0 0 unless $self->batch_mode
60 0 0 if defined $server
61 0 0 unless ($self->server_url)
65 0 0 unless ($resp->is_success)
66 0 0 $resp->code == 401 ? :
74 0 0 if /^extensions$/
80 0 0 unless ($resp->is_success)
81 0 0 $resp->code == 401 ? :
87 0 0 if /^extensions$/
91 0 0 unless ($json->{'relationship'})
117 0 0 if defined $content
126 0 0 unless ($self->batch_mode)
129 0 0 unless $self->batch_length
133 0 0 if ($chunk_size) { }
169 0 0 if ($self->isa('REST::Neo4p::Agent::Neo4j::Driver'))
174 0 0 unless (grep /^$action$/, keys %{$$self{'_actions'};})
177 0 0 unless $rq
183 0 0 if (my $e = 'REST::Neo4p::CommException'->caught) { }
0 0 elsif ($e = 'Exception::Class'->caught) { }
184 0 0 if ($i > 1) { }
193 0 0 ref $e && $e->can('rethrow') ? :
219 0 0 if (@url_components and ref $url_components[-1] and ref $url_components[-1] eq 'HASH')
227 0 0 if @params
228 0 0 if ($self->batch_mode)
229 0 0 @url_components && $url_components[0] =~ /{[0-9]+}/ ? :
241 0 0 unless (not $addl_headers or ref $addl_headers eq 'HASH')
247 0 0 if ($self->batch_mode)
248 0 0 $url_components->[0] =~ /{[0-9]+}/ ? :
254 0 0 if $content and not $self->isa('Mojo::UserAgent')
262 0 0 if (length $resp->content)
263 0 0 if ($resp->header('Content_Type') =~ /json/)
267 0 0 unless ($resp->is_success)
268 0 0 if ($self->{'_decoded_content'}) { }
287 0 0 if ($error_fields{'neo4j_exception'} and $error_fields{'neo4j_exception'} =~ /^Syntax/)
294 0 0 $resp->code && $resp->code == 404 ? :
308 0 0 unless defined $v
311 0 0 wantarray ? :