Branch Coverage

blib/lib/Log/Saftpresse/CountersOutput/Html.pm
Criterion Covered Total %
branch 0 90 0.0


line true false branch
27 0 0 defined $VERSION ? :
34 0 0 unless (defined $self->{'_tt'})
58 0 0 unless (defined $self->{'_json'})
69 0 0 if (defined $self->{'_template_content'})
73 0 0 if (defined $self->{'template_file'}) { }
74 0 0 unless $h = 'IO::File'->new($self->{'template_file'}, 'r')
77 0 0 unless $h = 'IO::Handle'->new_from_fd(*DATA, 'r')
95 0 0 unless $tt->process(\$eval, \%vars, \$buf)
113 0 0 if (defined $cnt->{'PostfixSmtpdStats'})
122 0 0 if (defined $self->{'top_domains_cnt'} and $self->{'top_domains_cnt'} != 0)
127 0 0 if (defined $cnt->{'PostfixSmtpdStats'})
135 0 0 if (defined $cnt->{'TlsStatistics'})
138 0 0 if (defined $cnt->{'PostfixGeoStats'})
165 0 0 unless (defined $values)
166 0 0 $title =~ /size$/ ? :
241 0 0 $connections > 0 ? :
290 0 0 defined $top_cnt && $top_cnt >= 0 ? :
295 0 0 $table eq 'sent' ? :
319 0 0 if (defined $client)
338 0 0 if (defined $smtpd_cnt)
383 0 0 unless (defined $values)
398 0 0 if ($self->{'deferral_detail'} != 0)
404 0 0 if ($self->{'bounce_detail'} != 0)
410 0 0 if ($self->{'reject_detail'} != 0)
419 0 0 if (my $smtp_cnt = $cnt->{'PostfixSmtp'})
421 0 0 if (defined $messages)
427 0 0 if (my $msg_cnt = $cnt->{'PostfixMessages'})
428 0 0 if ($self->{'smtpd_warn_detail'} != 0)
481 0 0 if (defined $total->{$key} and $total->{$key} > 0 and defined $count->{$key} and $count->{$key} > 0)
485 0 0 if (defined $total->{$key} and $total->{$key} eq 0)
488 0 0 if (defined $value) { }
505 0 0 if (ref $params{'sort'} eq 'ARRAY') { }
509 0 0 unless (defined $row)
510 0 0 if ($alg eq 'decimal') { }
515 0 0 if ($limit > 0 and scalar @yaxis > $limit)
519 0 0 if ($params{'sort'} eq 'decimal') { }
539 0 0 $_ =~ /\d{4}-\d{2}-\d{2}/ ? :
0 0 defined $values->{$_} ? :
554 0 0 if (defined $params{'chart'} and $params{'chart'})
573 0 0 unless (defined $self->{'_cur_element_id'})
581 0 0 unless (defined $self->{'_headlines'})
588 0 0 if (scalar @$cur == 0 or ref $cur->[-1] ne 'ARRAY')
620 0 0 unless (defined $hash)
637 0 0 unless (defined $hash)
639 0 0 unless $Log::Saftpresse::CountersOutput::Html::b->[0] <=> $Log::Saftpresse::CountersOutput::Html::a->[0]