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