Branch Coverage

blib/lib/App/ElasticSearch/Utilities/Connection.pm
Criterion Covered Total %
branch 0 42 0.0


line true false branch
88 0 0 $self->password ? :
98 0 0 if ($ctype =~ m[^application/json\b]u) { }
0 0 elsif ($response->is_success and $ctype =~ m[^text/plain]u) { }
109 0 0 if defined $_ and length $_
115 0 0 if (my $content = $response->content)
117 0 0 if (XXX) { }
128 0 0 if length $self->password and $self->proto ne "https"
140 0 0 if defined $_
155 0 0 if (exists $options->{'uri_param'} and XXX)
161 0 0 if (not defined $body and exists $options->{'body'})
166 0 0 exists $options->{'method'} ? :
169 0 0 if ($method eq "PUT" and $options->{'index'} and $options->{'command'} eq "/")
174 0 0 if (defined $body)
175 0 0 if (XXX) { }
187 0 0 if length $self->password and $self->proto eq "https"
190 0 0 if defined $body
200 0 0 unless exists $options{'index'}
213 0 0 unless exists $options{'body'}
215 0 0 if exists $options{'index'}
225 0 0 unless exists $options{'body'}
227 0 0 if exists $options{'index'}