| line |
!l |
l&&!r |
l&&r |
condition |
|
130
|
0 |
0 |
0 |
CORE::length $enc and not $self->{'is_encoded'}
|
|
165
|
11 |
0 |
99 |
exists $opts->{'type'} && defined $opts->{'type'}
|
|
182
|
83 |
24 |
3 |
not defined $path || defined $data and exists $opts->{'attach'}
|
|
|
24 |
0 |
3 |
not defined $path || defined $data and exists $opts->{'attach'} and defined $opts->{'attach'}
|
|
|
24 |
0 |
3 |
not defined $path || defined $data and exists $opts->{'attach'} and defined $opts->{'attach'} and !ref($opts->{'attach'}) || $self->_can_overload($opts->{'attach'}, '""')
|
|
|
0 |
0 |
3 |
not defined $path || defined $data and exists $opts->{'attach'} and defined $opts->{'attach'} and !ref($opts->{'attach'}) || $self->_can_overload($opts->{'attach'}, '""') and index("$opts->{'attach'}", "\n") == -1
|
|
|
99 |
0 |
8 |
not $has_type and defined $path
|
|
|
99 |
0 |
8 |
not $has_type and defined $path and CORE::length $path
|
|
233
|
47 |
0 |
9 |
$type =~ m[^text/]i and not $is_multipart
|
|
241
|
10 |
84 |
16 |
not defined $filename and defined $path
|
|
|
94 |
0 |
16 |
not defined $filename and defined $path and CORE::length $path
|
|
246
|
84 |
26 |
0 |
defined $filename and not CORE::length $filename
|
|
253
|
84 |
0 |
26 |
defined $filename and not $is_multipart
|
|
305
|
52 |
0 |
0 |
$cte_obj->is_binary and $type =~ m[^text/]i
|
|
322
|
59 |
0 |
26 |
defined $path and CORE::length $path
|
|
352
|
22 |
0 |
83 |
not $is_multipart and defined $encoding
|
|
|
22 |
0 |
83 |
not $is_multipart and defined $encoding and CORE::length $encoding
|
|
358
|
22 |
78 |
5 |
not $is_multipart and defined $disposition || defined $filename
|
|
373
|
97 |
0 |
7 |
defined $cid and CORE::length $cid
|
|
381
|
104 |
0 |
0 |
defined $description and CORE::length $description
|
|
427
|
12 |
38 |
0 |
$enc ne "base64" and $enc ne "quoted-printable"
|
|
574
|
0 |
0 |
0 |
defined $boundary and CORE::length $boundary
|
|
716
|
0 |
0 |
13 |
defined $boundary and CORE::length $boundary
|
|
806
|
0 |
0 |
0 |
defined $type and CORE::length $type
|
| line |
l |
!l |
condition |
|
129
|
0 |
0 |
$self->headers->content_transfer_encoding // ""
|
|
166
|
99 |
11 |
delete $opts->{'type'} // "text/plain"
|
|
213
|
110 |
0 |
'Mail::Make::Headers::ContentType'->new($type) || (return $self->pass_error('Mail::Make::Headers::ContentType'->error))
|
|
302
|
52 |
1 |
'Mail::Make::Headers::ContentTransferEncoding'->new($encoding) || (return $self->pass_error('Mail::Make::Headers::ContentTransferEncoding'->error))
|
|
315
|
107 |
0 |
'Mail::Make::Headers'->new || (return $self->pass_error('Mail::Make::Headers'->error))
|
|
324
|
25 |
1 |
'Mail::Make::Body::File'->new($path) || (return $self->pass_error('Mail::Make::Body::File'->error))
|
|
330
|
58 |
0 |
'Mail::Make::Body::InCore'->new($data) || (return $self->pass_error('Mail::Make::Body::InCore'->error))
|
|
362
|
25 |
1 |
'Mail::Make::Headers::ContentDisposition'->new($disposition) || (return $self->pass_error('Mail::Make::Headers::ContentDisposition'->error))
|
|
403
|
0 |
0 |
$self->{'headers'}->content_type // ""
|
|
418
|
50 |
0 |
$self->headers->content_transfer_encoding // ""
|
|
434
|
50 |
0 |
$body->open || (return $self->pass_error($body->error))
|
|
442
|
12 |
0 |
$self->new_tempfile('open', 1) || (return $self->pass_error)
|
|
456
|
12 |
0 |
'Mail::Make::Body::File'->new("$tmp") || (return $self->pass_error('Mail::Make::Body::File'->error))
|
|
474
|
38 |
0 |
'Mail::Make::Body::InCore'->new($out) || (return $self->pass_error('Mail::Make::Body::InCore'->error))
|
|
512
|
0 |
0 |
'Mail::Make::Headers'->new || (return $self->pass_error('Mail::Make::Headers'->error))
|
|
535
|
72 |
0 |
$self->effective_type // ""
|
|
641
|
25 |
0 |
$self->effective_type // ""
|
|
685
|
64 |
0 |
shift @_ || (return $self->error('No file handle was provided to print the mail entity to.'))
|
|
689
|
0 |
0 |
$fh // "undef"
|
|
707
|
64 |
0 |
shift @_ || (return $self->error('No file handle was provided to print the mail entity to.'))
|
|
711
|
0 |
0 |
$fh // "undef"
|
|
762
|
51 |
0 |
$self->{'body'}->as_string || (return $self->pass_error($self->{'body'}->error))
|
|
791
|
31 |
0 |
$self->effective_type // ""
|
|
816
|
2 |
0 |
shift @_ // "mixed"
|
|
824
|
1 |
0 |
'Mail::Make::Headers::ContentType'->new($new_type) || (return $self->pass_error('Mail::Make::Headers::ContentType'->error))
|
|
833
|
1 |
0 |
'Mail::Make::Entity'->new || (return $self->pass_error)
|
|
835
|
1 |
0 |
'Mail::Make::Headers'->new || (return $self->pass_error('Mail::Make::Headers'->error))
|
|
872
|
13 |
0 |
$self->headers->get("Content-Type") // ""
|