Branch Coverage

blib/lib/Grep/Query.pm
Criterion Covered Total %
branch 30 38 78.9


line true false branch
31 0 437 unless defined $query
52 0 324 unless @_
56 122 202 (&blessed($arg) // '') eq 'Grep::Query' ? :
77 2 322 unless defined wantarray
84 173 149 if (@{$self->{'_fieldrefs'};}) { }
90 144 29 if (defined $fieldAccessor) { }
94 1 143 unless ref $fieldAccessor eq 'Grep::Query::FieldAccessor'
109 1 148 if ref $_[0] eq 'Grep::Query::FieldAccessor'
114 6672 0 defined $_ ? :
118 0 8 wantarray ? :
8 312 unless @list
122 288 24 if (@list > 1)
127 0 6648 unless $fp eq __fingerprint('Digest::MD5'->new, $entry)->hexdigest
138 24 288 if (scalar @list == 1 and ref $list[0] eq 'HASH')
140 0 24 unless $fieldAccessor
167 0 312 unless wantarray
172 24 288 if ($lonehash) { }
203 0 18276 if ($type eq 'ARRAY') { }
2268 16008 elsif ($type eq 'HASH') { }