Branch Coverage

lib/Mail/SpamAssassin/Util/Progress.pm
Criterion Covered Total %
branch 0 42 0.0


line true false branch
87 0 0 if (not exists $args->{'total'} or $args->{'total'} < 1)
130 0 0 unless $self->{'term'}
135 0 0 if ($ENV{'COLUMNS'})
140 0 0 if (not defined $term_size and &HAS_TERM_READKEY())
146 0 0 unless (eval {
147 0 0 $@ ne '' ? :
151 0 0 if $term_readkey_term_size
156 0 0 unless ($^O =~ /^(mswin|dos|os2)/i)
157 0 0 unless (defined $term_size)
159 0 0 if (defined $data and $data =~ /columns (\d+)/)
164 0 0 unless (defined $term_size)
166 0 0 if (defined $data and $data =~ /^(\d+)/)
173 0 0 unless (defined $term_size)
211 0 0 unless (defined $num_done)
219 0 0 if ($msgs_since > 0 and $time_since > "0.5")
221 0 0 if ($self->{'term'}) { }
222 0 0 $num_done != 0 ? :
234 0 0 defined $self->{'avg_msgs_per_sec'} ? :
275 0 0 unless (defined $num_done)
286 0 0 $num_done != 0 ? :
293 0 0 if ($self->{'term'}) { }