Code Analysis: Free shipping notification WooCommerce 2.0.14

Function Rating Maintainability Complexity Lines of code
pisl_fsnw_message::getMessageText()
B
44 20 40
pisol_fsnw_shippingzone::getUserSelectedClass()
A
46 12 37
pisol_class_form_fsnw::check_field_type()
A
48 12 36
pisol_fsnw_shippingzone::getFreeShippingMinimum()
A
51 11 23
pisol_fsnw_shippingzone::minAmountAndCoupon()
S
55 7 19
pisol_class_form_fsnw::number_box()
S
58 7 12
pisol_promotion::logic()
S
55 6 20
pisol_class_form_fsnw::multiselect_box()
S
57 6 14
pisl_fsnw_message::inlineJs()
S
51 5 26
pisol_class_form_fsnw::media_selector_scripts()
S
48 3 54
pisol_fsnw_shippingzone::ignoreDiscounts()
S
58 5 15
pisol_class_form_fsnw::select_box()
S
58 5 12
pisl_fsnw_message::loadBarOnPage()
S
62 5 11
pisol_class_form_fsnw::setting_category()
S
63 5 11
Class_Pi_Fsnw_Control::__construct()
S
50 4 24
pisol_class_form_fsnw::__construct()
S
57 4 18
Pisol_fsnw_Option::initialize()
S
45 3 33
pisol_class_form_fsnw::color_box()
S
56 4 16
pisol_promotion::getInstallationDate()
S
64 5 9
Pisol_fsnw_Option::getShippingZones()
S
59 4 15
Pisol_fsnw_Design::getShippingZones()
S
59 4 15
Pisol_Fsnw_Admin::__construct()
S
60 4 13
Pisol_fsnw_Design::__construct()
S
59 4 13
pisl_fsnw_message::getCartTotal()
S
61 4 12
pisol_class_form_fsnw::textarea_box()
S
60 4 11
Pisol_fsnw_Message::initialize()
S
50 3 23
pisol_class_form_fsnw::bootstrap()
S
56 3 23
pisol_class_form_fsnw::image()
S
53 3 21
pisl_fsnw_message::inlineCss()
S
45 1 46
pisol_class_form_fsnw::hidden_box()
S
62 4 9
pisl_fsnw_message::ajaxResponse()
S
58 3 15
pisl_fsnw_message::messageTemplate()
S
58 3 15
Pi_fsnw_Menu::promotion()
S
53 1 45
pisol_class_form_fsnw::text_box()
S
62 4 9
Pi_fsnw_Menu::menu_option_page()
S
52 1 42
Pisol_fsnw_Popup::__construct()
S
63 3 9
Pisol_fsnw_Popup::initialize()
S
56 2 15
Class_Pi_Fsnw_Control::tab_content()
S
63 2 15
pisl_fsnw_message::missingAmount()
S
66 3 9
Pisol_fsnw_Message::__construct()
S
62 3 10
pisol_fsnw_shippingzone::checkDefaultShippingZone()
S
68 3 7
Pisol_Fsnw_Admin::plugin_redirect()
S
66 3 9
Pisol_Fsnw_Loader::run()
S
66 3 8
pisol_fsnw_free_conflict_fixer::removeConflictCausingScripts()
S
70 3 6
Pisol_fsnw_Option::__construct()
S
62 3 10
pisol_class_form_fsnw::switch_display()
S
63 3 9
Pisol_fsnw_Popup::tab_content()
S
64 2 13
Pisol_fsnw_Design::tab_content()
S
64 2 13
Pisol_fsnw_Message::tab_content()
S
64 2 13
Pisol_fsnw_Option::tab_content()
S
64 2 13
Pisol_Fsnw::__construct()
S
62 2 12
pi_fsnw_compatibility_message()
S
67 2 11
pisl_fsnw_message::__construct()
S
62 2 11
Pisol_fsnw_Design::initialize()
S
48 1 25
Pisol_fsnw_Design::checkFreeShippingAvailable()
S
63 2 10
Class_Pi_Fsnw_Control::tab()
S
67 2 7
Pisol_fsnw_Option::checkFreeShippingAvailable()
S
63 2 10
Class_Pi_Fsnw_Control::register_settings()
S
73 2 5
Pisol_fsnw_Design::delete_settings()
S
74 2 5
pisl_fsnw_message::searchReplace()
S
66 2 8
Pisol_fsnw_Popup::delete_settings()
S
74 2 5
Pisol_fsnw_Design::register_settings()
S
73 2 5
pisol_promotion::isWeekEnd()
S
68 2 7
pisol_fsnw_shippingzone::__construct()
S
66 2 8
Pisol_fsnw_Option::register_settings()
S
73 2 5
pisl_fsnw_message::round()
S
70 2 6
pisol_fsnw_shippingzone::getDefaultShippingZone()
S
76 2 4
Pisol_fsnw_Popup::register_settings()
S
73 2 5
Pisol_fsnw_Popup::tab()
S
67 2 7
Pisol_fsnw_Design::tab()
S
67 2 7
Class_Pi_Fsnw_Control::delete_settings()
S
74 2 5
Pisol_fsnw_Message::delete_settings()
S
74 2 5
pisol_fsnw_shippingzone::checkFreeShippingAvailable()
S
63 2 10
Pisol_fsnw_Message::register_settings()
S
73 2 5
Pisol_fsnw_Message::tab()
S
67 2 7
Pisol_fsnw_Option::delete_settings()
S
74 2 5
Pisol_fsnw_Option::tab()
S
67 2 7
Pi_fsnw_Menu::plugin_menu()
S
62 1 12
pisl_fsnw_message::createMessage()
S
63 1 11
Pi_fsnw_Menu::isWeekend()
S
78 1 3
pisol_fsnw_shippingzone::getFreeShippingClass()
S
82 1 3
activate_pisol_fsnw()
S
76 1 4
pisol_promotion::__construct()
S
77 1 4
Pisol_Fsnw_i18n::load_plugin_textdomain()
S
69 1 7
pisol_fsnw_plugin_link()
S
65 1 8
pisol_fsnw_free_conflict_fixer::__construct()
S
79 1 3
pi_pisol_pro_error_notice()
S
72 1 7
Pisol_Fsnw_Admin::enqueue_scripts()
S
91 1 2
Pisol_Fsnw_Loader::add_action()
S
77 1 3
run_pisol_fsnw()
S
77 1 4
deactivate_pisol_fsnw()
S
76 1 4
Pisol_Fsnw::define_public_hooks()
S
72 1 5
Pisol_Fsnw_Activator::activate()
S
79 1 3
Pisol_Fsnw_Admin::enqueue_styles()
S
77 1 3
Pisol_Fsnw_Loader::add_filter()
S
77 1 3
Pi_fsnw_Menu::__construct()
S
70 1 6
Pisol_Fsnw::set_locale()
S
75 1 4
Pisol_Fsnw::get_loader()
S
82 1 3
Pisol_Fsnw::run()
S
82 1 3
Pisol_Fsnw_Public::enqueue_scripts()
S
91 1 2
pi_fsnw_free_woocommerce_error_notice()
S
72 1 7
Pi_fsnw_Menu::bootstrap_style()
S
68 1 6
Pisol_Fsnw::load_dependencies()
S
66 1 8
Pisol_Fsnw_Deactivator::deactivate()
S
89 1 2
Pisol_Fsnw::define_admin_hooks()
S
72 1 5
Pisol_Fsnw_Loader::add()
S
64 1 10
Pisol_Fsnw::get_version()
S
82 1 3
Pisol_Fsnw_Public::enqueue_styles()
S
77 1 3
Pisol_Fsnw_Public::startPlugin()
S
83 1 3
pisol_promotion::daysPassed()
S
67 1 8
pisol_promotion::add()
S
83 1 3
Pisol_Fsnw::get_plugin_name()
S
82 1 3
Pisol_Fsnw_Public::__construct()
S
70 1 6
Pisol_Fsnw_Loader::__construct()
S
77 1 4
pisl_fsnw_message::initializeFunction()
S
69 1 7