WC_Retailcrm_Base D

Total Complexity 177
Dependencies 24
Dependents 11
Total lines 1,200
Lines of code 738
Logical lines of code 380
Comment lines 224
Methods 57
Properties 7

Methods 57

Method Rating Maintainability Complexity Lines of code
api_sanitized()
B
46 18 35
__construct()
A
33 10 102
generate_icml()
A
46 13 36
get_cron_info()
A
49 7 31
clear_cart()
S
54 6 22
getCustomFields()
S
60 6 12
set_cart()
S
53 5 23
uploadCatalog()
S
56 5 19
activate_integration()
S
56 5 18
initialize_whatsapp()
S
57 5 18
register_customer_loyalty()
S
55 5 18
getMetaData()
S
54 4 19
show_loyalty()
S
50 3 27
set_meta_fields()
S
49 2 34
send_analytics()
S
66 4 8
take_update_order()
S
64 4 10
activateModule()
S
66 4 8
activate_customer_loyalty()
S
59 3 14
create_customer()
S
62 3 12
include_js_scripts_for_admin()
S
57 2 16
update_order_loyalty()
S
69 3 7
getApiClient()
S
64 3 10
initialize_analytics()
S
67 3 8
initialize_daemon_collector()
S
66 3 8
initialize_online_assistant()
S
73 3 5
update_customer()
S
65 3 10
apply_coupon()
S
66 3 9
remove_coupon()
S
66 3 9
coupon_info()
S
65 3 10
getSubscribeCheckbox()
S
62 2 13
count_upload_data()
S
58 1 16
create_order()
S
75 2 5
clear_loyalty_coupon()
S
70 2 7
reviewCreditBonus()
S
72 2 6
refresh_loyalty_coupon()
S
69 2 7
update_order()
S
71 2 6
upload_to_crm()
S
65 2 9
trash_order_action()
S
73 2 5
getDefaultCrmOrderFields()
S
59 1 14
get_status_coupon()
S
62 1 13
getDefaultCrmCustomerFields()
S
60 1 13
subscribe_woocommerce_before_checkout_registration_form()
S
81 1 3
subscribe_register_form()
S
81 1 3
deactivate()
S
70 1 6
update_order_items()
S
81 1 3
subscribe_woocommerce_register_form()
S
81 1 3
add_loyalty_item()
S
75 1 4
clear_cron_tasks()
S
72 1 6
add_loyalty_endpoint()
S
80 1 3
upload_selected_orders()
S
82 1 3
retailcrm_history_get()
S
76 1 4
retailcrm_process_order()
S
81 1 3
load_stocks()
S
76 1 4
include_whatsapp_icon_style()
S
74 1 4
include_css_files_for_admin()
S
64 1 9
init_settings_fields()
S
78 1 4
include_files_for_admin()
S
78 1 4