Code Analysis: Live Sales Notifications - WooCommerce & Easy Digital Download Sales Notification 1.0.1

Function Rating Maintainability Complexity Lines of code
Live_Sales_Notifications_Compatibility_WooCommerce::get_product()
D
6
89 459
Live_Sales_Notifications_Mobile_Detection::mobileGrade()
D
32 77 55
Live_Sales_Notifications_Compatibility_EDD::get_product()
D
17
47 289
Live_Sales_Notifications_Notify::init_scripts()
D
26
35 141
Live_Sales_Notifications_Notify::message_purchased()
B
33 17 99
Live_Sales_Notifications_Notify::wp_footer()
A
49 12 30
live_sales_notifications_time_subsctract()
A
46 11 41
Live_Sales_Notifications_Compatibility_WooCommerce::search_product()
A
43 10 48
Live_Sales_Notifications::compatibility()
A
50 8 31
Live_Sales_Notifications_Notify::track_product_view()
A
51 8 26
Live_Sales_Notifications_Admin_Settings::setting_page()
A
44 6 53
Live_Sales_Notifications_Mobile_Detection::version()
A
53 8 21
Live_Sales_Notifications_Autoloader::autoload()
A
54 8 20
Live_Sales_Notifications_Notify::show_product()
A
48 7 34
Live_Sales_Notifications_Admin_Actions::save()
S
49 7 29
Live_Sales_Notifications::is_request()
S
61 8 12
Live_Sales_Notifications_Mobile_Detection::isMobile()
S
55 7 20
Live_Sales_Notifications_Compatibility_WooCommerce::product_query()
S
48 6 33
Live_Sales_Notifications_Admin::admin_enqueue_scripts()
S
44 5 44
Live_Sales_Notifications_Compatibility_WooCommerce::get_orders_by_product()
S
46 5 41
Live_Sales_Notifications_Mobile_Detection::setUserAgent()
S
55 6 20
Live_Sales_Notifications_Mobile_Detection::checkHttpHeadersForMobile()
S
57 6 17
Live_Sales_Notifications_Admin_Actions::search_cate()
S
50 5 31
Live_Sales_Notifications_Mobile_Detection::isTablet()
S
58 6 15
Live_Sales_Notifications_Compatibility_EDD::search_product()
S
50 5 30
Live_Sales_Notifications_Options::__construct()
S
39 2 69
Live_Sales_Notifications_Mobile_Detection::setCfHeaders()
S
58 5 14
Live_Sales_Notifications_Mobile_Detection::setHttpHeaders()
S
61 5 12
Live_Sales_Notifications_Compatibility_EDD::product_query()
S
53 4 24
Live_Sales_Notifications_Options::get_storewise_options()
S
58 4 16
Live_Sales_Notifications_Notify::get_cities()
S
59 4 15
Live_Sales_Notifications_Notify::get_names()
S
60 4 14
Live_Sales_Notifications_Mobile_Detection::getHttpHeader()
S
60 4 13
Live_Sales_Notifications_Mobile_Detection::matchUAAgainstKey()
S
61 4 13
Live_Sales_Notifications_Admin_Settings::get_audios()
S
61 4 12
Live_Sales_Notifications_Notify::__construct()
S
61 4 11
Live_Sales_Notifications_Mobile_Detection::matchDetectionRulesAgainstUA()
S
63 4 11
Live_Sales_Notifications_Notify::product_html()
S
64 4 10
Live_Sales_Notifications_Mobile_Detection::setDetectionType()
S
66 4 9
live_sales_notifications_get_field()
S
60 3 14
Live_Sales_Notifications_Options::get_params()
S
62 3 12
Live_Sales_Notifications::includes()
S
63 3 11
live_sales_notifications_set_field()
S
65 3 11
live_sales_notifications_get_language()
S
64 3 10
Live_Sales_Notifications_Autoloader::load_file()
S
69 3 7
Live_Sales_Notifications_Mobile_Detection::is()
S
65 3 10
Live_Sales_Notifications_Mobile_Detection::match()
S
65 3 8
Live_Sales_Notifications::load_options()
S
68 3 7
Live_Sales_Notifications::install()
S
70 3 6
Live_Sales_Notifications::load_plugin_textdomain()
S
66 3 7
Live_Sales_Notifications_Mobile_Detection::getMobileDetectionRulesExtended()
S
63 2 13
Live_Sales_Notifications_Mobile_Detection::getMobileDetectionRules()
S
64 2 12
Live_Sales_Notifications_Compatibility_WooCommerce::version_check()
S
67 2 8
Live_Sales_Notifications_Mobile_Detection::getRules()
S
70 2 7
Live_Sales_Notifications_Mobile_Detection::__call()
S
66 2 8
Live_Sales_Notifications_Mobile_Detection::prepareVersionNo()
S
65 2 8
Live_Sales_Notifications_Admin_Settings::stripslashes_deep()
S
74 2 4
Live_Sales_Notifications::instance()
S
72 2 6
Live_Sales_Notifications_Options::is_store_specific_key()
S
69 2 7
Live_Sales_Notifications::define()
S
75 2 5
Live_Sales_Notifications_Autoloader::__construct()
S
68 2 7
live_sales_notifications_wpversion()
S
68 2 8
Live_Sales_Notifications::plugin_row_meta()
S
61 2 10
Live_Sales_Notifications_Compatibility_WooCommerce::order_completed()
S
67 2 7
Live_Sales_Notifications_Compatibility_EDD::get_product_by_id()
S
65 2 9
Live_Sales_Notifications_Admin_Actions::stripslashes_deep()
S
74 2 4
Live_Sales_Notifications_Admin_Settings::setting_tabs()
S
62 1 11
Live_Sales_Notifications_Compatibility::version_check()
S
100 1 0
Live_Sales_Notifications_Mobile_Detection::getUaHttpHeaders()
S
81 1 3
Live_Sales_Notifications_Admin_Actions::__construct()
S
72 1 5
Live_Sales_Notifications_Mobile_Detection::getMatchingRegex()
S
82 1 3
Live_Sales_Notifications_Options::enable_mobile()
S
79 1 3
Live_Sales_Notifications_Autoloader::get_file_name_from_class()
S
78 1 3
Live_Sales_Notifications_Mobile_Detection::getMatchesArray()
S
82 1 3
Live_Sales_Notifications_Options::get_border_radius()
S
79 1 3
Live_Sales_Notifications_Admin_Settings::set_nonce()
S
79 1 3
Live_Sales_Notifications_Options::get_max_number()
S
79 1 3
Live_Sales_Notifications_Mobile_Detection::getTabletDevices()
S
80 1 3
Live_Sales_Notifications_Options::show_product_option()
S
79 1 3
Live_Sales_Notifications_Options::show_close_icon()
S
79 1 3
Live_Sales_Notifications_Options::image_redirect()
S
79 1 3
Live_Sales_Notifications_Options::image_redirect_target()
S
79 1 3
Live_Sales_Notifications_Options::get_display_effect()
S
79 1 3
Live_Sales_Notifications_Options::get_hidden_effect()
S
79 1 3
Live_Sales_Notifications_Mobile_Detection::getUtilities()
S
80 1 3
Live_Sales_Notifications_Compatibility_WooCommerce::get_product_by_id()
S
71 1 6
Live_Sales_Notifications_Mobile_Detection::__construct()
S
77 1 4
Live_Sales_Notifications_Mobile_Detection::getScriptVersion()
S
80 1 3
Live_Sales_Notifications_Options::get_custom_css()
S
79 1 3
Live_Sales_Notifications_Options::get_message_purchased()
S
79 1 3
Live_Sales_Notifications_Compatibility_WooCommerce::is_product()
S
81 1 3
Live_Sales_Notifications_Options::get_cate_exclude_products()
S
79 1 3
Live_Sales_Notifications_Options::get_limit_product()
S
79 1 3
Live_Sales_Notifications_Options::get_exclude_products()
S
79 1 3
Live_Sales_Notifications_Options::get_order_threshold_num()
S
79 1 3
Live_Sales_Notifications_Options::get_order_threshold_time()
S
79 1 3
Live_Sales_Notifications_Options::get_order_statuses()
S
79 1 3
Live_Sales_Notifications_Options::get_products()
S
79 1 3
Live_Sales_Notifications_Options::country()
S
79 1 3
Live_Sales_Notifications_Options::get_virtual_name()
S
79 1 3
Live_Sales_Notifications_Options::get_virtual_time()
S
79 1 3
Live_Sales_Notifications_Options::get_virtual_city()
S
79 1 3
Live_Sales_Notifications_Options::get_virtual_country()
S
79 1 3
Live_Sales_Notifications_Options::get_product_sizes()
S
79 1 3
Live_Sales_Notifications_Options::non_ajax()
S
79 1 3
Live_Sales_Notifications_Options::enable_single_product()
S
79 1 3
Live_Sales_Notifications_Options::enable_out_of_stock_product()
S
79 1 3
Live_Sales_Notifications_Options::get_notification_product_show_type()
S
79 1 3
Live_Sales_Notifications_Options::show_variation()
S
79 1 3
Live_Sales_Notifications_Options::loop()
S
79 1 3
Live_Sales_Notifications_Mobile_Detection::getBrowsers()
S
80 1 3
Live_Sales_Notifications_Options::get_background_color()
S
79 1 3
Live_Sales_Notifications_Admin::menu_page()
S
66 1 9
Live_Sales_Notifications_Options::get_next_time()
S
79 1 3
Live_Sales_Notifications_Compatibility_WooCommerce::get_all_order_status()
S
82 1 3
Live_Sales_Notifications_Mobile_Detection::getHttpHeaders()
S
82 1 3
Live_Sales_Notifications_Options::get_audio()
S
79 1 3
Live_Sales_Notifications_Options::is_home()
S
79 1 3
Live_Sales_Notifications_Mobile_Detection::getCfHeaders()
S
82 1 3
Live_Sales_Notifications::plugin_url()
S
79 1 3
Live_Sales_Notifications_Options::audio_enable()
S
79 1 3
Live_Sales_Notifications_Options::get_product_color()
S
79 1 3
Live_Sales_Notifications::__clone()
S
78 1 3
Live_Sales_Notifications_Mobile_Detection::getUserAgents()
S
80 1 3
Live_Sales_Notifications_Compatibility::is_product()
S
100 1 0
Live_Sales_Notifications_Options::initial_delay_random()
S
79 1 3
Live_Sales_Notifications_Options::get_initial_delay()
S
79 1 3
Live_Sales_Notifications::__construct()
S
74 1 5
Live_Sales_Notifications_Options::get_initial_delay_min()
S
79 1 3
Live_Sales_Notifications_Options::get_notification_per_page()
S
79 1 3
Live_Sales_Notifications_Options::get_display_time()
S
79 1 3
Live_Sales_Notifications_Options::enable_rtl()
S
81 1 3
Live_Sales_Notifications::__wakeup()
S
78 1 3
Live_Sales_Notifications_Options::get_categories()
S
79 1 3
Live_Sales_Notifications_Options::enable()
S
79 1 3
Live_Sales_Notifications_Options::get_store_type()
S
79 1 3
Live_Sales_Notifications_Mobile_Detection::prepareUserAgent()
S
73 1 5
Live_Sales_Notifications_Options::get_min_number()
S
79 1 3
Live_Sales_Notifications_Mobile_Detection::getProperties()
S
80 1 3
Live_Sales_Notifications_Options::get_position()
S
79 1 3
Live_Sales_Notifications_Options::product_link()
S
79 1 3
Live_Sales_Notifications_Options::is_cart()
S
79 1 3
Live_Sales_Notifications_Compatibility::__construct()
S
91 1 2
Live_Sales_Notifications_Compatibility_EDD::is_product()
S
82 1 3
Live_Sales_Notifications_Compatibility_EDD::get_all_order_status()
S
68 1 7
Live_Sales_Notifications::init_hooks()
S
70 1 6
Live_Sales_Notifications::frontend_includes()
S
80 1 3
Live_Sales_Notifications_Mobile_Detection::getOperatingSystems()
S
80 1 3
Live_Sales_Notifications_Options::is_checkout()
S
79 1 3
Live_Sales_Notifications_Options::get_geo_api()
S
79 1 3
Live_Sales_Notifications_Options::get_custom_shortcode()
S
79 1 3
Live_Sales_Notifications_Compatibility::search_product()
S
100 1 0
live_sales_notifications_instance()
S
82 1 3
Live_Sales_Notifications::define_constants()
S
69 1 6
Live_Sales_Notifications_Compatibility_EDD::order_completed()
S
100 1 2
Live_Sales_Notifications_Compatibility_WooCommerce::__construct()
S
72 1 5
Live_Sales_Notifications_Mobile_Detection::getUserAgent()
S
82 1 3
Live_Sales_Notifications_Compatibility::get_product()
S
100 1 0
Live_Sales_Notifications_Admin_Actions::search_product()
S
74 1 5
Live_Sales_Notifications_Compatibility::get_all_order_status()
S
100 1 0
Live_Sales_Notifications_Options::get_time_close()
S
79 1 3
Live_Sales_Notifications_Mobile_Detection::getMobileHeaders()
S
81 1 3
live_sales_notifications_prefix()
S
74 1 4
Live_Sales_Notifications_Admin::__construct()
S
72 1 5
live_sales_notifications_store_type()
S
68 1 7
Live_Sales_Notifications_Notify::get_custom_shortcode()
S
66 1 8
Live_Sales_Notifications_Options::get_background_image()
S
79 1 3
Live_Sales_Notifications_Admin::includes()
S
77 1 4
Live_Sales_Notifications::plugin_path()
S
80 1 3
Live_Sales_Notifications_Mobile_Detection::getPhoneDevices()
S
80 1 3
Live_Sales_Notifications_Notify::get_product()
S
73 1 5
Live_Sales_Notifications_Options::get_image_position()
S
79 1 3
Live_Sales_Notifications_Compatibility_EDD::__construct()
S
72 1 5
Live_Sales_Notifications_Compatibility_EDD::version_check()
S
82 1 3
Live_Sales_Notifications_Options::get_text_color()
S
79 1 3
Live_Sales_Notifications_Notify::init()
S
76 1 4