| line |
true |
false |
branch |
|
103
|
0 |
0 |
unless my $api_key = $args{'api_key'} || $self->{'api_key'} |
|
171
|
0 |
4 |
unless @$to |
|
174
|
0 |
4 |
if @$cc |
|
175
|
0 |
4 |
if @$bcc |
|
177
|
0 |
4 |
if $args{'subject'} |
|
178
|
0 |
4 |
if $args{'send_at'} |
|
180
|
0 |
4 |
if ($args{'headers'}) |
|
181
|
0 |
0 |
unless ref $args{'headers'} eq 'HASH' |
|
185
|
0 |
4 |
if ($args{'substitutions'}) |
|
186
|
0 |
0 |
unless ref $args{'substitutions'} eq 'HASH' |
|
190
|
0 |
4 |
if ($args{'dynamic_template_data'}) |
|
191
|
0 |
0 |
unless ref $args{'dynamic_template_data'} eq 'HASH' |
|
195
|
0 |
4 |
if ($args{'custom_args'}) |
|
196
|
0 |
0 |
unless ref $args{'custom_args'} eq 'HASH' |
|
211
|
8 |
4 |
unless $data |
|
213
|
1 |
3 |
if (not $reftype) { } |
|
|
1 |
2 |
elsif ($reftype eq 'HASH') { } |
|
|
0 |
2 |
elsif ($reftype ne 'ARRAY') { } |
|
225
|
0 |
5 |
unless $recip |
|
229
|
3 |
2 |
if (not $recipreftype) { } |
|
|
2 |
0 |
elsif ($recipreftype eq 'HASH') { } |
|
271
|
0 |
1 |
unless $email |
|
274
|
0 |
1 |
if $name |
|
289
|
0 |
1 |
unless $subject |
|
306
|
0 |
0 |
unless $email |
|
309
|
0 |
0 |
if $name |
|
338
|
0 |
1 |
unless $type and $value |
|
376
|
0 |
0 |
unless $filename and $content |
|
383
|
0 |
0 |
if $args{'type'} |
|
384
|
0 |
0 |
if $args{'disposition'} |
|
385
|
0 |
0 |
if $args{'content_id'} |
|
405
|
0 |
0 |
if $template_id |
|
433
|
0 |
0 |
unless $key |
|
451
|
0 |
0 |
unless $key |
|
471
|
0 |
0 |
if %sections |
|
503
|
0 |
0 |
if %headers |
|
532
|
0 |
0 |
if scalar @categories > 10 |
|
537
|
0 |
0 |
if @categories |
|
552
|
0 |
0 |
unless $name |
|
557
|
0 |
0 |
if scalar @{$self->{'data'}{'categories'};} > 9 |
|
591
|
0 |
0 |
if %args |
|
609
|
0 |
0 |
if $timestamp |
|
625
|
0 |
0 |
if $batch_id |
|
646
|
0 |
0 |
unless $group_id |
|
647
|
0 |
0 |
if scalar @display_groups > 25 |
|
650
|
0 |
0 |
if @display_groups |
|
665
|
0 |
0 |
if $pool_name |
|
683
|
0 |
0 |
$enable ? : |
|
688
|
0 |
0 |
if (defined $args{'enable_text'}) |
|
690
|
0 |
0 |
$args{'enable_text'} ? : |
|
709
|
0 |
0 |
$enable ? : |
|
714
|
0 |
0 |
if $args{'substitution_tag'} |
|
731
|
0 |
0 |
$enable ? : |
|
734
|
0 |
0 |
if $args{'text'} |
|
735
|
0 |
0 |
if $args{'html'} |
|
736
|
0 |
0 |
if $args{'substitution_tag'} |
|
755
|
0 |
0 |
$enable ? : |
|
758
|
0 |
0 |
if $args{'utm_source'} |
|
759
|
0 |
0 |
if $args{'utm_medium'} |
|
760
|
0 |
0 |
if $args{'utm_term'} |
|
761
|
0 |
0 |
if $args{'utm_content'} |
|
762
|
0 |
0 |
if $args{'utm_campaign'} |
|
781
|
0 |
0 |
$enable ? : |
|
785
|
0 |
0 |
if $args{'email'} |
|
801
|
0 |
0 |
$enable ? : |
|
820
|
0 |
0 |
$enable ? : |
|
824
|
0 |
0 |
if $args{'text'} |
|
825
|
0 |
0 |
if $args{'html'} |
|
840
|
0 |
0 |
$enable ? : |
|
862
|
0 |
0 |
$enable ? : |
|
866
|
0 |
0 |
if $args{'threshold'} |
|
867
|
0 |
0 |
if $args{'post_to_url'} |