blib/lib/Text/KnuthPlass.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 30 | 26.6 |
line | l | !l | condition |
---|---|---|---|
56 | 0 | 0 | $_[0]->flagged && '!' |
519 | 0 | 0 | $nodes->[$end]->is_penalty and 0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
372 | 0 | 0 | 21 | $node->is_penalty and $node->penalty != $self->infinity |
375 | 0 | 0 | 81 | $_ > 0 and $$nodes[$_ - 1]->isa('Text::KnuthPlass::Box') |
542 | 0 | 0 | 0 | $nodes->[$_]->is_penalty and $nodes->[$_]->penalty == -$self->infinity |
0 | 0 | 0 | $nodes->[$_]->is_penalty and $nodes->[$_]->penalty == -$self->infinity and $_ > $index | |
568 | 4 | 2 | 0 | $nodes->[$_]->is_penalty and $nodes->[$_]->penalty == -$self->infinity |
line | l | !l | condition |
---|---|---|---|
279 | 0 | 5 | $style ||= 'justify' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
366 | 0 | 0 | 3 | not $self->{'linelengths'} or ref $self->{'linelengths'} ne 'ARRAY' |
542 | 0 | 0 | 0 | $nodes->[$_]->isa('Text::KnuthPlass::Box') or $nodes->[$_]->is_penalty and $nodes->[$_]->penalty == -$self->infinity and $_ > $index |
568 | 8 | 0 | 6 | $nodes->[$_]->isa('Text::KnuthPlass::Box') or $nodes->[$_]->is_penalty and $nodes->[$_]->penalty == -$self->infinity |