WC_Payments_Webhook_Processing_Service B

Total Complexity 91
Dependencies 23
Dependents 3
Total lines 834
Lines of code 469
Logical lines of code 298
Comment lines 253
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
process_webhook_refund_updated()
A
42 8 57
get_failure_message_from_error()
A
50 10 27
process_webhook_payment_intent_succeeded()
A
42 8 52
process_webhook_payment_intent_failed()
S
51 6 25
process_webhook_dispute_updated()
S
47 5 39
get_order_from_event_body_intent_id()
S
52 5 26
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