blib/lib/Log/Progress/RenderTTY.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 29 | 51.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
28 | 1 | 0 | 0 | $self->listen_resize and $cols |
137 | 3 | 0 | 1 | defined $state->{'total'} and defined $state->{'current'} |
152 | 7 | 0 | 4 | defined $state->{'total'} and defined $state->{'current'} |
line | l | !l | condition |
---|---|---|---|
29 | 0 | 1 | $speed || 9600 |
0 | 1 | $cols || 80 | |
0 | 1 | $rows || 25 | |
34 | 1 | 0 | $self->tty_metrics->{'speed'} || 9600 |
67 | 11 | 0 | $_->{'title'} || '' |
128 | 0 | 1 | $self->out || \*STDOUT |
143 | 4 | 0 | $state->{'progress'} || 0 |
4 | 0 | $state->{'progress'} || 0 | |
159 | 11 | 0 | $state->{'progress'} || 0 |
11 | 0 | $state->{'progress'} || 0 |