line |
true |
false |
branch |
19
|
0 |
0 |
if ($_ eq '$progress') { } |
53
|
8 |
7 |
if $indicators{$task} |
70
|
6 |
1 |
if ($task =~ s/\.?\w+\z//) |
83
|
0 |
10 |
unless (defined $task) |
86
|
0 |
0 |
$caller[0] eq '(eval)' ? : |
90
|
1 |
9 |
unless $task =~ /\A(?:\w+(\.\w+)*)?\z/ |
97
|
8 |
37 |
if (exists $args{$an}) |
101
|
1 |
8 |
if keys %args |
103
|
6 |
2 |
if keys %uargs |
122
|
2 |
12 |
if (@_) |
141
|
0 |
0 |
if ($self->{'state'} eq 'started') { } |
155
|
30 |
74 |
if ($t eq '') { } |
156
|
7 |
23 |
if $_ eq "" |
158
|
54 |
20 |
unless index($_, "$t.") == 0 |
171
|
1 |
26 |
unless defined $res |
174
|
30 |
68 |
if ($t eq '') { } |
175
|
6 |
24 |
if $_ eq "" |
177
|
44 |
24 |
unless index($_, "$t.") == 0 |
179
|
6 |
42 |
unless defined $indicators{$_}{'target'} |
191
|
4 |
10 |
unless defined $total_target |
192
|
0 |
10 |
if ($total_target == 0) { } |
193
|
0 |
0 |
if ($self->{'state'} eq 'finished') { } |
206
|
0 |
0 |
if (defined $self->{'_remaining'}) { } |
207
|
0 |
0 |
if ($self->{'state'} eq 'started') { } |
209
|
0 |
0 |
$r > 0 ? : |
214
|
0 |
0 |
if (defined $self->{'target'}) { } |
215
|
0 |
0 |
if ($self->{'pos'} == 0) { } |
233
|
0 |
0 |
unless defined $res |
236
|
0 |
0 |
if ($t eq '') { } |
237
|
0 |
0 |
if $_ eq "" |
239
|
0 |
0 |
unless index($_, "$t.") == 0 |
242
|
0 |
0 |
unless defined $res2 |
262
|
8 |
0 |
unless exists $args{'title'} |
264
|
0 |
0 |
unless defined $val |
271
|
1 |
7 |
unless exists $args{'target'} |
273
|
1 |
6 |
unless not defined $val or $val >= 0 |
276
|
0 |
6 |
if (defined $val and $self->{'pos'} > $val) |
285
|
4 |
3 |
unless exists $args{'pos'} |
287
|
1 |
2 |
unless defined $val and $val >= 0 |
290
|
0 |
2 |
if (defined $self->{'target'} and $val > $self->{'target'}) |
299
|
6 |
0 |
unless exists $args{'remaining'} |
301
|
0 |
0 |
unless defined $val and $val >= 0 |
309
|
6 |
0 |
unless exists $args{'state'} |
312
|
0 |
0 |
unless $val =~ /\A(?:stopped|started|finished)\z/ |
314
|
0 |
0 |
if $old eq $val |
315
|
0 |
0 |
if ($val eq 'started') { } |
323
|
0 |
0 |
unless $t =~ s/\.\w+\z// |
330
|
0 |
0 |
if ($p->{'state'} ne "started") |
337
|
0 |
0 |
if ($val eq "finished") |
340
|
0 |
0 |
if defined $self->{'target'} and $self->{'pos'} < $self->{'target'} |
357
|
0 |
0 |
if (not defined $output->{'_mtime'}) { } |
|
0 |
0 |
elsif ($self->{'state'} eq 'finished') { } |
|
0 |
0 |
elsif ($output->{'force_update'}) { } |
|
0 |
0 |
elsif ($priority eq 'high') { } |
375
|
0 |
0 |
unless (defined $output->{'freq'}) |
381
|
0 |
0 |
if ($output->{'freq'} == 0) |
383
|
0 |
0 |
if ($output->{'freq'} < 0) { } |
384
|
0 |
0 |
if $now >= $output->{'_mtime'} - $output->{'freq'} |
386
|
0 |
0 |
if abs $self->{'pos'} - $output->{'_pos'} >= $output->{'freq'} |
405
|
0 |
0 |
if (/\Amessage\.alt\./) |
410
|
0 |
0 |
if keys %args |
417
|
0 |
0 |
unless $ENV{'PROGRESS'} // 1 |
420
|
0 |
0 |
if ($outputs{$task}) |
422
|
0 |
0 |
unless $force_update or $self->_should_update_output($output, $now, $priority) |
424
|
0 |
0 |
if (ref $message eq "CODE") |
443
|
0 |
0 |
unless $task =~ s/\.?\w+\z// |
486
|
0 |
0 |
if (ref $template0 eq 'HASH') { } |
502
|
0 |
0 |
if ($conv eq 'n') { } |
|
0 |
0 |
elsif ($conv eq 't') { } |
|
0 |
0 |
elsif ($conv eq '%') { } |
|
0 |
0 |
elsif ($conv eq 'm') { } |
|
0 |
0 |
elsif ($conv eq 'p') { } |
|
0 |
0 |
elsif ($conv eq 'P') { } |
|
0 |
0 |
elsif ($conv eq 'T') { } |
|
0 |
0 |
elsif ($conv eq 'e') { } |
|
0 |
0 |
elsif ($conv eq 'r') { } |
|
0 |
0 |
elsif ($conv eq 'R') { } |
513
|
0 |
0 |
if (defined $val) { } |
526
|
0 |
0 |
if (defined $val) { } |
535
|
0 |
0 |
if $val < 1 |
540
|
0 |
0 |
if (defined $val) { } |
541
|
0 |
0 |
if $val < 1 |
549
|
0 |
0 |
if (defined $val) { } |
550
|
0 |
0 |
if $val < 1 |
555
|
0 |
0 |
if $val < 1 |
561
|
0 |
0 |
if ($opts->{'handle_unknown_conversion'}) { } |
572
|
0 |
0 |
if (@res) { } |
588
|
0 |
0 |
if $sconv eq "f" |