WC_Stripe_Webhook_Handler D

Total Complexity 194
Dependencies 11
Dependents 0
Total lines 1,232
Lines of code 726
Logical lines of code 489
Comment lines 284
Methods 26
Properties 5

Methods 26

Method Rating Maintainability Complexity Lines of code
process_webhook_payment()
B
35 22 80
process_payment_intent_success()
B
37 17 75
process_webhook()
B
44 18 47
process_webhook_refund()
A
42 11 52
process_review_closed()
A
48 12 30
process_webhook_refund_updated()
A
43 10 47
process_webhook_charge_succeeded()
A
50 11 27
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
check_for_webhook()
A
47 7 34
process_webhook_dispute_closed()
S
52 7 24
get_order_from_intent()
S
56 7 17
process_review_opened()
S
50 6 28
process_webhook_source_canceled()
S
54 6 21
process_webhook_charge_failed()
S
57 4 17
handle_deferred_payment_intent_succeeded()
S
58 4 15
get_request_headers()
S
59 4 13
process_webhook_dispute()
S
53 3 22
get_refund_amount()
S
63 3 11
__construct()
S
61 3 11
get_partial_amount_to_charge()
S
63 3 10
get_refund_object()
S
67 2 7
is_partial_capture()
S
80 1 3
defer_webhook_processing()
S
65 1 10