WC_Novalnet_Webhook D

Total Complexity 233
Dependencies 13
Dependents 0
Total lines 1,405
Lines of code 866
Logical lines of code 538
Comment lines 319
Methods 27
Properties 18

Methods 27

Method Rating Maintainability Complexity Lines of code
handle_transaction_update()
D
27
34 134
__construct()
D
30 32 117
handle_renewal()
C
32 26 84
get_order_reference()
A
44 15 43
handle_credit()
A
48 11 27
handle_transaction_refund()
A
45 10 37
handle_subscription_update()
A
49 9 28
handle_transaction_capture_cancel()
A
44 8 42
validate_event_data()
A
52 9 22
handle_instalment_cancel()
A
47 8 34
handle_chargeback()
A
54 8 19
handle_subscription_reactivate()
S
45 6 42
handle_subscription_cancel()
S
50 7 27
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
51 5 25
update_payment_credit_status_amount()
S
54 5 19
handle_payment()
S
59 5 12
log_callback_details()
S
56 3 19
send_notification_mail()
S
66 3 7
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
submission_to_collection_agency()
S
77 1 3