line |
true |
false |
branch |
17
|
16 |
0 |
unless ref $marker eq 'ARRAY' |
19
|
0 |
16 |
if (@$lines <= $len) |
24
|
5 |
11 |
if ($len <= $len_marker) |
28
|
1 |
10 |
if ($truncate eq 'top') { } |
|
1 |
9 |
elsif ($truncate eq 'middle') { } |
|
1 |
8 |
elsif ($truncate eq 'ends') { } |
35
|
0 |
1 |
if ($len <= 2 * $len_marker) |
57
|
8 |
44 |
if (defined $1) { } |
|
8 |
36 |
elsif (defined $3) { } |
|
36 |
0 |
elsif (defined $4) { } |
58
|
0 |
8 |
unless length $2 |
62
|
0 |
8 |
unless length $3 |
66
|
18 |
18 |
unless length $4 |
71
|
2 |
16 |
unless @parts and $len > 0 |
74
|
7 |
23 |
if (defined $parts_attrs[$i]) { } |
76
|
0 |
7 |
if $parts_attrs[$i] =~ /\btruncate=(?:"([^"]*)"|(\S+))/ |
78
|
0 |
7 |
if $parts_attrs[$i] =~ /\bmarker=(?:"([^"]*)"|(\S+))/ |
80
|
7 |
0 |
if $parts_attrs[$i] =~ /\bprio(?:rity)?=(?:"([^"]*)"|(\S+))/ |
98
|
16 |
15 |
if ($all_parts_len <= $len) |
107
|
15 |
13 |
if not defined $highest_prio or $highest_prio < $_->{'prio'} |
112
|
21 |
7 |
if ($parts_attrs[$i]{'prio'} == $highest_prio) |
118
|
2 |
13 |
if ($all_parts_len - $high_parts_len >= $len) |
146
|
1 |
17 |
if ($to_elide <= 0) { } |
|
1 |
16 |
elsif ($part_len <= $to_elide) { } |