Branch Coverage

blib/lib/Business/GoCardless/Client.pm
Criterion Covered Total %
branch 26 32 81.2


line true false branch
204 9 3 $limit_params->{$_} ? :
263 1 3 unless ($self->signature_valid($params, $self->app_secret))
292 3 0 if ($res->is_success) { }
349 5 55 $path =~ /^http/ ? :
355 0 60 if $ENV{'GOCARDLESS_DEBUG'}
360 27 33 if ($self->api_version > 1)
366 19 41 if ($method =~ /POST|PUT/)
367 13 6 if ($self->api_version > 1) { }
370 10 3 if $params
371 10 3 if $json
372 3 10 unless $json
373 0 13 if $ENV{'GOCARDLESS_DEBUG'} and $json
377 0 6 if $ENV{'GOCARDLESS_DEBUG'} and $normalize_params
383 60 0 if ($res->is_success) { }
384 0 60 if $ENV{'GOCARDLESS_DEBUG'}
388 16 44 wantarray ? :