Branch Coverage

blib/lib/PayProp/API/Public/Client/Role/APIRequest.pm
Criterion Covered Total %
branch 6 10 60.0


line true false branch
22 0 0 if ($self->_can_retry_request($error))
48 1 43 unless my $request_method = {"GET", "get_req_p", "PUT", "put_req_p", "POST", "post_req_p", "DELETE", "delete_req_p"}->{uc($method // "")}
52 1 42 if $handle_response_cb and ref $handle_response_cb ne "CODE"
90 42 0 $handle_response_cb ? :
98 42 0 if $Result->is_success