Branch Coverage

blib/lib/Search/Elasticsearch/Role/Client/Direct.pm
Criterion Covered Total %
branch 4 36 11.1


line true false branch
21 0 0 ref $_[0] ? :
47 0 0 if $params->{'path'}
56 0 0 if (ref $val eq "ARRAY")
58 0 0 if @$val > 1 and not $req->{'multi'}
61 0 0 unless (length $val)
63 0 0 if $req->{'required'}
71 0 0 unless @keys == keys %args
73 0 0 unless exists $args{$_}
93 0 0 if (defined $defn)
95 0 0 if $defn->{'required'} and not $params->{'body'}
98 0 0 if $params->{'body'}
106 0 0 unless $handlers
109 0 0 if (my $raw = delete $params->{'params'})
110 0 0 unless ref $raw eq "HASH"
116 0 0 unless my $handler = $handlers->{$key}
130 0 55 $group ? :
132 19635 2310 unless my($name) = $action =~ /^$group_qr([^.]+)$/
134 0 2310 if $stash->has_symbol("&" . $name)