Branch Coverage

blib/lib/neverbounce.pm
Criterion Covered Total %
branch 0 88 0.0


line true false branch
34 0 0 if ($temp) { }
43 0 0 if (exists $hash{'api_username'}) { }
48 0 0 if (exists $hash{'api_secret_key'}) { }
68 0 0 if ($result->is_success and $result->{'_content'} ne '') { }
70 0 0 if (defined $response->{'error'} or defined $response->{'success'} and $response->{'success'} ne 1) { }
82 0 0 if ($result->is_success and $result->{'_content'} eq '') { }
94 0 0 if (exists $hash{'email'}) { }
111 0 0 if ($result->is_success and $result->{'_content'} ne '') { }
113 0 0 if (defined $response->{'error'} or defined $response->{'success'} and $response->{'success'} ne 1) { }
136 0 0 if ($result->is_success and $result->{'_content'} eq '')
145 0 0 $hash{'input_location'} eq '1' ? :
146 0 0 if (exists $hash{'input'}) { }
151 0 0 if (exists $hash{'filename'})
161 0 0 defined $self->{'filename'} ? :
168 0 0 if ($result->is_success and $result->{'_content'} ne '') { }
170 0 0 if (defined $response->{'error'} or defined $response->{'success'} and $response->{'success'} ne 1) { }
189 0 0 if ($result->is_success and $result->{'_content'} eq '')
198 0 0 if (exists $hash{'job_id'}) { }
216 0 0 if ($result->is_success and $result->{'_content'} ne '') { }
218 0 0 if (defined $response->{'error'} or defined $response->{'success'} and $response->{'success'} ne 1) { }
247 0 0 if ($result->is_success and $result->{'_content'} eq '')
256 0 0 if (exists $hash{'job_id'}) { }
262 0 0 if ($check_status{'resp_status'} ne 'success') { }
0 0 elsif ($check_status{'data'}{'status'} ne '4') { }
274 0 0 $hash{'valids'} eq '0' ? :
275 0 0 $hash{'invalids'} eq '0' ? :
276 0 0 $hash{'catchall'} eq '0' ? :
277 0 0 $hash{'disposable'} eq '0' ? :
278 0 0 $hash{'unknown'} eq '0' ? :
279 0 0 $hash{'duplicates'} eq '0' ? :
280 0 0 $hash{'textcodes'} eq '0' ? :
303 0 0 if ($result->is_success and $result->{'_content'} ne '') { }
305 0 0 unless (eval { do { &decode_json($result->{'_content'}); $temp = 1; 1 } })
306 0 0 if ($temp > 0) { }
308 0 0 if (defined $response->{'error'} or defined $response->{'success'} and $response->{'success'} ne 1) { }
328 0 0 if ($result->is_success and $result->{'_content'} eq '')
399 0 0 if ($hash{'result_code'} and $hash{'result_code'} ne '' and $hash{'result_code'} =~ /^\d+$/ && $hash{'result_code'} < 5 || $hash{'result_code'} eq 'valid' || $hash{'result_code'} eq 'invalid' || $hash{'result_code'} eq 'disposable' || $hash{'result_code'} eq 'catchall' || $hash{'result_code'} eq 'unknown') { }
400 0 0 if ($hash{'response_type'} and $hash{'response_type'} ne '') { }
401 0 0 if (defined $result_codes{$hash{'result_code'}}{$hash{'response_type'}}) { }
416 0 0 if (defined $hash{'error'}) { }
0 0 elsif (defined $hash{'success'} and $hash{'success'} ne 'true') { }
419 0 0 if (defined $hash{'msg'} and $hash{'msg'} ne '') { }
420 0 0 if ($hash{'msg'} eq 'Authentication failed') { }
436 0 0 unless (exists $self->{$field})