WC_Novalnet_Webhook D

Total Complexity 222
Dependencies 12
Dependents 0
Total lines 1,337
Lines of code 818
Logical lines of code 511
Comment lines 308
Methods 26
Properties 18

Methods 26

Method Rating Maintainability Complexity Lines of code
__construct()
D
30 32 117
handle_transaction_update()
D
29
30 122
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 38
handle_transaction_capture_cancel()
A
44 8 42
validate_event_data()
A
52 9 22
handle_instalment_cancel()
A
47 8 34
handle_subscription_update()
A
50 8 25
handle_chargeback()
A
54 8 19
handle_subscription_cancel()
S
50 7 27
handle_subscription_reactivate()
S
45 6 42
update_initial_payment()
S
52 6 25
validate_checksum()
S
55 6 19
authenticate_event_data()
S
56 6 18
handle_instalment()
S
51 5 25
update_payment_credit_status_amount()
S
55 5 18
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