WC_Novalnet_Webhook D

Total Complexity 174
Dependencies 12
Dependents 0
Total lines 1,192
Lines of code 692
Logical lines of code 440
Comment lines 278
Methods 25
Properties 16

Methods 25

Method Rating Maintainability Complexity Lines of code
__construct()
D
30 30 118
handle_transaction_update()
C
30 24 114
get_order_reference()
A
44 16 41
handle_transaction_capture_cancel()
A
41 12 50
handle_renewal()
A
42 11 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
handle_subscription_cancel()
S
52 4 23
log_callback_details()
S
56 3 19
handle_chargeback()
S
69 3 5
get_post_id()
S
65 3 10
handle_instalment_cancel()
S
61 2 11
update_recurring_order_amount()
S
59 1 14
handle_payment_reminder()
S
77 1 3
handle_subscription_suspend()
S
62 1 10
display_message()
S
80 1 3
send_notification_mail()
S
78 1 3
submission_to_collection_agency()
S
77 1 3