WC_Novalnet_Webhook D

Total Complexity 220
Dependencies 13
Dependents 0
Total lines 1,306
Lines of code 794
Logical lines of code 514
Comment lines 305
Methods 26
Properties 18

Methods 26

Method Rating Maintainability Complexity Lines of code
__construct()
D
29 33 120
handle_transaction_update()
D
29
30 122
handle_renewal()
C
33 26 80
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 44
handle_subscription_update()
A
52 8 20
handle_chargeback()
A
54 8 19
handle_subscription_cancel()
S
50 7 27
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
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