line |
true |
false |
branch |
456
|
0 |
25 |
ref $_[0] ? : |
491
|
23 |
333 |
if (defined $val) |
492
|
0 |
23 |
if (ref $val or not $val =~ /\d+/) |
502
|
0 |
46 |
if (defined $val) |
503
|
0 |
0 |
if (ref $val or not $val =~ /\d+/) |
513
|
23 |
46 |
if (defined $val) |
514
|
0 |
23 |
if (ref $val or not $val =~ /\d+/) |
524
|
0 |
1190 |
if (defined $val) |
525
|
0 |
0 |
if (ref $val or 1) |
535
|
23 |
0 |
$self->terminal_height ? : |
537
|
23 |
0 |
if ($self->terminal_line) { } |
|
0 |
0 |
elsif ($^O eq 'MSWin32') { } |
551
|
0 |
23 |
if ($x == $rows) |
568
|
23 |
0 |
if $total |
581
|
633 |
368 |
if ($ps) { } |
582
|
520 |
113 |
if ($ps->counter < $ps->total) { } |
589
|
520 |
0 |
if $ps->slowed |
590
|
110 |
410 |
unless $prevent |
598
|
352 |
16 |
scalar @{$self->{'progress_spinners'};} ? : |
619
|
724 |
462 |
if ($ps) { } |
632
|
718 |
6 |
$options{'percent'} ? : |
636
|
0 |
724 |
$options{'elapsed_seconds'} ? : |
678
|
112 |
17 |
if ($sp and scalar @{$self->progress_spinners;}) { } |
681
|
23 |
132 |
if ($sp->progress_spinner_index == $_->progress_spinner_index) |
696
|
17 |
256 |
if (defined $_[1]) |
704
|
1925 |
0 |
if (defined $val) |
718
|
0 |
724 |
if (defined $val) |
719
|
0 |
0 |
if (ref $val) |
729
|
0 |
2253 |
if (defined $val) |
737
|
23 |
1357 |
if (defined $val) |
738
|
0 |
23 |
unless ($val =~ /\d+/) |
749
|
2 |
1040 |
if (defined $val) |
750
|
0 |
2 |
unless ($val =~ /\d+(\.\d+)?/) |
760
|
520 |
1877 |
if (defined $val) |
761
|
0 |
520 |
unless ($val =~ /\d+/) |
771
|
23 |
724 |
if (defined $val) |
772
|
0 |
23 |
unless ($val =~ /\d+(\.\d+)?/) |
782
|
724 |
724 |
if (defined $val) |
783
|
0 |
724 |
unless ($val =~ /\d+(\.\d+)?/) |
793
|
0 |
14480 |
if (defined $val) |
794
|
0 |
0 |
unless ($VALIDATE{'colours'}{$val}) |
804
|
15 |
1244 |
if $spinner |
810
|
0 |
724 |
if (defined $val) |
811
|
0 |
0 |
unless ($VALIDATE{'colours'}{$val}) |
821
|
15 |
724 |
if $progress |
827
|
0 |
724 |
if (defined $val) |
828
|
0 |
0 |
unless ($VALIDATE{'colours'}{$val}) |
838
|
0 |
724 |
if (defined $val) |
846
|
0 |
0 |
if (defined $val) |
847
|
0 |
0 |
unless ($VALIDATE{'colours'}{$val}) |
857
|
0 |
0 |
if (defined $val) |
858
|
0 |
0 |
unless ($VALIDATE{'colours'}{$val}) |
868
|
0 |
0 |
if (defined $val) |
869
|
0 |
0 |
unless ($VALIDATE{'colours'}{$val}) |
879
|
0 |
0 |
if (defined $val) |
880
|
0 |
0 |
unless ($VALIDATE{'colours'}{$val}) |
890
|
0 |
0 |
if (defined $val) |
891
|
0 |
0 |
unless ($VALIDATE{'colours'}{$val}) |
901
|
0 |
0 |
if (defined $val) |
902
|
0 |
0 |
unless ($VALIDATE{'colours'}{$val}) |
912
|
0 |
0 |
if (defined $val) |
913
|
0 |
0 |
unless ($VALIDATE{'colours'}{$val}) |
923
|
0 |
0 |
if (defined $val) |
924
|
0 |
0 |
unless ($VALIDATE{'colours'}{$val}) |
934
|
0 |
0 |
if (defined $val) |
935
|
0 |
0 |
unless ($VALIDATE{'colours'}{$val}) |
945
|
0 |
0 |
if (defined $val) |
946
|
0 |
0 |
unless ($VALIDATE{'colours'}{$val}) |
956
|
0 |
0 |
if (defined $val) |
957
|
0 |
0 |
unless ($VALIDATE{'colours'}{$val}) |
967
|
0 |
0 |
if (defined $val) |
968
|
0 |
0 |
unless ($VALIDATE{'colours'}{$val}) |
978
|
0 |
0 |
if (defined $val) |
979
|
0 |
0 |
unless ($VALIDATE{'colours'}{$val}) |