Branch Coverage

blib/lib/Mail/Box/Search/Grep.pm
Criterion Covered Total %
branch 27 46 58.7


line true false branch
28 0 0 $args->{'field'} ? :
36 6 0 ref $deliver eq 'ARRAY' ? :
5 6 $deliver eq 'PRINT' ? :
0 11 ref $deliver eq 'CODE' ? :
1 11 !defined($deliver) ? :
45 0 0 ref $take eq 'CODE' ? :
0 0 ref $take eq 'Regexp' ? :
0 0 !ref($take) ? :
12 0 !defined($take) ? :
49 0 12 unless my $match = $args->{'match'}
54 0 0 ref $match eq 'CODE' ? :
7 0 ref $match eq 'Regexp' ? :
5 7 !ref($match) ? :
75 3743 122 unless &$field_check($head, $field->name) and &$match_check($head, $field)
77 0 122 unless $deliver
96 12928 397 unless &$match_check($body, $line)
99 1 396 unless $deliver
110 0 14 @_ == 2 ? :
113 5 9 $match->{'field'} ? :
125 4 1 unless ($lp eq "$folder $msgnr")
132 0 5 $match->{'part'}->isPart ? :
145 9 0 unless ($lp eq "$folder $msgnr")
151 3 6 $match->{'part'}->isPart ? :