blib/lib/Mxpress/PDF.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 32 | 86 | 37.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
105 | 1 | 1 | 0 | $self->can($_) and $self->$_($args{$_}) |
213 | 3 | 0 | 12 | @paragraph and $line_width + scalar(@line) * $space_width + $width{$paragraph[0]} < $w |
218 | 3 | 0 | 0 | $self->align eq 'justify' and @paragraph |
250 | 3 | 0 | 0 | scalar @paragraphs and $self->next_page |
257 | 0 | 3 | 0 | $fl and $self->first_line_indent |
0 | 3 | 0 | $fp and $self->first_paragraph_indent |
line | l | !l | condition |
---|---|---|---|
116 | 3 | 0 | $args{'colour'} || '#000' |
126 | 0 | 3 | $enc || 'latin1' |
140 | 0 | 1 | $args{'fill_colour'} || '#fff' |
0 | 1 | $args{'padding'} || 0 | |
146 | 0 | 1 | $self->position || [0, 0, $self->page->w * 0.35277777777777775, $self->page->h * 0.35277777777777775] |
195 | 1 | 2 | $args{'position'} || [] |
199 | 3 | 0 | shift @paragraphs || '' |
287 | 0 | 1 | $args{'font'}{'size'} ||= 50 |
294 | 0 | 1 | $args{'font'}{'size'} ||= 25 |
333 | 1 | 0 | $args{'page'} || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
20 | 1 | 0 | 0 | ref $self || $self |
32 | 1 | 0 | 0 | ref $self || $self |
69 | 0 | 0 | 0 | ref $self || $self |
82 | 4 | 0 | 0 | ref $self || $self |
93 | 4 | 0 | 0 | ref $self || $self |
101 | 0 | 0 | 0 | ref $self || $self |
104 | 4 | 0 | 0 | ref $self || $self |
122 | 3 | 0 | 0 | ref $self || $self |
123 | 3 | 0 | 0 | ref $self || $self |
143 | 1 | 0 | 0 | ref $self || $self |
166 | 0 | 3 | 0 | ref $self || $self |
170 | 0 | 0 | 0 | ref $self || $self |
184 | 3 | 0 | 0 | ref $self || $self |
218 | 0 | 0 | 3 | $self->align eq 'fulljustify' or $self->align eq 'justify' and @paragraph |
256 | 3 | 0 | 0 | ref $self || $self |
269 | 3 | 0 | 0 | ref $self || $self |