Branch Coverage

blib/lib/Grep/Query.pm
Criterion Covered Total %
branch 20 24 83.3


line true false branch
31 0 440 unless defined $query
52 0 327 unless @_
56 125 202 (&blessed($arg) // '') eq 'Grep::Query' ? :
77 2 325 unless defined wantarray
88 174 151 if (@{$self->{'_fieldrefs'};} or @_ and not defined $_[0] and $refCount) { }
94 120 54 if (defined $fieldAccessor) { }
98 1 119 unless ref $fieldAccessor eq 'Grep::Query::FieldAccessor'
105 54 0 if @{$self->{'_fieldrefs'};}
112 1 150 if ref $_[0] eq 'Grep::Query::FieldAccessor'
117 0 8 wantarray ? :
8 315 unless @_
136 3 312 unless wantarray