WC_Stripe_Webhook_State S

Total Complexity 48
Dependencies 2
Dependents 4
Total lines 306
Lines of code 148
Logical lines of code 81
Comment lines 109
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
get_last_error_reason()
A
49 11 32
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
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