Branch Coverage

blib/lib/WebService/Async/Onfido.pm
Criterion Covered Total %
branch 14 30 46.6


line true false branch
68 15 15 if exists $args{$k}
96 3 23 unless $self->{$hook}
98 1 22 unless ref $self->{$hook} eq "CODE"
156 0 0 unless $src->is_ready
183 0 0 ref $starting_uri ? :
226 0 0 unless $src->is_ready
255 0 0 if (my($url, $rel) = /<(http[^>]+)>;\h*rel="([^"]+)"/)
761 0 1 $args{'advanced_validation'} ? :
904 0 5 unless my $applicant_id = delete $args{'applicant_id'}
981 0 1 unless my $check_id = delete $args{'check_id'}
1153 2 0 unless $path->exists
1185 0 0 $country_details{$country_code} ? :
1251 4 0 unless $path->exists
1275 0 4 if &blessed($self->{'base_uri'})
1346 22 2 unless $self->requests_per_minute and ++$self->{'request_count'} >= $self->requests_per_minute