WC_Payments_Webhook_Processing_Service C

Total Complexity 104
Dependencies 24
Dependents 3
Total lines 873
Lines of code 500
Logical lines of code 328
Comment lines 260
Methods 19
Properties 9

Methods 19

Method Rating Maintainability Complexity Lines of code
process()
B
37 22 74
process_webhook_refund_updated()
A
42 11 51
process_webhook_refund_triggered_externally()
A
43 11 47
get_failure_message_from_error()
A
49 11 29
process_webhook_payment_intent_succeeded()
A
41 8 54
process_webhook_payment_intent_failed()
A
48 8 33
get_order_from_event_body()
S
49 6 31
process_webhook_dispute_updated()
S
47 5 39
process_webhook_stripe_billing_invoice()
S
59 5 16
is_webhook_mode_mismatch()
S
57 3 18
process_webhook_dispute_created()
S
51 2 26
process_webhook_expired_authorization()
S
53 2 23
process_webhook_dispute_closed()
S
56 2 18
read_webhook_property()
S
63 2 11
process_wcpay_notification()
S
67 2 8
__construct()
S
63 1 11
has_webhook_property()
S
79 1 3
process_webhook_payment_intent_amount_capturable_updated()
S
77 1 4
process_webhook_payment_intent_canceled()
S
77 1 4