Code Analysis: WP Optin Wheel 1.4.8

Function Rating Maintainability Complexity Lines of code
MABEL_WOF_LITE\Code\Services\Wheel_service::raw_to_wheel()
B
38 24 60
MABEL_WOF_LITE\Code\Controllers\Admin_Controller::sanitize_options()
B
40 22 58
MABEL_WOF_LITE\Code\Controllers\Public_Controller::add_email_to_list()
B
42 17 43
MABEL_WOF_LITE\Core\Common\Html::option()
B
43 16 49
MABEL_WOF_LITE\Code\Controllers\Admin_Controller::create_addwheel_model()
B
24
1 272
MABEL_WOF_LITE\Code\Controllers\Public_Controller::play()
A
47 14 30
MABEL_WOF_LITE\Core\Common\Managers\Abstract_Options_Manager::display_field()
A
49 11 32
MABEL_WOF_LITE\Code\Services\Wheel_service::validate_sequence()
A
55 12 16
MABEL_WOF_LITE\Code\Services\Helper_Service::hex_to_rgba()
S
59 8 11
MABEL_WOF_LITE\Code\Services\Wheel_service::calculate_segment_hit()
S
52 7 22
MABEL_WOF_LITE\Core\Common\Loader::run()
S
57 7 15
MABEL_WOF_LITE\Code\Controllers\Admin_Controller::update_wheel()
S
58 7 13
MABEL_WOF_LITE\Code\Services\MailChimp_Service::add_to_list()
S
54 6 19
MABEL_WOF_LITE\Wheel_Of_Fortune::data_eraser()
S
50 5 30
MABEL_WOF_LITE\Code\Controllers\Admin_Controller::add_wheel()
S
59 6 13
MABEL_WOF_LITE\Core\Common\Managers\Settings_Manager::get_setting()
S
61 6 11
MABEL_WOF_LITE\Code\Services\MailChimp_Service::request()
S
53 5 21
MABEL_WOF_LITE\Code\Services\Log_Service::switch_dir()
S
62 6 10
MABEL_WOF_LITE\Code\Services\Helper_Service::get_visitor_ip()
S
60 5 12
MABEL_WOF_LITE\Code\Controllers\Public_Controller::add_wheels()
S
60 5 12
MABEL_WOF_LITE\Core\Common\Managers\Settings_Manager::get_translated_setting()
S
62 5 11
MABEL_WOF_LITE\Core\Common\Presentation_Base::register_styles()
S
53 4 23
MABEL_WOF_LITE\Code\Models\Wheel_Model::get_options_for_frontend()
S
55 4 20
MABEL_WOF_LITE\Code\Services\Log_Service::get_logs_from_email()
S
58 4 16
MABEL_WOF_LITE\Code\Controllers\Admin_Controller::get_wheel()
S
65 5 8
MABEL_WOF_LITE\Core\Common\Linq\Enumerable::where()
S
60 4 14
MABEL_WOF_LITE\Core\Common\Linq\Enumerable::flatten()
S
60 4 14
MABEL_WOF_LITE_auto_loader()
S
58 4 13
MABEL_WOF_LITE\Core\Common\Widget::widget()
S
58 4 13
MABEL_WOF_LITE\Core\Common\Linq\Enumerable::from()
S
62 4 12
MABEL_WOF_LITE\Core\Common\Managers\Settings_Manager::sanitize()
S
62 4 12
MABEL_WOF_LITE\Core\Common\Linq\Enumerable::firstOrDefault()
S
63 4 11
MABEL_WOF_LITE\Code\Services\Wheel_service::delete_wheel()
S
63 4 11
MABEL_WOF_LITE\Wheel_Of_Fortune::data_exporter()
S
52 3 25
MABEL_WOF_LITE\Core\Common\Admin::__construct()
S
54 3 19
MABEL_WOF_LITE\Code\Services\Wheel_service::get_all_wheels()
S
55 3 18
MABEL_WOF_LITE\Core\Common\Managers\Settings_Manager::fetch_settings()
S
65 4 8
MABEL_WOF_LITE\Code\Controllers\Admin_Controller::delete_wheel()
S
67 4 7
MABEL_WOF_LITE\Code\Controllers\Admin_Controller::get_mailchimp_fields()
S
68 4 6
MABEL_WOF_LITE\Core\Models\Editor_Option::edit_wp_editor()
S
67 4 6
MABEL_WOF_LITE\Code\Controllers\Admin_Controller::get_wheels()
S
67 4 7
MABEL_WOF_LITE\Core\Common\Admin::register_scripts()
S
68 4 7
MABEL_WOF_LITE\Core\Common\Presentation_Base::register_scripts()
S
64 4 9
MABEL_WOF_LITE\Code\Controllers\Admin_Controller::clear_log()
S
67 4 7
MABEL_WOF_LITE\Core\Common\Shortcode::sanitize_attribures()
S
66 4 8
MABEL_WOF_LITE\Code\Controllers\Admin_Controller::get_logs()
S
69 4 6
MABEL_WOF_LITE\Code\Controllers\Admin_Controller::get_mailchimp_lists()
S
69 4 6
MABEL_WOF_LITE\Code\Controllers\Admin_Controller::toggle_wheel_activation()
S
66 4 7
MABEL_WOF_LITE\Code\Controllers\Public_Controller::get_segment_title()
S
64 4 9
MABEL_WOF_LITE\Code\Controllers\Public_Controller::get_segment_text()
S
67 4 8
MABEL_WOF_LITE\Core\Common\Admin::init_settings()
S
60 3 14
MABEL_WOF_LITE\Core\Common\Widget::form()
S
59 3 14
MABEL_WOF_LITE\Code\Services\MailChimp_Service::get_email_lists()
S
60 3 12
MABEL_WOF_LITE\Core\Common\Managers\Options_Manager::add_option()
S
61 3 12
MABEL_WOF_LITE\Code\Services\Wheel_service::add_wheel()
S
62 3 11
MABEL_WOF_LITE\Core\Common\Shortcode::render_shortcode()
S
62 3 11
MABEL_WOF_LITE\Code\Controllers\Admin_Controller::init_admin_page()
S
48 1 35
MABEL_WOF_LITE\Wheel_Of_Fortune::upgrade_routine()
S
57 2 18
MABEL_WOF_LITE\Core\Common\Presentation_Base::add_script_dependencies()
S
70 3 6
MABEL_WOF_LITE\Code\Services\Log_Service::get_log()
S
69 3 6
MABEL_WOF_LITE\Core\Common\Presentation_Base::add_ajax_function()
S
70 3 6
MABEL_WOF_LITE\Code\Controllers\Admin_Controller::add_data_attribute_for_data_bind()
S
66 3 8
MABEL_WOF_LITE\Code\Services\MailChimp_Service::is_in_list()
S
67 3 6
MABEL_WOF_LITE\Core\Common\Linq\Enumerable::toArray()
S
64 3 10
MABEL_WOF_LITE\Core\Common\Managers\Options_Manager::get_section()
S
68 3 8
MABEL_WOF_LITE\Code\Controllers\Public_Controller::get_active_wheels()
S
64 3 10
MABEL_WOF_LITE\Wheel_Of_Fortune::run()
S
58 2 15
MABEL_WOF_LITE\Core\Models\Editor_Option::__construct()
S
65 3 8
MABEL_WOF_LITE\Core\Common\Admin::register_styles()
S
74 3 4
MABEL_WOF_LITE\Code\Controllers\Public_Controller::__construct()
S
53 1 21
MABEL_WOF_LITE\Code\Controllers\Admin_Controller::__construct()
S
56 1 17
MABEL_WOF_LITE\Code\Services\Wheel_service::toggle_activation()
S
70 2 6
MABEL_WOF_LITE\Code\Services\Wheel_service::get_wheel()
S
64 2 9
MABEL_WOF_LITE\Core\Models\Choicepicker_Option::find_value_of_key()
S
78 2 3
MABEL_WOF_LITE\Core\Common\Admin::show_admin_notices()
S
69 2 6
MABEL_WOF_LITE\Code\Models\Wheel_Model::get_background()
S
67 2 8
MABEL_WOF_LITE\Core\Common\Linq\Enumerable::join()
S
64 2 10
MABEL_WOF_LITE\Core\Models\Option::display_help()
S
72 2 5
MABEL_WOF_LITE\Core\Common\Html::view()
S
67 2 7
MABEL_WOF_LITE\Code\Services\Log_Service::get_file_name()
S
66 2 8
MABEL_WOF_LITE\Code\Services\Log_Service::create_dir()
S
61 2 10
MABEL_WOF_LITE\Core\Common\Linq\Enumerable::count()
S
72 2 5
MABEL_WOF_LITE\Code\Models\Wheel_Model::setting_or_default()
S
79 2 3
MABEL_WOF_LITE\Core\Common\Registry::get_loader()
S
69 2 7
MABEL_WOF_LITE\Core\Common\Linq\Enumerable::select()
S
64 2 10
MABEL_WOF_LITE\Core\Common\Linq\Enumerable::any()
S
72 2 5
MABEL_WOF_LITE\Wheel_Of_Fortune::add_suggested_privacy_content()
S
70 2 6
MABEL_WOF_LITE\Code\Services\Log_Service::is_in_log()
S
61 1 12
run_MABEL_WOF_LITE()
S
64 1 11
MABEL_WOF_LITE\Core\Common\Managers\Widget_Options_Manager::__construct()
S
81 1 3
MABEL_WOF_LITE\Core\Common\Shortcode::__construct()
S
68 1 7
MABEL_WOF_LITE\Core\Common\Managers\Settings_Manager::init()
S
80 1 3
MABEL_WOF_LITE\Core\Common\Loader::add()
S
64 1 10
MABEL_WOF_LITE\Core\Common\Presentation_Base::add_style()
S
80 1 3
MABEL_WOF_LITE\Core\Common\Managers\Widget_Options_Manager::add_dropdown_option()
S
71 1 5
MABEL_WOF_LITE\Core\Common\Loader::add_action()
S
77 1 3
MABEL_WOF_LITE\Code\Services\Wheel_service::get_sequence()
S
69 1 7
MABEL_WOF_LITE\Core\Common\Managers\Options_Manager::__construct()
S
77 1 4
MABEL_WOF_LITE\Core\Models\Option_Section::has_options()
S
80 1 3
MABEL_WOF_LITE\Core\Common\Widget::__construct()
S
68 1 7
MABEL_WOF_LITE\Code\Models\Wheel_Model::has_setting()
S
79 1 3
MABEL_WOF_LITE\Core\Models\Range_Option::__construct()
S
69 1 6
MABEL_WOF_LITE\Core\Common\Managers\Options_Manager::get_sections()
S
82 1 3
MABEL_WOF_LITE\Core\Common\Managers\Options_Manager::add_hidden_setting()
S
72 1 5
MABEL_WOF_LITE\Core\Common\Presentation_Base::add_script_variable()
S
80 1 3
MABEL_WOF_LITE\Core\Models\Start_VM::__construct()
S
77 1 4
MABEL_WOF_LITE\Code\Services\Log_Service::clear()
S
75 1 4
MABEL_WOF_LITE\Core\Models\MediaSelector_Option::__construct()
S
74 1 4
MABEL_WOF_LITE\Code\Services\Helper_Service::decrypt()
S
70 1 5
MABEL_WOF_LITE\Core\Common\Managers\Language_Manager::__construct()
S
79 1 3
MABEL_WOF_LITE\Code\Services\Helper_Service::encrypt()
S
70 1 5
MABEL_WOF_LITE\Core\Models\Pro_option::__construct()
S
78 1 3
MABEL_WOF_LITE\Core\Models\Choicepicker_Option::__construct()
S
71 1 5
MABEL_WOF_LITE\Core\Common\Html::partial()
S
73 1 5
MABEL_WOF_LITE\Core\Common\Managers\Options_Manager::set_option_name()
S
79 1 3
MABEL_WOF_LITE\Core\Models\Option_Section::add_option()
S
80 1 3
MABEL_WOF_LITE\Core\Models\Option_Section::__construct()
S
69 1 7
MABEL_WOF_LITE\Core\Common\Loader::reset()
S
77 1 4
MABEL_WOF_LITE\Wheel_Of_Fortune::__construct()
S
78 1 3
MABEL_WOF_LITE\Core\Models\Checkbox_Option::__construct()
S
69 1 6
MABEL_WOF_LITE\Code\Services\MailChimp_Service::get_fields_from_list()
S
68 1 6
MABEL_WOF_LITE\Core\Models\Datepicker_Option::__construct()
S
71 1 5
MABEL_WOF_LITE\Core\Common\Managers\Settings_Manager::set_setting()
S
75 1 4
MABEL_WOF_LITE\Core\Common\Admin::add_settings_link()
S
69 1 6
MABEL_WOF_LITE\Core\Common\Admin::display_settings()
S
64 1 10
MABEL_WOF_LITE\Core\Common\Presentation_Base::add_styles_but_dont_publish_yet()
S
80 1 3
MABEL_WOF_LITE\Wheel_Of_Fortune::register_data_exporters()
S
69 1 7
MABEL_WOF_LITE\Core\Common\Managers\Settings_Manager::save()
S
76 1 4
MABEL_WOF_LITE\Core\Common\Managers\Config_Manager::init()
S
65 1 9
MABEL_WOF_LITE\Core\Common\Managers\Options_Manager::get_hidden_settings()
S
82 1 3
MABEL_WOF_LITE\Core\Models\Autocomplete_Option::__construct()
S
71 1 5
MABEL_WOF_LITE\Core\Models\Help::__construct()
S
71 1 6
MABEL_WOF_LITE\Core\Common\Presentation_Base::__construct()
S
65 1 10
MABEL_WOF_LITE\Core\Common\Admin::add_menu()
S
77 1 3
MABEL_WOF_LITE\Core\Common\Linq\Enumerable::__construct()
S
77 1 4
MABEL_WOF_LITE\Core\Common\Managers\Settings_Manager::has_setting()
S
75 1 4
MABEL_WOF_LITE\Core\Common\Presentation_Base::add_inline_style()
S
80 1 3
MABEL_WOF_LITE\Wheel_Of_Fortune::register_post_type()
S
69 1 7
MABEL_WOF_LITE\Core\Models\Option_Dependency::__construct()
S
74 1 5
MABEL_WOF_LITE\Code\Models\Wheels_VM::__construct()
S
81 1 3
MABEL_WOF_LITE\Code\Services\Log_Service::log()
S
71 1 5
MABEL_WOF_LITE\Core\Common\Presentation_Base::add_script()
S
80 1 3
MABEL_WOF_LITE\Code\Services\Log_Service::drop_all_logs()
S
73 1 5
MABEL_WOF_LITE\Core\Models\Dropdown_Option::__construct()
S
67 1 7
MABEL_WOF_LITE\Code\Services\Log_Service::overwrite()
S
75 1 4
MABEL_WOF_LITE\Core\Models\Number_And_Choice_option::__construct()
S
68 1 7
MABEL_WOF_LITE\Core\Common\Admin::init_admin_page()
S
100 1 0
MABEL_WOF_LITE\Core\Models\Custom_Option::__construct()
S
72 1 5
MABEL_WOF_LITE\Core\Common\Frontend::__construct()
S
70 1 6
MABEL_WOF_LITE\Core\Common\Managers\Language_Manager::load_text_domain()
S
70 1 7
MABEL_WOF_LITE\Code\Services\Wheel_service::edit_wheel()
S
79 1 3
MABEL_WOF_LITE\Core\Common\Loader::__construct()
S
82 1 3
MABEL_WOF_LITE\Core\Common\Managers\Options_Manager::add_section()
S
78 1 3
MABEL_WOF_LITE\Core\Models\Choicepicker_Option::values_to_key_list()
S
79 1 3
MABEL_WOF_LITE\Core\Models\Option_Section::get_options()
S
82 1 3
MABEL_WOF_LITE\Code\Controllers\Admin_Controller::render_main_sidebar()
S
80 1 3
MABEL_WOF_LITE\Core\Common\Loader::add_filter()
S
77 1 3
MABEL_WOF_LITE\Code\Models\Wheel_Model::data_attributes()
S
63 1 10
MABEL_WOF_LITE\Wheel_Of_Fortune::register_data_erasers()
S
69 1 7
MABEL_WOF_LITE\Core\Models\Option::get_extra_data_attributes()
S
72 1 5
MABEL_WOF_LITE\Code\Services\Log_Service::add_to_db_log()
S
65 1 8
MABEL_WOF_LITE\Core\Common\Managers\Widget_Options_Manager::add_text_option()
S
74 1 4
MABEL_WOF_LITE\Core\Models\Inline_Style::__construct()
S
74 1 5
MABEL_WOF_LITE\Code\Models\Wheel_Model::classes()
S
69 1 7
MABEL_WOF_LITE\Core\Models\Option::__construct()
S
67 1 8
MABEL_WOF_LITE\Core\Models\Text_Option::__construct()
S
64 1 9
MABEL_WOF_LITE\Core\Models\Container_Option::__construct()
S
71 1 5