Code Analysis: Order & Sales Popups For WooCommerce 1.0

Function Rating Maintainability Complexity Lines of code
pixel_ospfw_main::get_recent_orders_data()
B
32 19 103
pixel_ospfw_main::handle_new_order()
B
36 19 78
pixel_ospfw_validate_plugin_settings()
A
49 14 26
pixel_ospfw_main::enqueue_assets()
A
43 8 44
pixel_ospfw_main::activate()
S
49 4 30
pixel_ospfw_register_plugin_settings()
S
43 1 65
pixel_ospfw_render_settings_page()
S
49 2 40
pixel_ospfw_popup_style_field_callback()
S
54 3 20
pixel_ospfw_popup_link_target_field_callback()
S
55 3 19
pixel_ospfw_get_country_emoji()
S
60 3 12
pixel_ospfw_fs()
S
53 2 23
pixel_ospfw_main::ajax_get_recent_orders()
S
65 3 8
pixel_ospfw_enqueue_settings_menu_assets()
S
62 2 13
pixel_ospfw_create_admin_menu()
S
58 1 19
pixel_ospfw_main::check_woocommerce_active()
S
65 2 10
pixel_ospfw_main::instance()
S
71 2 6
pixel_ospfw_display_duration_field_callback()
S
68 2 6
pixel_ospfw_enable_popups_field_callback()
S
68 2 6
pixel_ospfw_delay_between_popups_field_callback()
S
68 2 6
pixel_ospfw_main::add_settings_link()
S
67 2 7
pixel_ospfw_first_popup_delay_field_callback()
S
68 2 6
pixel_ospfw_main::__construct()
S
59 1 15
pixel_ospfw_main::init()
S
79 1 3
pixel_ospfw_fs_uninstall_cleanup()
S
77 1 4
pixel_ospfw_main::define_constants()
S
79 1 5
pixel_ospfw_main::includes()
S
77 1 4
pixel_ospfw_message_body_field_callback()
S
68 1 6
pixel_ospfw_message_title_field_callback()
S
68 1 6
pixel_ospfw_main::deactivate()
S
80 1 3