WC_Novalnet_Webhook D

Total Complexity 221
Dependencies 14
Dependents 0
Total lines 1,319
Lines of code 799
Logical lines of code 516
Comment lines 307
Methods 27
Properties 17

Methods 27

Method Rating Maintainability Complexity Lines of code
__construct()
D
29 33 120
handle_transaction_update()
D
29
29 122
handle_renewal()
C
33 26 78
get_order_reference()
A
44 15 43
handle_credit()
A
48 11 27
handle_transaction_refund()
A
45 10 38
validate_event_data()
A
50 10 25
handle_transaction_capture_cancel()
A
44 8 42
handle_subscription_reactivate()
A
44 7 43
handle_chargeback()
A
54 8 19
handle_subscription_cancel()
S
50 7 27
handle_subscription_update()
S
53 7 18
update_initial_payment()
S
53 6 23
handle_instalment_cancel()
S
53 6 20
authenticate_event_data()
S
56 6 18
handle_instalment()
S
51 5 25
update_payment_credit_status_amount()
S
55 5 18
validate_checksum()
S
57 5 16
handle_payment()
S
59 5 12
log_callback_details()
S
56 3 19
get_post_id()
S
65 3 10
update_recurring_order_amount()
S
60 1 14
handle_subscription_suspend()
S
62 1 10
handle_payment_reminder()
S
77 1 3
display_message()
S
80 1 3
send_notification_mail()
S
78 1 3
submission_to_collection_agency()
S
77 1 3