Branch Coverage

blib/lib/Elastic/Model/View.pm
Criterion Covered Total %
branch 1 64 1.5


line true false branch
268 0 0 @_ > 1 ? :
269 0 0 unless my $query = $self->search_builder->query(@args)
278 0 0 @_ > 1 ? :
279 0 0 unless my $filter = $self->search_builder->filter(@args)
288 0 0 @_ > 1 ? :
289 0 0 unless my $filter = $self->search_builder->filter(@args)
341 0 0 @_ > 1 ? :
342 0 0 ref $_[0] ? :
343 0 0 ref $_[0] eq 'ARRAY' ? :
352 0 0 if (@_)
371 0 0 if $$val{'fields'}
383 0 3 if defined $$args{$_}
412 0 0 unless my $cache = $self->cache
415 0 0 unless $self->cache_opts
416 0 0 @_ == 1 ? :
433 0 0 unless $self->sort
434 0 0 if @{[] unless $self->sort;}
464 0 0 if ($hfields = $self->highlight and keys %$hfields)
465 0 0 unless $self->highlighting
471 0 0 if $self->_has_include_paths
473 0 0 if $self->_has_exclude_paths
476 0 0 unless $source or @$fields
495 0 0 if defined $source
504 0 0 unless $self->facets
509 0 0 unless ref $_ eq 'HASH'
531 0 0 unless my $src = delete $$clause{$old}
532 0 0 if $$clause{$new}
535 0 0 $new eq 'query' ? :
536 0 0 unless my $sub_clause = $builder->$method($src)
548 0 0 unless $q or $f
551 0 0 $f ? :
0 0 !$q ? :