|  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
 | 
 32  | 
 72  | 
 if ($t eq '') { }  | 
 
| 
175
 | 
 6  | 
 26  | 
 if $_ eq ''  | 
 
| 
177
 | 
 48  | 
 24  | 
 unless index($_, "$t.") == 0  | 
 
| 
179
 | 
 6  | 
 44  | 
 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'}  | 
 
| 
402
 | 
 0  | 
 0  | 
 if keys %args  | 
 
| 
409
 | 
 0  | 
 0  | 
 unless $ENV{'PROGRESS'} // 1  | 
 
| 
412
 | 
 0  | 
 0  | 
 if ($outputs{$task})  | 
 
| 
414
 | 
 0  | 
 0  | 
 unless $force_update or $self->_should_update_output($output, $now, $priority)  | 
 
| 
416
 | 
 0  | 
 0  | 
 if (ref $message eq 'CODE')  | 
 
| 
434
 | 
 0  | 
 0  | 
 unless $task =~ s/\.?\w+\z//  | 
 
| 
477
 | 
 0  | 
 0  | 
 if (ref $template0 eq 'HASH') { }  | 
 
| 
493
 | 
 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') { }  | 
 
| 
504
 | 
 0  | 
 0  | 
 if (defined $val) { }  | 
 
| 
517
 | 
 0  | 
 0  | 
 if (defined $val) { }  | 
 
| 
526
 | 
 0  | 
 0  | 
 if $val < 1  | 
 
| 
531
 | 
 0  | 
 0  | 
 if (defined $val) { }  | 
 
| 
532
 | 
 0  | 
 0  | 
 if $val < 1  | 
 
| 
540
 | 
 0  | 
 0  | 
 if (defined $val) { }  | 
 
| 
541
 | 
 0  | 
 0  | 
 if $val < 1  | 
 
| 
546
 | 
 0  | 
 0  | 
 if $val < 1  | 
 
| 
552
 | 
 0  | 
 0  | 
 if ($opts->{'handle_unknown_conversion'}) { }  | 
 
| 
563
 | 
 0  | 
 0  | 
 if (@res) { }  | 
 
| 
579
 | 
 0  | 
 0  | 
 if $sconv eq 'f'  |