blib/lib/Text/KnuthPlass.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 30 | 26.6 |
line | l | !l | condition |
---|---|---|---|
72 | 0 | 0 | $_[0]->flagged && '!' |
774 | 0 | 0 | $nodes->[$end]->is_penalty and 0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
742 | 0 | 0 | 32 | $node->is_penalty and $node->penalty != $self->infinity |
745 | 0 | 0 | 115 | $_ > 0 and $$nodes[$_ - 1]->isa("Text::KnuthPlass::Box") |
800 | 0 | 0 | 0 | $nodes->[$_]->is_penalty and $nodes->[$_]->penalty == -$self->infinity |
0 | 0 | 0 | $nodes->[$_]->is_penalty and $nodes->[$_]->penalty == -$self->infinity and $_ > $index | |
978 | 12 | 3 | 0 | $nodes->[$_]->is_penalty and $nodes->[$_]->penalty == -$self->infinity |
line | l | !l | condition |
---|---|---|---|
586 | 0 | 6 | $style ||= "justify" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
736 | 0 | 0 | 4 | not $self->{'linelengths'} or ref $self->{'linelengths'} ne "ARRAY" |
800 | 0 | 0 | 0 | $nodes->[$_]->isa("Text::KnuthPlass::Box") or $nodes->[$_]->is_penalty and $nodes->[$_]->penalty == -$self->infinity and $_ > $index |
978 | 18 | 0 | 15 | $nodes->[$_]->isa("Text::KnuthPlass::Box") or $nodes->[$_]->is_penalty and $nodes->[$_]->penalty == -$self->infinity |