Branch Coverage

blib/lib/Search/Elasticsearch/Role/Transport.pm
Criterion Covered Total %
branch 9 10 90.0


line true false branch
39 167 8 unless defined $body
43 7 1 $params->{'serialize'} eq 'std' ? :
47 8 0 if ($params->{'method'} eq "GET")
49 1 7 if ($send_as eq 'POST') { }
1 6 elsif ($send_as eq 'source') { }