| blib/lib/Text/SimpleTable/AutoWidth.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 24 | 26 | 92.3 |
| line | true | false | branch |
|---|---|---|---|
| 23 | 2 | 4 | if ($self->rows) { } |
| 47 | 0 | 4 | unless $columns |
| 50 | 1 | 2 | $self->fixed_width ? : |
| 1 | 3 | $self->max_width ? : | |
| 60 | 1 | 3 | $self->captions ? : |
| 62 | 1 | 6 | if $#row_width >= $columns |
| 72 | 12 | 2 | if ($max_width[$idx] < $row_width[$idx]) |
| 81 | 1 | 11 | if $total > $limit |
| 90 | 1 | 13 | if ($new_width[$idx] < $row_width[$idx]) |
| 108 | 1 | 6 | if $total >= $limit |
| 112 | 1 | 3 | if ($self->fixed_width) |
| 117 | 1 | 0 | unless $total == $self->fixed_width |
| 124 | 1 | 3 | if ($self->captions) |