blib/lib/Text/BlockLayout.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 12 | 83.3 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
66 | 5 | 3 | 1 | $last_line_separate || $separate_line || !@lines |
67 | 8 | 0 | 1 | $start_new_line ||= length $lines[-1] > $self->line_continuation_threshold |
68 | 8 | 0 | 1 | $start_new_line ||= length($lines[-1]) + length($self->separator) + length($text) > $self->max_width |
70 | 4 | 3 | 1 | not $separate_line or $self->wrap_predefined_lines |