Code Analysis: Live Sales Notifications for WooCommerce 2.2.7

Function Rating Maintainability Complexity Lines of code
Class_Pi_Sales_Notification_Product::tab_content()
B
32 12 149
pisol_sn_control_display::toShowHide()
A
51 16 27
Class_Pi_Sales_Notification_Product::search_product()
A
40 13 58
pisol_class_form_sn_v3_7::check_field_type()
A
47 13 39
pi_sn_selected_product::getProductsObj()
A
50 11 26
pisol_sn_common::formatProductObj()
A
50 11 25
pi_sn_recently_viewed_product::getProductsObj()
A
51 11 24
pisol_sales_notification_review::display_admin_notice()
A
43 9 45
pi_sn_selected_category::getProductsObj()
A
53 10 21
pisol_class_form_sn_v3_7::__construct()
A
36 4 90
pisol_sales_notification_review::savePreference()
A
51 8 24
pi_sn_ordered_products::getProductsObj()
A
54 8 21
Pisol_Sales_Notification_Public::inlineStyle()
A
37 3 95
Pisol_Sales_Notification_Public::popupRunnerGeneralSetting()
S
53 7 20
pisol_class_form_sn_v3_7::number_box()
S
57 7 13
Class_Pi_Sales_Notification_Text::__construct()
S
40 4 51
pisol_promotion::logic()
S
55 6 20
Class_Pi_Sales_Notification_Product::search_category()
S
49 5 31
pisol_class_form_sn_v3_7::multiselect_box()
S
55 6 15
Class_Pi_Sales_Notification_Design::__construct()
S
41 4 44
pisol_class_form_sn_v3_7::bootstrap()
S
52 5 25
pisol_class_form_sn_v3_7::media_selector_scripts()
S
48 3 54
Pisol_Sales_Notification_Public::popupsContent()
S
54 5 24
Pisol_Sales_Notification_Public::wc_track_product_view()
S
55 5 20
Class_Pi_Sales_Notification_Translate::tab_content()
S
47 3 49
Pisol_Sales_Notification_Public::popupPosition()
S
57 5 18
Class_Pi_Sales_Notification_Option::__construct()
S
46 4 32
pisol_class_form_sn_v3_7::select_box()
S
57 5 13
Class_Pi_Sales_Notification_Product::__construct()
S
49 4 27
Class_Pi_Sales_Notification_Control::__construct()
S
49 4 26
pisol_class_form_sn_v3_7::setting_category()
S
62 5 11
Pisol_Sales_Notification_Public::getSettings()
S
40 2 55
pisol_class_form_sn_v3_7::color_box()
S
55 4 17
Class_Pi_Sales_Notification_Translate::__construct()
S
57 4 16
pisol_promotion::getInstallationDate()
S
64 5 9
pisol_class_form_sn_v3_7::generateLinks()
S
61 5 10
pisol_class_form_sn_v3_7::bootstrap_switch_category()
S
60 4 14
Pi_Sales_Menu::menu_option_page()
S
50 2 44
pisol_class_form_sn_v3_7::textarea_box()
S
58 4 12
pisol_class_form_sn_v3_7::image()
S
52 3 22
pisol_sn_common::searchReplace()
S
55 3 17
pisol_sn_fake_order::setLocation()
S
69 4 6
pi_sn_selected_category::createMessage()
S
66 4 7
pi_sn_ordered_products::createMessage()
S
66 4 7
pi_sn_recently_viewed_product::createMessage()
S
66 4 7
pisol_class_form_sn_v3_7::text_box()
S
60 4 10
pi_sn_selected_product::createMessage()
S
66 4 7
pisol_class_form_sn_v3_7::hidden_box()
S
60 4 10
pi_sn_selected_category::getProducts()
S
60 3 14
pisol_sn_fake_order::getCustomLocation()
S
60 3 13
pisol_sales_notification_review::__construct()
S
60 3 12
pisol_sn_common::productLink()
S
63 3 11
Pi_Sales_Menu::promotion()
S
55 1 39
Class_Pi_Sales_Notification_Translate::getLanguages()
S
56 2 17
Pisol_Sales_Notification_Public::enqueue_scripts()
S
64 3 8
pisol_sales_notification_review::getInstallationDate()
S
65 3 9
pisol_sales_notification_review::validateDate()
S
71 3 5
Class_Pi_Sales_Notification_Control::tab_content()
S
63 2 15
Pi_Sales_Menu::removeConflictCausingScripts()
S
72 3 5
pisol_live_sales_free_conflict_fixer::removeConflictCausingScripts()
S
70 3 6
Pisol_Sales_Notification_Admin::plugin_redirect()
S
66 3 9
pisol_class_form_sn_v3_7::switch_display()
S
61 3 10
pisol_class_form_sn_v3_7::switch_category_display()
S
61 3 10
Pisol_Sales_Notification_Loader::run()
S
66 3 8
Class_Pi_Sales_Notification_Text::tab_content()
S
64 2 13
Class_Pi_Sales_Notification_Design::tab_content()
S
64 2 13
Class_Pi_Sales_Notification_Option::tab_content()
S
64 2 13
Pisol_Sales_Notification::__construct()
S
62 2 12
Class_Pi_Sales_Notification_Text::date_format()
S
54 1 24
pi_sn_selected_category::getProductFromCategory()
S
58 1 17
Class_Pi_Sales_Notification_Control::register_settings()
S
73 2 5
Class_Pi_Sales_Notification_Product::register_settings()
S
73 2 5
woocommerce_version_check()
S
69 2 7
Class_Pi_Sales_Notification_Translate::tab()
S
67 2 7
Class_Pi_Sales_Notification_Design::register_settings()
S
73 2 5
Class_Pi_Sales_Notification_Option::delete_settings()
S
74 2 5
pisol_sn_fake_order::getCustomFirstNames()
S
64 2 10
Class_Pi_Sales_Notification_Design::creatingArray()
S
70 2 7
Class_Pi_Sales_Notification_Text::delete_settings()
S
74 2 5
Class_Pi_Sales_Notification_Control::tab()
S
67 2 7
Class_Pi_Sales_Notification_Translate::delete_settings()
S
74 2 5
pisol_sn_common::getMessage()
S
67 2 8
Class_Pi_Sales_Notification_Translate::register_settings()
S
73 2 5
Class_Pi_Sales_Notification_Option::register_settings()
S
73 2 5
Class_Pi_Sales_Notification_Design::tab()
S
67 2 7
Class_Pi_Sales_Notification_Option::tab()
S
67 2 7
pi_sn_selected_category::getSelectedCategories()
S
75 2 4
Class_Pi_Sales_Notification_Text::register_settings()
S
73 2 5
Class_Pi_Sales_Notification_Text::tab()
S
67 2 7
Class_Pi_Sales_Notification_Design::delete_settings()
S
74 2 5
pisol_promotion::isWeekEnd()
S
68 2 7
Class_Pi_Sales_Notification_Product::delete_settings()
S
74 2 5
Class_Pi_Sales_Notification_Control::delete_settings()
S
74 2 5
Class_Pi_Sales_Notification_Product::tab()
S
67 2 7
Pi_Sales_Menu::plugin_menu()
S
62 1 12
pisol_sn_control_display::__construct()
S
62 1 11
pi_sn_ordered_products::__construct()
S
62 1 11
pi_sn_selected_category::getPopups()
S
83 1 3
Pisol_Sales_Notification::define_admin_hooks()
S
72 1 5
Pisol_Sales_Notification::set_locale()
S
75 1 4
pisol_sn_fake_order::setFirstName()
S
77 1 4
Pisol_Sales_Notification_Admin::enqueue_scripts()
S
91 1 2
Pisol_Sales_Notification::define_public_hooks()
S
72 1 5
pi_sn_ordered_products::getOrders()
S
64 1 10
Pisol_Sales_Notification_Admin::__construct()
S
70 1 6
Pisol_Sales_Notification_Loader::add_action()
S
77 1 3
Pisol_Sales_Notification_Public::enqueue_styles()
S
71 1 5
pisol_sn_fake_order::get_billing_state()
S
82 1 3
pisol_sn_fake_order::__construct()
S
76 1 5
pisol_promotion::daysPassed()
S
67 1 8
pisol_live_sales_free_conflict_fixer::__construct()
S
79 1 3
Pisol_Sales_Notification_Activator::activate()
S
79 1 3
pisol_sn_fake_order::get_billing_country()
S
82 1 3
Pisol_Sales_Notification_i18n::load_plugin_textdomain()
S
69 1 7
pisol_lsnw_plugin_link()
S
67 1 7
deactivate_pisol_sales_notification()
S
76 1 4
Pisol_Sales_Notification::load_dependencies()
S
66 1 8
pisol_sn_common::getLanguageMessage()
S
81 1 3
Pi_Sales_Menu::__construct()
S
67 1 7
pisol_sn_fake_order::get_date_created()
S
76 1 4
pi_sn_selected_product::getPopups()
S
83 1 3
pi_sn_selected_category::__construct()
S
70 1 6
Pisol_Sales_Notification_Loader::add_filter()
S
77 1 3
Pisol_Sales_Notification_Public::audio_url()
S
76 1 4
Pisol_Sales_Notification_Loader::__construct()
S
77 1 4
Pisol_Sales_Notification_Admin::enqueue_styles()
S
91 1 2
pi_sales_notification_my_pro_notice()
S
72 1 7
activate_pisol_sales_notification()
S
76 1 4
pisol_promotion::__construct()
S
77 1 4
pi_sn_selected_product::__construct()
S
70 1 6
Pisol_Sales_Notification_Public::getOrders()
S
74 1 5
Pi_Sales_Menu::isWeekend()
S
78 1 3
pisol_promotion::add()
S
83 1 3
pisol_sn_fake_order::setTime()
S
64 1 9
Pisol_Sales_Notification::get_version()
S
82 1 3
pi_sales_notification_my_error_notice()
S
72 1 7
Pisol_Sales_Notification::get_loader()
S
82 1 3
Pisol_Sales_Notification_Deactivator::deactivate()
S
89 1 2
pisol_sn_fake_order::get_billing_first_name()
S
82 1 3
pisol_sn_fake_order::get_billing_city()
S
82 1 3
pisol_sn_common::getOptions()
S
76 1 4
run_pisol_sales_notification()
S
77 1 4
Class_Pi_Sales_Notification_Text::time_format()
S
66 1 9
Pisol_Sales_Notification::get_plugin_name()
S
82 1 3
Pisol_Sales_Notification_Loader::add()
S
64 1 10
Pi_Sales_Menu::bootstrap_style()
S
61 1 10
Pisol_Sales_Notification_Public::__construct()
S
65 1 9
pi_sn_ordered_products::getPopups()
S
83 1 3
Pisol_Sales_Notification::run()
S
82 1 3
pisol_sn_common::getTitle()
S
80 1 3
pi_sn_recently_viewed_product::__construct()
S
70 1 6
pi_sn_recently_viewed_product::getPopups()
S
83 1 3