WC_Payments_Webhook_Processing_Service B

Total Complexity 94
Dependencies 24
Dependents 3
Total lines 846
Lines of code 479
Logical lines of code 306
Comment lines 254
Methods 18
Properties 9

Methods 18

Method Rating Maintainability Complexity Lines of code
process()
B
38 21 71
process_webhook_refund_triggered_externally()
A
43 11 47
get_failure_message_from_error()
A
49 11 29
process_webhook_refund_updated()
A
42 8 57
process_webhook_payment_intent_succeeded()
A
42 8 52
process_webhook_payment_intent_failed()
S
50 7 28
get_order_from_event_body()
S
49 6 31
process_webhook_dispute_updated()
S
47 5 39
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
56 2 18
read_webhook_property()
S
63 2 11
process_wcpay_notification()
S
67 2 8
__construct()
S
63 1 11
process_webhook_payment_intent_amount_capturable_updated()
S
77 1 4
has_webhook_property()
S
79 1 3
process_webhook_payment_intent_canceled()
S
77 1 4