WC_Novalnet_Webhook D

Total Complexity 163
Dependencies 11
Dependents 0
Total lines 1,124
Lines of code 651
Logical lines of code 416
Comment lines 262
Methods 22
Properties 16

Methods 22

Method Rating Maintainability Complexity Lines of code
__construct()
C
33 24 102
handle_transaction_update()
C
31 23 108
get_order_reference()
B
43 17 46
handle_transaction_capture_cancel()
A
41 12 50
handle_renewal()
A
42 10 43
handle_transaction_refund()
A
45 10 38
validate_event_data()
A
50 10 25
handle_subscription_reactivate()
A
44 7 42
handle_subscription_update()
S
54 7 17
authenticate_event_data()
S
56 6 18
handle_instalment()
S
51 5 25
handle_credit()
S
52 5 22
update_initial_payment()
S
55 5 19
validate_checksum()
S
57 5 16
log_callback_details()
S
56 3 19
handle_subscription_cancel()
S
54 3 19
get_post_id()
S
65 3 10
handle_chargeback()
S
69 3 5
handle_instalment_cancel()
S
61 2 11
handle_subscription_suspend()
S
62 1 10
display_message()
S
80 1 3
send_notification_mail()
S
78 1 3