Condition Coverage

blib/lib/Mail/Log/Trace/Postfix.pm
Criterion Covered Total %
condition 30 30 100.0


and 3 conditions

line !l l&&!r l&&r condition
153 4 17 6359 my $line_data = $maillog->next and not $found_message
186 7 1 83 not $start_found and my $line_data = $maillog->previous
188 23 37 23 defined $$line_data{'id'} and $$line_data{'id'} eq $$msg_info{'connection_id'}
194 50 26 7 $$line_data{'pid'} eq $$msg_info{'process_id'} and $$line_data{'connect'}
215 7 1 245 not $end_found and my $line_data = $maillog->next
217 29 108 108 defined $$line_data{'id'} and $$line_data{'id'} eq $$msg_info{'connection_id'}
233 982 108 1286 defined $$line_data{$key} and $key ne 'to'
246 226 13 6 $$line_data{'pid'} eq $$msg_info{'process_id'} and $$line_data{'disconnect'}
296 6359 6359 57231 $_ ne 'to_address' and $_ ne 'from_start'
319 6329 13 17 $matched_data > 0 && $unmatched_data == 0