Branch Coverage

blib/lib/App/Prove/Elasticsearch/Searcher/ByName.pm
Criterion Covered Total %
branch 10 14 71.4


line true false branch
39 0 4 unless $self->_has_results
81 0 4 unless (scalar @{$docs->{'hits'}{'hits'};})
91 0 4 ref $match->{'platform'} eq 'ARRAY' ? :
102 1 2 if ($name_correct and $version_correct and $plats_correct)
116 0 2 unless $self->_has_results
139 2 2 unless (scalar @{$docs->{'hits'}{'hits'};})
164 1 1 unless scalar @$hits