PPCP_Paypal_Checkout_For_Woocommerce_Request D

Total Complexity 447
Dependencies 2
Dependents 4
Total lines 2,129
Lines of code 1,968
Logical lines of code 1,125
Comment lines 15
Methods 56
Properties 38

Methods 56

Method Rating Maintainability Complexity Lines of code
ppcp_regular_create_order_request()
D
18
54 225
ppcp_create_order_request()
D
20
44 203
ppcp_order_capture_request()
C
31 25 98
ppcp_capture_authorized_payment()
C
30 22 111
ppcp_update_order()
B
29
18 136
ppcp_set_payer_details()
B
37 21 74
ppcp_get_details()
B
40 18 60
ppcp_update_order_status()
B
45 18 39
ppcp_order_auth_request()
A
38 14 64
ppcp_get_readable_message()
A
46 15 38
ppcp_refund_order()
A
38 12 65
ppcp_get_paypal_line_items_from_cart()
A
43 12 44
ppcp_create_webhooks_request()
A
40 11 56
ppcp_get_paypal_line_items_from_order()
A
46 9 35
get_genrate_token()
A
46 8 38
__construct()
A
35 5 81
ppcp_regular_capture()
A
48 8 32
ppcp_validate_webhook_event()
A
45 7 41
ppcp_handle_webhook_request_handler()
A
52 8 24
ppcp_shipping_preference()
S
58 8 15
ppcp_delete_exiting_webhook()
S
48 7 29
ppcp_get_access_token()
S
45 5 40
ppcp_get_paypal_order()
S
54 6 21
ppcp_delete_first_webhook()
S
49 5 28
ppcp_get_address_from_customer()
S
47 4 37
ppcp_get_checkout_details()
S
48 4 32
payment_status_completed()
S
56 5 17
ppcp_show_details_authorized_payment()
S
48 4 31
ppcp_get_order_total()
S
59 5 14
request()
S
57 4 16
generate_request_id()
S
58 4 15
getallheaders_custome()
S
60 4 12
is_valid_for_use()
S
66 4 9
ppcp_application_context()
S
58 3 15
ppcp_get_rounded_total_in_order()
S
60 3 12
ppcp_get_rounded_total_in_cart()
S
61 3 11
ppcp_get_details_from_cart()
S
57 2 16
getallheaders_value()
S
65 3 10
ppcp_get_details_from_order()
S
58 2 15
ppcp_get_number_of_decimal_digits()
S
71 3 6
ppcp_log()
S
67 3 8
ppcp_prepare_webhook_validate_request()
S
59 2 14
ppcp_get_extra_offset_line_item()
S
63 2 11
payment_status_refunded()
S
74 2 5
ppcp_get_currency()
S
64 2 10
payment_status_on_hold()
S
74 2 5
instance()
S
72 2 6
payment_status_failed()
S
74 2 5
payment_status_pending()
S
72 2 5
payment_on_hold()
S
72 2 5
payment_complete()
S
68 2 7
ppcp_is_currency_supports_zero_decimal()
S
70 2 6
ppcp_add_log_details()
S
67 2 7
payment_status_voided()
S
81 1 3
payment_status_expired()
S
81 1 3
payment_status_denied()
S
81 1 3