WC_Stripe_Webhook_Handler D

Total Complexity 213
Dependencies 11
Dependents 0
Total lines 1,315
Lines of code 783
Logical lines of code 526
Comment lines 297
Methods 27
Properties 5

Methods 27

Method Rating Maintainability Complexity Lines of code
process_webhook_payment()
B
35 22 80
process_webhook()
B
43 19 48
process_payment_intent()
B
37 16 76
process_webhook_refund()
A
41 12 56
process_review_closed()
A
48 12 30
process_webhook_refund_updated()
A
43 10 47
process_webhook_charge_succeeded()
A
50 11 27
get_order_from_intent()
A
50 11 27
check_for_webhook()
A
45 9 39
process_webhook_dispute_closed()
A
47 9 34
process_setup_intent()
A
45 8 41
process_webhook_capture()
A
48 8 31
process_deferred_webhook()
A
49 8 28
validate_request()
A
51 8 25
has_duplicate_webhooks_setup()
S
57 7 17
process_review_opened()
S
50 6 28
process_webhook_source_canceled()
S
54 6 21
process_webhook_dispute()
S
50 5 27
process_webhook_charge_failed()
S
54 5 21
handle_deferred_payment_intent_succeeded()
S
58 4 15
get_request_headers()
S
59 4 13
__construct()
S
61 3 11
get_refund_amount()
S
63 3 11
get_partial_amount_to_charge()
S
63 3 10
get_refund_object()
S
67 2 7
defer_webhook_processing()
S
65 1 10
is_partial_capture()
S
80 1 3