Branch Coverage

blib/lib/Log/Saftpresse/CountersOutput/Pflogsumm.pm
Criterion Covered Total %
branch 0 130 0.0


line true false branch
34 0 0 if (defined $pf_cnt->get_node('conn'))
37 0 0 if ($self->problems_first)
43 0 0 if ($self->top_domains_cnt != 0)
47 0 0 if (defined $pf_cnt->get_node('conn'))
55 0 0 unless ($self->problems_first)
61 0 0 if (defined $pf_cnt->{'tls_conn'})
64 0 0 if (defined $cnt->{'PostfixGeoStats'})
102 0 0 if (defined $total->{$key} and $total->{$key} > 0 and defined $count->{$key} and $count->{$key} > 0)
106 0 0 if (defined $total->{$key} and $total->{$key} eq 0)
109 0 0 if (defined $value) { }
126 0 0 if (ref $sort eq 'ARRAY') { }
130 0 0 unless (defined $row)
131 0 0 if ($alg eq 'decimal') { }
136 0 0 if ($limit > 0 and scalar @yaxis > $limit)
140 0 0 if ($sort eq 'decimal') { }
161 0 0 unless (defined $value)
187 0 0 $table eq 'sent' ? :
283 0 0 if (my $msgsTotal = $msgsDlvrd + $msgsRjctd + $msgsDscrdd)
323 0 0 $smtpdConnCnt > 0 ? :
339 0 0 if ($self->deferral_detail != 0)
344 0 0 if ($self->bounce_detail != 0)
349 0 0 if ($self->reject_detail != 0)
357 0 0 if (my $smtp_cnt = $cnt->{'PostfixSmtp'})
359 0 0 if (defined $messages)
364 0 0 if (my $msg_cnt = $cnt->{'PostfixMessages'})
365 0 0 if ($self->smtpd_warn_detail != 0)
383 0 0 if (defined $cnt->get_node('conn'))
405 0 0 unless (defined $value)
408 0 0 if ($total) { }
435 0 0 unless (defined $values)
444 0 0 if (defined $client)
458 0 0 if (not defined $base or $base == 0)
475 0 0 unless (defined $hashRef)
476 0 0 $cnt ? :
477 0 0 if (not %$hashRef) { }
478 0 0 if $quiet
491 0 0 $cnt ? :
492 0 0 if (not %$hashRef) { }
493 0 0 if $quiet
502 0 0 if --$cnt == 0
511 0 0 unless (defined $hashRef)
512 0 0 if (not %$hashRef) { }
513 0 0 if $quiet
529 0 0 if (ref $hashRef ne 'HASH')
531 0 0 if (ref $hashVal ne 'HASH')
536 0 0 if (ref $hashRef->{$_} ne 'HASH')
542 0 0 unless (ref $hashVal2 eq 'HASH')
543 0 0 if $cnt > 0
559 0 0 if (not %$Log::Saftpresse::CountersOutput::Pflogsumm::hashRef) { }
560 0 0 if $quiet
582 0 0 unless $Log::Saftpresse::CountersOutput::Pflogsumm::b->[1] <=> $Log::Saftpresse::CountersOutput::Pflogsumm::a->[1]
587 0 0 if --$cnt == 0
604 0 0 if ((my(@octets) = $norm1 =~ /^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/) == 4) { }
624 0 0 unless $domainA
626 0 0 unless $domainB
631 0 0 if $domainA
633 0 0 if $domainB
638 0 0 unless $domainA
639 0 0 unless $domainB
641 0 0 if ($domainA lt $domainB) { }
0 0 elsif ($domainA gt $domainB) { }
649 0 0 if ($userNameA lt $userNameB) { }
0 0 elsif ($userNameA gt $userNameB) { }
654 0 0 if ($a lt $b) { }
0 0 elsif ($a gt $b) { }