Branch Coverage

lib/Business/Fixflo/Client.pm
Criterion Covered Total %
branch 24 42 57.1


line true false branch
159 3 17 if (not $self->api_key || $self->username && $self->password)
194 2 6 $uri =~ /Landlords|PropertyAddress/ ? :
1 8 $uri eq 'Property/Search' ? :
290 1 1 $is_external_id ? :
307 1 1 $is_email_address ? :
322 0 0 $property_id ? :
398 0 3 if $ENV{'FIXFLO_DEBUG'}
403 1 2 if $method eq "GET"
408 2 1 if ($method =~ /POST|PUT|DELETE/)
409 0 2 if ($params)
414 0 0 if $ENV{'FIXFLO_DEBUG'}
418 0 3 if (@{$self->ua_proxy_settings;})
436 3 0 if ($res->is_success) { }
439 3 0 if ($res->headers->header("content-type") =~ m[application/json])
448 0 0 if $ENV{'FIXFLO_DEBUG'}
462 0 3 $path =~ /^http/ ? :
471 0 0 $path =~ /^http/ ? :
0 3 if $ENV{'FIXFLO_DEBUG'}
483 0 3 if ($self->api_key) { }
494 0 3 if $ENV{'FIXFLO_DEBUG'}
502 0 1 if (my $query_params = $self->normalize_params($params))