| blib/lib/Term/Spinner/Lite.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 22 | 26 | 84.6 |
| line | true | false | branch |
|---|---|---|---|
| 41 | 25 | 0 | unless ($handle) |
| 42 | 24 | 1 | if (exists $$self{'output_handle'}) |
| 59 | 12 | 1 | unless ($aref) |
| 60 | 11 | 1 | if (exists $$self{'spin_chars'}) |
| 66 | 0 | 2 | if (ref $aref ne 'ARRAY') |
| 78 | 21 | 1 | unless ($microseconds) |
| 79 | 20 | 1 | if (exists $$self{'delay'}) |
| 111 | 10 | 1 | if (exists $$self{'spin_char_size'}) |
| 122 | 2 | 10 | unless exists $$self{'count'} |
| 133 | 9 | 1 | if $self->count |
| 134 | 4 | 6 | unless $pos |
| 137 | 10 | 0 | if $self->delay |
| 146 | 0 | 1 | if $_[0] |