line |
true |
false |
branch |
54
|
0 |
20 |
unless $manifest->{'alternatives'}
|
55
|
0 |
20 |
unless $manifest->{'attachments'}
|
57
|
0 |
13 |
unless $has_body or $has_path or $has_alts
|
61
|
0 |
20 |
unless grep({$_;} $has_body, $has_path, $has_alts) == 1
|
63
|
3 |
0 |
$has_alts ? :
|
|
10 |
3 |
$has_path ? :
|
|
7 |
13 |
$has_body ? :
|
74
|
3 |
14 |
unless $self->manifest->{'attributes'}
|
77
|
13 |
4 |
if ($attr{'content_type'} =~ m[^text/]u)
|
81
|
8 |
5 |
unless $body =~ /[\x0d|\x0a]\z/u
|
108
|
6 |
4 |
$type =~ m[^text/]u ? :
|
118
|
3 |
0 |
unless $self->manifest->{'attributes'}
|
121
|
0 |
3 |
unless ($attr{'content_type'} =~ qr"\Amultipart/alternative\b"u)
|
140
|
8 |
0 |
unless defined $override
|
154
|
6 |
12 |
unless ($self->parent)
|
162
|
10 |
2 |
unless (exists $self->manifest->{'renderer'})
|
191
|
6 |
12 |
if (my $body = $self->manifest->{'body'})
|
195
|
0 |
18 |
unless $self->manifest->{'attachments'}
|
197
|
4 |
0 |
if $assembler->can("_set_attachment_info")
|
202
|
0 |
18 |
unless $self->manifest->{'alternatives'}
|
213
|
4 |
0 |
unless exists $attr->{'encoding'}
|
214
|
4 |
0 |
unless exists $attr->{'disposition'}
|
216
|
2 |
2 |
unless (exists $attr->{'filename'})
|
219
|
2 |
0 |
if $manifest->{'path'}
|
232
|
5 |
12 |
unless my $renderer = $self->renderer
|
242
|
0 |
24 |
unless my(@hval) = grep({/^[^:]/u;} keys %$entry)
|
243
|
0 |
24 |
if @hval > 1
|
246
|
0 |
24 |
if (ref $value) { }
|
255
|
6 |
18 |
exists $entry->{':renderer'} ? :
|
258
|
12 |
12 |
if defined $renderer
|
278
|
13 |
7 |
if ($attr{'content_type'} =~ m[^text/]u) { }
|
|
4 |
3 |
elsif (($arg->{'body'} || '') =~ /\P{ASCII}/u) { }
|
287
|
16 |
4 |
unless (@attachments)
|
288
|
0 |
16 |
if $ct
|
325
|
0 |
2 |
unless $cid
|
333
|
0 |
18 |
unless $self->manifest->{'attachments'}
|
334
|
0 |
4 |
unless $att->{'path'}
|
338
|
0 |
0 |
if lc $header eq "content-id"
|