WC_Payments_Webhook_Processing_Service C

Total Complexity 108
Dependencies 25
Dependents 3
Total lines 910
Lines of code 517
Logical lines of code 336
Comment lines 275
Methods 19
Properties 10

Methods 19

Method Rating Maintainability Complexity Lines of code
process()
C
36 23 80
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
get_order_from_event_body()
A
44 9 44
process_webhook_payment_intent_succeeded()
A
41 8 54
process_webhook_payment_intent_failed()
A
48 8 33
process_webhook_dispute_updated()
S
47 5 38
process_webhook_stripe_billing_invoice()
S
59 5 16
is_webhook_mode_mismatch()
S
57 3 18
process_webhook_dispute_created()
S
51 2 25
process_webhook_expired_authorization()
S
53 2 23
process_webhook_dispute_closed()
S
57 2 17
read_webhook_property()
S
63 2 11
process_wcpay_notification()
S
67 2 8
__construct()
S
62 1 12
process_webhook_payment_intent_canceled()
S
77 1 4
process_webhook_payment_intent_amount_capturable_updated()
S
77 1 4
has_webhook_property()
S
79 1 3