line |
true |
false |
branch |
185
|
0 |
4 |
defined $opts{'-wordsp'} ? : |
187
|
0 |
4 |
defined $opts{'-charsp'} ? : |
189
|
0 |
4 |
defined $opts{'-wordspa'} ? : |
191
|
0 |
4 |
defined $opts{'-charspa'} ? : |
193
|
0 |
4 |
defined $opts{'-condw'} ? : |
195
|
0 |
4 |
defined $opts{'-condc'} ? : |
198
|
0 |
4 |
defined $opts{'-nocs'} ? : |
199
|
0 |
4 |
if ($nocs) |
218
|
4 |
0 |
if (abs $overage > 0.1) |
226
|
16 |
62 |
if ($chars[$i] eq ' ') |
232
|
0 |
4 |
if ($overage > 0) { } |
235
|
0 |
0 |
if ($overage > 0 and $num_spaces > 0 and $condw > 0) |
238
|
0 |
0 |
if ($val > $limit) |
243
|
0 |
0 |
if ($overage > 0 and $num_chars > 0 and $condc > 0) |
246
|
0 |
0 |
if ($val > $limit) |
255
|
4 |
0 |
if ($overage > 0 and $num_spaces > 0 and $wordsp > 0) |
258
|
1 |
3 |
if ($val > $limit) |
263
|
1 |
0 |
if ($overage > 0 and $num_chars > 0 and $charsp > 0) |
266
|
0 |
1 |
if ($val > $limit) |
271
|
0 |
0 |
if ($overage > 0 and $num_spaces > 0 and $wordspa > 0) |
274
|
0 |
0 |
if ($val > $limit) |
279
|
0 |
0 |
if ($overage > 0 and $num_chars > 0 and $charspa > 0) |
282
|
0 |
0 |
if ($val > $limit) |
292
|
0 |
4 |
if ($overage > 0.1) |
374
|
0 |
20 |
defined $opts{'-hyphenate'} ? : |
401
|
13 |
106 |
if $overflowed |
405
|
13 |
7 |
if ($overflowed and not $over) |
406
|
13 |
0 |
if ($hyphenate and @line == 1 or @line > 1) |
420
|
0 |
20 |
if ($hyphenate and $overflowed) |
432
|
0 |
0 |
if (@line) { } |
442
|
0 |
0 |
if ($space > 0) |
467
|
0 |
0 |
if ($@) |
485
|
0 |
0 |
if (not @line) { } |
489
|
0 |
0 |
if ($wordLeft eq '') { } |
504
|
0 |
0 |
if ($wordLeft eq '') { } |
510
|
0 |
0 |
if $wordRight ne '' |
530
|
0 |
357 |
if ord $_ == 173 |
655
|
4 |
2 |
if (defined $opts{'-last_align'}) |
656
|
0 |
4 |
if ($opts{'-last_align'} =~ /^l/i) { } |
|
2 |
2 |
elsif ($opts{'-last_align'} =~ /^c/i) { } |
|
2 |
0 |
elsif ($opts{'-last_align'} =~ /^r/i) { } |
665
|
3 |
3 |
if ($ret eq '') { } |
667
|
1 |
2 |
if ($align eq 'l') { } |
|
1 |
1 |
elsif ($align eq 'c') { } |
771
|
5 |
7 |
if (defined $opts{'-align'}) |
772
|
0 |
5 |
if ($opts{'-align'} =~ /^l/i) { } |
|
1 |
4 |
elsif ($opts{'-align'} =~ /^c/i) { } |
|
1 |
3 |
elsif ($opts{'-align'} =~ /^r/i) { } |
|
3 |
0 |
elsif ($opts{'-align'} =~ /^j/i) { } |
778
|
0 |
12 |
defined $opts{'-pndnt'} ? : |
779
|
1 |
11 |
if ($align eq 'c') |
789
|
0 |
20 |
if ($indent > 0 and $first_line) |
790
|
0 |
20 |
if ($indent < 0 and not $first_line) |
792
|
0 |
0 |
if ($lw < $width and $align eq 'l' || $align eq 'j') |
797
|
6 |
14 |
if ($align eq 'j') { } |
|
2 |
12 |
elsif ($align eq 'r') { } |
|
2 |
10 |
elsif ($align eq 'c') { } |
811
|
3 |
17 |
if ($height -= $leading) < 0 |
814
|
6 |
6 |
if (wantarray) |
872
|
0 |
2 |
defined $opts{'-pvgap'} ? : |
882
|
0 |
6 |
if (length $overflow > 0) |
888
|
2 |
4 |
if (length $para > 0) |
897
|
0 |
6 |
if (length $para == 0 and $pvgap != 0) |
903
|
0 |
2 |
if (wantarray) |
1012
|
0 |
0 |
if defined $opts{'-rotate'} |
1015
|
0 |
0 |
if ($wastext) |
1024
|
0 |
0 |
ref $opts{'-color'} ? : |
|
0 |
0 |
if defined $opts{'-color'} |
1025
|
0 |
0 |
ref $opts{'-strokecolor'} ? : |
|
0 |
0 |
if defined $opts{'-strokecolor'} |
1029
|
0 |
0 |
if defined $opts{'-charspace'} |
1030
|
0 |
0 |
if defined $opts{'-hscale'} |
1031
|
0 |
0 |
if defined $opts{'-wordspace'} |
1032
|
0 |
0 |
if defined $opts{'-render'} |
1034
|
0 |
0 |
if (defined $opts{'-right'} and $opts{'-right'} or defined $opts{'-align'} and $opts{'-align'} =~ /^r/i) { } |
|
0 |
0 |
elsif (defined $opts{'-center'} and $opts{'-center'} or defined $opts{'-align'} and $opts{'-align'} =~ /^c/i) { } |
|
0 |
0 |
elsif (defined $opts{'-left'} and $opts{'-left'} or defined $opts{'-align'} and $opts{'-align'} =~ /^l/i) { } |
1050
|
0 |
0 |
if ($wastext) |