line |
true |
false |
branch |
17
|
21 |
0 |
unless ref $marker eq 'ARRAY' |
19
|
0 |
21 |
if (@$lines <= $len) |
24
|
8 |
13 |
if ($len <= $len_marker) |
28
|
1 |
12 |
if ($truncate eq 'top') { } |
|
1 |
11 |
elsif ($truncate eq 'middle') { } |
|
1 |
10 |
elsif ($truncate eq 'ends') { } |
35
|
0 |
1 |
if ($len <= 2 * $len_marker) |
58
|
11 |
53 |
if (defined $1) { } |
|
11 |
42 |
elsif (defined $3) { } |
|
42 |
0 |
elsif (defined $4) { } |
59
|
0 |
11 |
unless length $2 |
63
|
0 |
11 |
unless length $3 |
67
|
21 |
21 |
unless length $4 |
72
|
2 |
19 |
unless @parts and $len > 0 |
75
|
10 |
29 |
if (defined $parts_attrs[$i]) { } |
77
|
0 |
10 |
if $parts_attrs[$i] =~ /\btruncate=(?:"([^"]*)"|(\S+))/ |
79
|
0 |
10 |
if $parts_attrs[$i] =~ /\bmarker=(?:"([^"]*)"|(\S+))/ |
81
|
10 |
0 |
if $parts_attrs[$i] =~ /\bprio(?:rity)?=(?:"([^"]*)"|(\S+))/ |
99
|
19 |
18 |
if ($all_parts_len <= $len) |
108
|
18 |
19 |
if not defined $highest_prio or $highest_prio < $_->{'prio'} |
113
|
29 |
8 |
if ($parts_attrs[$i]{'prio'} == $highest_prio) |
119
|
2 |
16 |
if ($all_parts_len - $high_parts_len >= $len) |
147
|
2 |
24 |
if ($to_elide <= 0) { } |
|
3 |
21 |
elsif ($part_len <= $to_elide) { } |