WC_Retailcrm_Base D

Total Complexity 187
Dependencies 25
Dependents 12
Total lines 1,344
Lines of code 853
Logical lines of code 439
Comment lines 224
Methods 58
Properties 7

Methods 58

Method Rating Maintainability Complexity Lines of code
api_sanitized()
B
40 24 55
__construct()
A
32 10 105
generate_icml()
A
46 13 37
get_cron_info()
A
46 9 37
clear_cart()
S
49 6 35
set_cart()
S
48 5 36
getCustomFields()
S
60 6 12
uploadCatalog()
S
53 5 24
register_customer_loyalty()
S
53 5 22
activate_integration()
S
56 5 18
initialize_whatsapp()
S
57 5 18
getMetaData()
S
54 4 19
take_update_order()
S
59 4 15
show_loyalty()
S
49 3 28
set_meta_fields()
S
48 2 35
activate_customer_loyalty()
S
57 3 17
coupon_info()
S
57 3 16
send_analytics()
S
66 4 8
activateModule()
S
66 4 8
create_customer()
S
60 3 13
update_customer()
S
62 3 12
include_js_scripts_for_admin()
S
57 2 16
remove_coupon()
S
64 3 10
update_order_loyalty()
S
67 3 8
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
apply_coupon()
S
64 3 10
getSubscribeCheckbox()
S
62 2 13
count_upload_data()
S
58 1 16
create_order()
S
66 2 9
upload_loyalty_price()
S
69 2 7
update_order()
S
67 2 8
reviewCreditBonus()
S
70 2 7
clear_loyalty_coupon()
S
67 2 8
upload_to_crm()
S
64 2 10
trash_order_action()
S
70 2 6
refresh_loyalty_coupon()
S
67 2 8
getDefaultCrmOrderFields()
S
59 1 14
getDefaultCrmCustomerFields()
S
60 1 13
get_status_coupon()
S
62 1 13
subscribe_woocommerce_before_checkout_registration_form()
S
81 1 3
update_order_items()
S
76 1 4
subscribe_register_form()
S
81 1 3
deactivate()
S
68 1 7
subscribe_woocommerce_register_form()
S
81 1 3
add_loyalty_item()
S
72 1 5
clear_cron_tasks()
S
68 1 8
add_loyalty_endpoint()
S
80 1 3
init_settings_fields()
S
74 1 5
retailcrm_history_get()
S
73 1 5
retailcrm_process_order()
S
76 1 4
include_whatsapp_icon_style()
S
74 1 4
include_css_files_for_admin()
S
64 1 9
upload_selected_orders()
S
77 1 4
load_stocks()
S
73 1 5
include_files_for_admin()
S
78 1 4