WC_Novalnet_Webhook D

Total Complexity 195
Dependencies 13
Dependents 0
Total lines 1,259
Lines of code 758
Logical lines of code 485
Comment lines 282
Methods 25
Properties 16

Methods 25

Method Rating Maintainability Complexity Lines of code
__construct()
D
30 30 120
handle_transaction_update()
C
29 26 122
handle_renewal()
B
36 19 66
get_order_reference()
A
45 15 41
handle_transaction_refund()
A
45 10 38
handle_credit()
A
46 10 35
validate_event_data()
A
50 10 25
handle_transaction_capture_cancel()
A
44 8 42
handle_subscription_reactivate()
A
44 7 43
handle_chargeback()
A
54 8 19
handle_subscription_cancel()
S
50 7 27
handle_subscription_update()
S
54 7 17
authenticate_event_data()
S
56 6 18
handle_instalment()
S
51 5 25
handle_instalment_cancel()
S
53 5 20
update_initial_payment()
S
55 5 19
validate_checksum()
S
57 5 16
log_callback_details()
S
56 3 19
get_post_id()
S
65 3 10
update_recurring_order_amount()
S
59 1 14
submission_to_collection_agency()
S
77 1 3
handle_subscription_suspend()
S
62 1 10
display_message()
S
80 1 3
send_notification_mail()
S
78 1 3
handle_payment_reminder()
S
77 1 3