line |
true |
false |
branch |
97
|
0 |
2 |
unless my $api_key = $args{'api_key'} || $self->{'api_key'} |
165
|
0 |
6 |
unless @$to |
168
|
0 |
6 |
if @$cc |
169
|
0 |
6 |
if @$bcc |
171
|
0 |
6 |
if $args{'subject'} |
172
|
0 |
6 |
if $args{'send_at'} |
174
|
0 |
6 |
if ($args{'headers'}) |
175
|
0 |
0 |
unless ref $args{'headers'} eq 'HASH' |
179
|
0 |
6 |
if ($args{'substitutions'}) |
180
|
0 |
0 |
unless ref $args{'substitutions'} eq 'HASH' |
184
|
0 |
6 |
if ($args{'dynamic_template_data'}) |
185
|
0 |
0 |
unless ref $args{'dynamic_template_data'} eq 'HASH' |
189
|
0 |
6 |
if ($args{'custom_args'}) |
190
|
0 |
0 |
unless ref $args{'custom_args'} eq 'HASH' |
205
|
12 |
6 |
unless $data |
207
|
1 |
5 |
if (not $reftype) { } |
|
1 |
4 |
elsif ($reftype eq 'HASH') { } |
|
0 |
4 |
elsif ($reftype ne 'ARRAY') { } |
219
|
0 |
7 |
unless $recip |
223
|
5 |
2 |
if (not $recipreftype) { } |
|
2 |
0 |
elsif ($recipreftype eq 'HASH') { } |
265
|
0 |
3 |
unless $email |
268
|
0 |
3 |
if $name |
283
|
0 |
3 |
unless $subject |
300
|
0 |
0 |
unless $email |
303
|
0 |
0 |
if $name |
332
|
0 |
3 |
unless $type and $value |
370
|
0 |
0 |
unless $filename and $content |
377
|
0 |
0 |
if $args{'type'} |
378
|
0 |
0 |
if $args{'disposition'} |
379
|
0 |
0 |
if $args{'content_id'} |
399
|
0 |
0 |
if $template_id |
427
|
0 |
0 |
unless $key |
445
|
0 |
0 |
unless $key |
465
|
0 |
0 |
if %sections |
497
|
0 |
0 |
if %headers |
526
|
0 |
0 |
if scalar @categories > 10 |
531
|
0 |
0 |
if @categories |
546
|
0 |
0 |
unless $name |
551
|
0 |
0 |
if scalar @{$self->{'data'}{'categories'};} > 9 |
585
|
0 |
0 |
if %args |
603
|
0 |
0 |
if $timestamp |
619
|
0 |
0 |
if $batch_id |
640
|
0 |
0 |
unless $group_id |
641
|
0 |
0 |
if scalar @display_groups > 25 |
644
|
0 |
0 |
if @display_groups |
659
|
0 |
0 |
if $pool_name |
677
|
0 |
0 |
$enable ? : |
682
|
0 |
0 |
if (defined $args{'enable_text'}) |
684
|
0 |
0 |
$args{'enable_text'} ? : |
703
|
0 |
0 |
$enable ? : |
708
|
0 |
0 |
if $args{'substitution_tag'} |
725
|
0 |
0 |
$enable ? : |
728
|
0 |
0 |
if $args{'text'} |
729
|
0 |
0 |
if $args{'html'} |
730
|
0 |
0 |
if $args{'substitution_tag'} |
749
|
0 |
0 |
$enable ? : |
752
|
0 |
0 |
if $args{'utm_source'} |
753
|
0 |
0 |
if $args{'utm_medium'} |
754
|
0 |
0 |
if $args{'utm_term'} |
755
|
0 |
0 |
if $args{'utm_content'} |
756
|
0 |
0 |
if $args{'utm_campaign'} |
775
|
0 |
0 |
$enable ? : |
779
|
0 |
0 |
if $args{'email'} |
795
|
0 |
0 |
$enable ? : |
814
|
0 |
0 |
$enable ? : |
818
|
0 |
0 |
if $args{'text'} |
819
|
0 |
0 |
if $args{'html'} |
834
|
0 |
0 |
$enable ? : |
856
|
0 |
0 |
$enable ? : |
860
|
0 |
0 |
if $args{'threshold'} |
861
|
0 |
0 |
if $args{'post_to_url'} |