Branch Coverage

blib/lib/Log/Saftpresse/Plugin/Postfix/Tls.pm
Criterion Covered Total %
branch 0 20 0.0


line true false branch
15 0 0 if ($service ne 'smtp' and $service ne 'smtpd')
19 0 0 if (my($tlsLevel, $tlsHost, $tlsAddr, $tlsProto, $tlsCipher, $tlsKeylen) = $message =~ m<^(\S+) TLS connection established (?:from|to) ([^\[]+)\[([^\]]+)\]:(?:\d+:)? (\S+) with cipher (\S+) \((\d+)/(\d+) bits\)>)
35 0 0 if (defined $tls_params) { }
0 0 elsif (defined $queue_id and defined($tls_params = $notes->get($service . '-tls-' . $queue_id))) { }
36 0 0 if ($service eq 'smtpd') { }
0 0 elsif ($service eq 'smtp' and $message =~ /status=(sent|bounced|deferred)/) { }
37 0 0 if ($message =~ /^connect from/) { }
0 0 elsif ($message =~ /^disconnect/) { }
0 0 elsif ($message =~ /^client=/) { }
54 0 0 if (defined $queue_id)