| blib/lib/Text/KnuthPlass.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 8 | 30 | 26.6 |
| line | l | !l | condition |
|---|---|---|---|
| 37 | 0 | 0 | $_[0]->flagged && '!' |
| 486 | 0 | 0 | $$nodes[$end]->is_penalty and 0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 340 | 0 | 0 | 20 | $node->is_penalty and $node->penalty != $self->infinity |
| 343 | 0 | 0 | 54 | $_ > 0 and $$nodes[$_ - 1]->isa('Text::KnuthPlass::Box') |
| 509 | 0 | 0 | 0 | $$nodes[$_]->is_penalty and $$nodes[$_]->penalty == -$self->infinity |
| 0 | 0 | 0 | $$nodes[$_]->is_penalty and $$nodes[$_]->penalty == -$self->infinity and $_ > $index | |
| 535 | 4 | 2 | 0 | $$nodes[$_]->is_penalty and $$nodes[$_]->penalty == -$self->infinity |
| line | l | !l | condition |
|---|---|---|---|
| 253 | 0 | 4 | $style ||= 'justify' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 334 | 0 | 0 | 2 | not $$self{'linelengths'} or ref $$self{'linelengths'} ne 'ARRAY' |
| 509 | 0 | 0 | 0 | $$nodes[$_]->isa('Text::KnuthPlass::Box') or $$nodes[$_]->is_penalty and $$nodes[$_]->penalty == -$self->infinity and $_ > $index |
| 535 | 8 | 0 | 6 | $$nodes[$_]->isa('Text::KnuthPlass::Box') or $$nodes[$_]->is_penalty and $$nodes[$_]->penalty == -$self->infinity |