Code Analysis: Better Analytics & Insights 1.0.0

Function Rating Maintainability Complexity Lines of code
Ecomfit_Loader::run()
A
51 17 24
Ecomfit_Product::get()
A
39 12 64
Ecomfit_Analytics_Admin::save_post()
A
47 13 38
Ecomfit_Analytics_Admin::app_page()
A
47 12 33
Ecomfit_Analytics_Public::get_cart()
A
44 8 47
Ecomfit_Analytics_Public::check_prerequisites()
A
50 8 27
Ecomfit_Order::get()
S
45 6 40
Ecomfit_Order::gets()
S
47 5 38
Ecomfit_Analytics_Admin::save_product_variation()
S
56 5 19
Ecomfit_Api::send_request()
S
48 4 32
Ecomfit_Analytics_Public::get_orders()
S
63 6 10
Ecomfit_Analytics_Public::cart_token()
S
59 5 12
Ecomfit_Analytics::define_public_hooks()
S
58 4 14
Ecomfit_Analytics_Admin::delete_product_variation()
S
61 4 13
Ecomfit_Analytics::define_admin_hooks()
S
60 4 12
Ecomfit_Analytics::woocommerce_active()
S
62 4 11
Ecomfit_Analytics_Admin::woocommerce_active()
S
62 4 11
Ecomfit_Analytics_Public::get_product()
S
65 4 9
Ecomfit_Analytics_Public::get_products()
S
63 4 10
Ecomfit_Analytics_Public::get_order()
S
65 4 9
Ecomfit_Analytics_Admin::app_menu()
S
56 2 21
Ecomfit_Product::gets()
S
59 2 15
Ecomfit_Analytics_Deactivator::deactivate()
S
63 3 10
Ecomfit_Analytics::__construct()
S
61 2 13
Ecomfit_Analytics_Admin::__construct()
S
62 2 12
Ecomfit_Analytics_Public::register_router_api()
S
55 1 22
Ecomfit_Analytics_Public::ecf_sw_output()
S
66 2 8
Ecomfit_Analytics_Public::cart_item_removed()
S
72 2 6
Ecomfit_Analytics_Public::ecf_sdk_script()
S
64 1 12
Ecomfit_Loader::add()
S
63 1 11
Ecomfit_Analytics_Public::__construct()
S
71 1 6
deactivate_ecomfit_analytics()
S
76 1 4
Ecomfit_Api::post()
S
78 1 3
Ecomfit_Loader::add_action()
S
77 1 3
Ecomfit_Api::put()
S
78 1 3
Ecomfit_Api::delete()
S
78 1 3
run_ecomfit_analytics()
S
77 1 4
Ecomfit_Analytics_Public::enqueue_styles()
S
77 1 3
Ecomfit_Api::__construct()
S
77 1 4
Ecomfit_Loader::__construct()
S
77 1 4
activate_ecomfit_analytics()
S
76 1 4
Ecomfit_Analytics::run()
S
82 1 3
Ecomfit_Analytics::get_version()
S
82 1 3
Ecomfit_Analytics_Public::load_dependencies()
S
63 1 10
Ecomfit_Analytics_Admin::enqueue_scripts()
S
77 1 3
Ecomfit_Analytics_Public::order_update_cart_token()
S
70 1 6
Ecomfit_Analytics::get_web_id()
S
82 1 3
Ecomfit_Analytics_Public::enqueue_scripts()
S
77 1 3
Ecomfit_Analytics::get_loader()
S
82 1 3
Ecomfit_Analytics_Public::ecf_sw_query_filter()
S
71 1 6
Ecomfit_Analytics_Public::destroy_cart_token()
S
71 1 5
Ecomfit_i18n::load_plugin_textdomain()
S
69 1 7
Ecomfit_Analytics::set_locale()
S
75 1 4
Ecomfit_Analytics::load_dependencies()
S
68 1 7
Ecomfit_Analytics::get_ecomfit_analytics()
S
82 1 3
Ecomfit_Loader::add_filter()
S
77 1 3
Ecomfit_Analytics_Activator::activate()
S
79 1 3
Ecomfit_Api::get()
S
79 1 3
Ecomfit_Analytics_Admin::load_dependencies()
S
63 1 10
Ecomfit_Analytics_Public::ecf_sw_rewrites()
S
66 1 8
Ecomfit_Analytics_Public::add_to_cart()
S
81 1 3
Ecomfit_Analytics_Admin::enqueue_styles()
S
77 1 3