line |
true |
false |
branch |
74
|
0 |
8 |
unless ($param{'text'}) |
77
|
0 |
8 |
if (not $param{'length'} or $param{'length'} =~ /\D/) |
90
|
3 |
67 |
if (not $param{'text'} =~ /\n/) { } |
104
|
1 |
7 |
if (not $param{'mode'}) { } |
|
2 |
5 |
elsif ($param{'mode'} eq 'full-width') { } |
|
5 |
0 |
elsif ($param{'mode'} eq 'traditional') { } |
124
|
35 |
12 |
if (length $line > $length) { } |
134
|
5 |
7 |
if ($folded) |
155
|
39 |
13 |
if (&length_full($line) > $length) { } |
165
|
6 |
7 |
if ($folded) |
178
|
11 |
24 |
if ($shortage < 0) { } |
216
|
78 |
45 |
if (&length_full($line) > $length) { } |
226
|
35 |
10 |
if ($folded) |
227
|
35 |
0 |
if (length $line) { } |
228
|
26 |
9 |
if ($line eq "\n") { } |
250
|
2 |
6 |
if ($shortage < 0) { } |
266
|
56 |
78 |
if ($char_top =~ /[$Forbidden]/) { } |
335
|
0 |
1 |
unless ($param{'text'}) |
338
|
0 |
1 |
if (not $param{'space'} or $param{'space'} =~ /\D/) |