blib/lib/Elasticsearch/Role/Transport.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 10 | 90.0 |
line | true | false | branch |
---|---|---|---|
35 | 168 | 8 | unless defined $body |
38 | 7 | 1 | $$params{'serialize'} eq 'std' ? : |
43 | 8 | 0 | if ($$params{'method'} eq 'GET') |
45 | 1 | 7 | if ($send_as eq 'POST') { } |
1 | 6 | elsif ($send_as eq 'source') { } |