| line |
true |
false |
branch |
|
22
|
1 |
2 |
unless ($api_key) |
|
23
|
1 |
1 |
unless ($slug) |
|
41
|
0 |
0 |
unless ($opt->{'coupon_code'}) |
|
42
|
0 |
0 |
unless ($opt->{'discounted_price'}) |
|
43
|
0 |
0 |
unless ($opt->{'start_date'}) |
|
51
|
0 |
0 |
if ($opt->{'end_date'}) |
|
54
|
0 |
0 |
if ($opt->{'has_uses_limit'}) |
|
57
|
0 |
0 |
if ($opt->{'max_uses'}) |
|
60
|
0 |
0 |
if ($opt->{'note'}) |
|
63
|
0 |
0 |
if ($opt->{'suspended'}) |
|
79
|
0 |
0 |
unless ($opt->{'coupon_code'}) |
|
93
|
0 |
0 |
$_[0] =~ /^(no|false|0)$/i ? : |
|
95
|
0 |
0 |
if (exists $opt->{'suspended'}) |
|
98
|
0 |
0 |
if (exists $opt->{'has_uses_limit'}) |
|
108
|
0 |
0 |
if $opt->{'page'} |
|
145
|
0 |
0 |
if ($opt->{'email_readers'}) |
|
148
|
0 |
0 |
if (exists $opt->{'release_notes'}) |
|
157
|
0 |
0 |
if ($opt->{'content'}) { } |
|
191
|
0 |
0 |
if ($opt->{'var'}) |
|
198
|
0 |
0 |
if ($res->is_success) |
|
214
|
0 |
0 |
if ($res->is_success) |
|
224
|
0 |
0 |
if ($opt->{'var'}) |
|
231
|
0 |
0 |
if ($res->is_success) |
|
246
|
0 |
0 |
if ($res->is_success) |