WC_Stripe_Webhook_State S

Total Complexity 47
Dependencies 1
Dependents 1
Total lines 297
Lines of code 144
Logical lines of code 78
Comment lines 107
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
get_last_error_reason()
A
50 10 29
get_webhook_status_message()
A
46 8 43
clear_state()
S
60 5 14
get_webhook_status_code()
S
60 5 14
get_monitoring_began_at()
S
61 3 12
get_testmode()
S
73 3 4
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