WC_Stripe_Webhook_State A

Total Complexity 53
Dependencies 2
Dependents 4
Total lines 355
Lines of code 175
Logical lines of code 95
Comment lines 124
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
get_last_error_reason()
A
49 11 32
get_webhook_status_message()
A
42 9 60
clear_state()
S
58 5 16
get_webhook_status_code()
S
60 5 14
get_monitoring_began_at()
S
61 3 12
get_testmode()
S
70 3 5
get_configured_webhook_urls()
S
65 3 8
set_last_webhook_success_at()
S
75 2 4
get_last_webhook_success_at()
S
74 2 4
set_last_webhook_failure_at()
S
75 2 4
get_last_webhook_failure_at()
S
74 2 4
set_last_error_reason()
S
75 2 4
set_pending_webhooks_count()
S
75 2 4
get_pending_webhooks_count()
S
74 2 4