| blib/lib/App/Prove/Elasticsearch/Utils.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 20 | 75.0 |
| line | true | false | branch |
|---|---|---|---|
| 17 | 2 | 1 | if (-e $homedir) |
| 18 | 0 | 2 | unless ('Config::Simple'->import_from("$homedir/elastest.conf", $conf)) |
| 19 | 0 | 0 | if -e "$homedir/elastest.conf" |
| 27 | 0 | 4 | if (scalar @kvp < 2) |
| 50 | 1 | 2 | $conf->{'client.indexer'} ? : |
| 54 | 1 | 2 | if $@ |
| 136 | 1 | 1 | if $@ |
| 139 | 0 | 1 | if ($ENV{'CLIENT_PROVISIONERS'}) { } |
| 153 | 7 | 6 | if $@ |
| 173 | 1 | 1 | unless scalar @$hits |