Branch Coverage

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


line true false branch
26 0 0 $args->{'field'} ? :
34 6 0 ref $deliver eq 'ARRAY' ? :
5 6 $deliver eq 'PRINT' ? :
0 11 ref $deliver eq 'CODE' ? :
1 11 !defined($deliver) ? :
43 0 0 ref $take eq 'CODE' ? :
0 0 ref $take eq 'Regexp' ? :
0 0 !ref($take) ? :
12 0 !defined($take) ? :
47 0 12 unless my $match = $args->{'match'}
51 0 0 ref $match eq 'CODE' ? :
7 0 ref $match eq 'Regexp' ? :
5 7 !ref($match) ? :
73 3743 122 unless &$field_check($head, $field->name) and &$match_check($head, $field)
77 0 122 unless $deliver
97 12904 397 unless &$match_check($body, $line)
100 1 396 unless $deliver
112 0 14 @_ == 2 ? :
115 5 9 $match->{'field'} ? :
127 4 1 unless ($lp eq "$folder $msgnr")
134 0 5 $match->{'part'}->isPart ? :
147 9 0 unless ($lp eq "$folder $msgnr")
153 3 6 $match->{'part'}->isPart ? :