blib/lib/PDF/TextBlock.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 26 | 32 | 81.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
255 | 0 | 5 | 29 | $self->fonts and $self->fonts->{$tag} |
0 | 5 | 0 | $self->fonts and $self->fonts->{'default'} | |
313 | 1183 | 79 | 4 | $tag and $tag =~ m[^/] |
348 | 129 | 31 | 0 | $first_line and defined $self->hang |
129 | 31 | 0 | $first_line and defined $self->flindent | |
5 | 155 | 0 | $first_paragraph and defined $self->fpindent | |
369 | 29 | 131 | 1239 | @paragraph and $line_width + scalar(@line) * $space_width + $width{$paragraph[0]} < $self->w |
382 | 24 | 14 | 115 | $self->align eq 'justify' and @paragraph |
line | l | !l | condition |
---|---|---|---|
514 | 1 | 9 | $words ||= 100 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
382 | 7 | 115 | 38 | $self->align eq 'fulljustify' or $self->align eq 'justify' and @paragraph |
399 | 122 | 10 | 28 | $align eq 'justify' or grep /<.*>/, @line |