WC_Gateway_PPEC_Client D

Total Complexity 169
Dependencies 6
Dependents 2
Total lines 1,250
Lines of code 709
Logical lines of code 385
Comment lines 368
Methods 39
Properties 2

Methods 39

Method Rating Maintainability Complexity Lines of code
_get_details_from_order()
C
39 27 50
get_set_express_checkout_params()
B
33 19 91
get_details()
B
41 16 56
_get_address_from_customer()
A
46 14 33
get_do_express_checkout_params()
A
40 10 55
get_do_reference_transaction_params()
A
41 9 54
test_for_billing_address_enabled()
S
51 7 27
test_api_credentials()
S
52 7 22
_get_paypal_line_items_from_order()
S
50 6 26
_get_paypal_line_items_from_cart()
S
48 4 34
_get_rounded_total_in_order()
S
54 4 21
_validate_request()
S
62 4 11
get_payer_id()
S
59 3 14
_get_rounded_total_in_cart()
S
59 3 13
_request()
S
50 2 28
_process_response()
S
60 3 12
_get_details_from_cart()
S
56 2 17
_get_return_url()
S
62 2 11
response_has_success_status()
S
68 2 7
__construct()
S
71 2 6
_get_total_order_fees()
S
67 2 8
set_environment()
S
70 2 6
get_endpoint()
S
69 2 7
_get_billing_agreement_description()
S
66 2 7
set_credential()
S
81 1 3
do_express_checkout_void()
S
72 1 5
set_express_checkout()
S
72 1 5
refund_transaction()
S
72 1 5
get_pal_details()
S
72 1 5
get_transaction_details()
S
72 1 5
do_express_checkout_capture()
S
72 1 5
_get_extra_discount_line_item()
S
65 1 9
_get_cancel_url()
S
71 1 5
do_reference_transaction()
S
70 1 6
create_billing_agreement()
S
67 1 8
do_express_checkout_payment()
S
70 1 6
get_express_checkout_details()
S
67 1 8
_get_extra_offset_line_item()
S
64 1 10
update_billing_agreement()
S
67 1 8