line |
true |
false |
branch |
52
|
0 |
1 |
if $$self{'DEBUG'} |
86
|
0 |
1 |
unless ($$self{'COLOUR_CACHE'}{$colour}) |
99
|
0 |
1 |
if $area < 3 |
127
|
1 |
0 |
if $width < 20 |
130
|
0 |
0 |
if $height < 10 |
134
|
0 |
0 |
unless $size |
143
|
0 |
0 |
if ($children) { } |
182
|
0 |
0 |
$top_pad > 5 ? : |
204
|
0 |
0 |
unless $text and length $text and $height and $width |
209
|
0 |
0 |
if $$self{'TEXT_DEBUG'} |
213
|
0 |
0 |
unless ($$self{'ACWPP'}) |
217
|
0 |
0 |
unless $$self{'ACWPP'} |
224
|
0 |
0 |
if $size <= $$self{'MIN_FONT_SIZE'} - 2 |
237
|
0 |
0 |
if ($metrix[2] <= $width and $metrix[3] > $height) { } |
|
0 |
0 |
elsif (abs($width - $metrix[2]) / $width * $size >= 3) { } |
240
|
0 |
0 |
if (abs($height - $metrix[3]) / $height * $size >= 3) |
244
|
0 |
0 |
if $$self{'TEXT_DEBUG'} |
246
|
0 |
0 |
if $$self{'TEXT_DEBUG'} |
260
|
0 |
0 |
if $$self{'TEXT_DEBUG'} |
262
|
0 |
0 |
if $$self{'TEXT_DEBUG'} |
270
|
0 |
0 |
if ($metrix[2] > $width or $metrix[3] > $height) { } |
|
0 |
0 |
elsif ($metrix[2] <= $width and $metrix[3] <= $height) { } |
272
|
0 |
0 |
if $$self{'TEXT_DEBUG'} |
278
|
0 |
0 |
if $size < 5 |
289
|
0 |
0 |
if $$self{'TEXT_DEBUG'} |
295
|
0 |
0 |
if $size > 50 |
305
|
0 |
0 |
if $$self{'TEXT_DEBUG'} |
309
|
0 |
0 |
if $size < $$self{'MIN_FONT_SIZE'} |
336
|
0 |
0 |
unless $sample_width |