line |
true |
false |
branch |
29
|
0 |
0 |
unless ($$self{$_}) |
37
|
0 |
0 |
unless ($$self{'user_agent'}) |
51
|
0 |
0 |
if ($$self{'files'}) |
57
|
0 |
0 |
unless (-f $file) |
68
|
0 |
0 |
if ($_ eq $extension) |
74
|
0 |
0 |
unless ($allowed) |
80
|
0 |
0 |
if ($f->size($file) > 8388607) |
103
|
0 |
0 |
if ($$self{'files'}) |
114
|
0 |
0 |
unless ($fax_number and $fax_number =~ /^\+[0-9]{2,} [0-9]{1,} [0-9]+$/) |
122
|
0 |
0 |
if ($self->filecount < 1) |
153
|
0 |
0 |
if (not $post_center && $post_center =~ /^\d$/ or $post_center < 1 or $post_center > 3) |
159
|
0 |
0 |
unless ($dest_country and $dest_country =~ /^\w{2}$/ and code2country($dest_country)) |
165
|
0 |
0 |
if ($self->filecount < 1) |
206
|
0 |
0 |
unless ($response->is_success) |
212
|
0 |
0 |
if ($response_xml =~ m[result code\=\"(\d*)\".*\(.*?)\]s) |
214
|
0 |
0 |
if ($1 == 100) { } |