WC_Novalnet_Webhook D

Total Complexity 255
Dependencies 13
Dependents 0
Total lines 1,491
Lines of code 923
Logical lines of code 576
Comment lines 339
Methods 28
Properties 19

Methods 28

Method Rating Maintainability Complexity Lines of code
__construct()
D
28
40 121
handle_transaction_update()
D
27
34 134
handle_renewal()
C
34 25 79
get_order_reference()
B
43 17 47
handle_credit()
A
45 13 34
handle_transaction_refund()
A
45 10 37
handle_subscription_update()
A
46 10 34
handle_transaction_capture_cancel()
A
44 8 42
validate_event_data()
A
52 9 22
handle_subscription_reactivate()
A
43 7 50
handle_instalment_cancel()
A
47 8 34
handle_subscription_cancel()
A
47 8 33
handle_chargeback()
A
54 8 19
subscription_cancel_to_server()
S
51 7 21
validate_checksum()
S
49 6 30
update_initial_payment()
S
52 6 25
get_ip_address()
S
53 6 22
authenticate_event_data()
S
56 6 18
handle_instalment()
S
50 5 25
update_payment_credit_status_amount()
S
54 5 19
handle_payment()
S
59 5 12
log_callback_details()
S
56 3 19
handle_subscription_suspend()
S
57 2 16
send_notification_mail()
S
66 3 7
update_recurring_order_amount()
S
60 1 14
handle_payment_reminder()
S
77 1 3
display_message()
S
80 1 3
submission_to_collection_agency()
S
77 1 3