| line |
true |
false |
branch |
|
40
|
1 |
0 |
unless defined $dy |
|
50
|
3 |
5 |
unless $override |
|
63
|
4 |
4 |
if ($self->role eq "footer") |
|
74
|
1 |
8 |
unless defined $txt and length $txt |
|
84
|
1 |
7 |
defined $args{'padding'} ? : |
|
87
|
8 |
0 |
unless (defined $x) |
|
88
|
2 |
6 |
if ($align eq 'right') { } |
|
|
3 |
3 |
elsif ($align eq 'center') { } |
|
94
|
8 |
0 |
unless defined $y |
|
110
|
2 |
2 |
if ($format =~ /\{total\}/) |
|
121
|
1 |
3 |
exists $font->{'family'} ? : |
|
|
1 |
3 |
exists $font->{'bold'} ? : |
|
|
1 |
3 |
exists $font->{'italic'} ? : |
|
138
|
1 |
4 |
if ($args{'from'} and $args{'to'}) { } |
|
155
|
1 |
4 |
if ($args{'dash'}) { } |
|
|
1 |
3 |
elsif ($type eq 'dashed') { } |
|
|
1 |
2 |
elsif ($type eq 'dots') { } |
|
179
|
1 |
1 |
if ($colour eq 'transparent') { } |
|
195
|
1 |
5 |
unless my $src = $args{'src'} // $args{'image'} |
|
207
|
1 |
4 |
if (not defined $draw_w || defined $draw_h) { } |
|
|
2 |
2 |
elsif (not defined $draw_h) { } |
|
|
1 |
1 |
elsif (not defined $draw_w) { } |
|
217
|
0 |
5 |
defined $args{'padding'} ? : |
|
219
|
4 |
1 |
unless (defined $x) |
|
220
|
1 |
3 |
if ($align eq 'right') { } |
|
|
1 |
2 |
elsif ($align eq 'center') { } |
|
234
|
9 |
2 |
if $args{'rect'} |
|
239
|
0 |
1 |
unless defined $x and defined $y and defined $w and defined $h |
|
252
|
2 |
0 |
if $annot_num |
|
262
|
1 |
7 |
if ($args{'url'}) { } |
|
|
2 |
5 |
elsif (defined $args{'page'}) { } |
|
|
2 |
3 |
elsif ($args{'action'}) { } |
|
|
2 |
1 |
elsif ($args{'file'}) { } |
|
275
|
7 |
0 |
if $annot_num |