line |
true |
false |
branch |
86
|
2 |
1 |
unless $token |
90
|
0 |
3 |
if $use_ssl |
182
|
1 |
7 |
unless $$self{'token'} |
186
|
0 |
7 |
unless $params{'from'} and 'Email::Valid'->address($params{'from'}) |
190
|
0 |
7 |
unless $params{'to'} |
197
|
0 |
7 |
unless $params{'subject'} |
201
|
1 |
1 |
unless $params{'body'} or $params{'html'} or $params{'text'} |
205
|
1 |
5 |
if ($params{'cc'}) |
208
|
0 |
6 |
if ($params{'bcc'}) |
213
|
0 |
6 |
if ($params{'reply_to'}) |
214
|
0 |
0 |
unless 'Email::Valid'->address($params{'reply_to'}) |
219
|
5 |
1 |
unless ($params{'html'} or $params{'text'}) |
221
|
2 |
3 |
if ($body =~ /^\/i and $body =~ m[\$]i) { } |
239
|
3 |
3 |
if $params{'html'} |
240
|
4 |
2 |
if $params{'text'} |
241
|
1 |
5 |
if $params{'cc'} |
242
|
0 |
6 |
if $params{'bcc'} |
243
|
0 |
6 |
if $params{'tag'} |
244
|
0 |
6 |
if $params{'reply_to'} |
245
|
0 |
6 |
if $params{'track_opens'} |
247
|
1 |
5 |
if ($params{'attachments'} and ref $params{'attachments'} eq 'ARRAY') |
271
|
2 |
4 |
$$self{'use_ssl'} ? : |
285
|
5 |
1 |
if ($$res{'success'}) { } |
315
|
0 |
2 |
unless $raw_email |
336
|
2 |
0 |
if ($$res{'success'}) { } |
339
|
2 |
0 |
if ($$ret{'success'}) { } |
340
|
1 |
1 |
$options eq 'long' ? : |
360
|
0 |
8 |
if scalar @ads > 20 |
365
|
0 |
11 |
unless 'Email::Valid'->address($_) |
382
|
0 |
0 |
$$res{'status'} == 500 ? : |
|
0 |
0 |
$$res{'status'} == 422 ? : |
|
1 |
0 |
$$res{'status'} == 401 ? : |