WC_Payments_Webhook_Processing_Service C

Total Complexity 102
Dependencies 24
Dependents 3
Total lines 887
Lines of code 507
Logical lines of code 323
Comment lines 264
Methods 19
Properties 9

Methods 19

Method Rating Maintainability Complexity Lines of code
process()
B
39 21 67
process_webhook_refund_updated()
A
39 10 68
process_webhook_refund_triggered_externally()
A
43 11 47
get_failure_message_from_error()
A
49 11 29
process_webhook_payment_intent_succeeded()
A
42 8 52
process_webhook_payment_intent_failed()
A
48 8 32
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