Branch Coverage

blib/lib/Grep/Query.pm
Criterion Covered Total %
branch 32 38 84.2


line true false branch
31 0 452 unless defined $query
52 0 339 unless @_
56 127 212 (&blessed($arg) // '') eq 'Grep::Query' ? :
77 2 337 unless defined wantarray
88 186 151 if (@{$self->{'_fieldrefs'};} or @_ and not defined $_[0] and $refCount) { }
94 144 42 if (defined $fieldAccessor) { }
98 1 143 unless ref $fieldAccessor eq 'Grep::Query::FieldAccessor'
105 42 0 if @{$self->{'_fieldrefs'};}
112 1 150 if ref $_[0] eq 'Grep::Query::FieldAccessor'
117 0 8 wantarray ? :
8 327 unless @_
121 303 24 if (@_ > 1)
126 0 6696 unless $fp eq __fingerprint('Digest::MD5'->new, $entry)->hexdigest
137 24 303 if (scalar @_ == 1 and ref $_[0] eq 'HASH')
139 0 24 unless $fieldAccessor
166 3 324 unless wantarray
171 24 300 if ($lonehash) { }
202 100 18831 if ($type eq 'ARRAY') { }
2368 16463 elsif ($type eq 'HASH') { }