Code Analysis: Theme Editor 2.5

Function Rating Maintainability Complexity Lines of code
ms_theme_editor_css::get_prop()
D
23
77 118
ms_theme_editor_admin::ms_create_child_theme()
D
21
57 165
ms_theme_editor_css::parse_post_data()
D
24
38 162
ms_theme_editor_admin::insert_with_markers()
D
29 37 111
te\app\thm_cnt\theme_editor_theme_controller::get_files_and_folders()
D
27
33 157
ms_theme_editor_admin::evaluate_signals()
C
35 31 74
ms_theme_editor_css::parse_css()
C
29 28 118
te\app\thm_cnt\theme_editor_theme_controller::te_get_theme_data()
C
32 27 101
ms_theme_editor_css::encode_shorthand()
C
40 28 54
ms_theme_editor_admin::get_files()
C
35 24 73
ms_theme_editor_admin::enqueue_parent_code()
C
35 23 80
ms_theme_editor_admin::rewrite_stylesheet_header()
B
34 22 87
ms_theme_editor_packer::unpack()
B
44 24 36
ms_theme_editor_admin::unset_writable()
B
38 21 62
ms_convert_stylesheet_parse()
B
40 21 53
ms_theme_editor_css::write_css()
B
39 19 57
te\app\plg_cnt\theme_editor_plugin_controller::te_get_plugin_data()
B
39 17 63
ms_theme_editor_css::add_vendor_rules()
B
42 17 45
ms_theme_editor_css::encode_gradient()
A
40 13 70
ms_theme_editor_css::load_config()
A
48 14 30
mk_theme_editor_file_move()
A
41 12 58
ms_theme_editor_admin::copy_parent_file()
A
46 13 37
te\app\mdl\theme_editor_model::mk_theme_editor_file_upload()
A
43 12 49
ms_theme_editor_css::recurse_directory()
A
48 13 29
ms_theme_editor_css::update_arrays()
A
45 12 42
ms_image()
A
42 11 57
ms_theme_editor_css::convert_dict_arrays()
A
46 12 38
ms_new_file()
A
40 10 65
ms_theme_editor_css::convert_ruleval_array()
A
49 12 29
outputFiles()
A
46 11 40
ms_theme_editor_admin::load_config()
A
46 11 37
ms_theme_editor_admin::process_post()
A
47 10 35
te\app\mdl\theme_editor_model::mk_theme_editor_folder_open()
A
42 9 50
te\app\mdl\theme_editor_model::mk_plugin_editor_folder_open()
A
42 9 50
screenshot_upload()
A
42 8 54
ms_theme_editor_css::denorm_val_query()
A
51 10 24
ms_theme_editor_admin::backup_or_restore_file()
A
49 9 29
ms_theme_editor_css::is_file_ok()
A
52 9 23
ms_theme_editor_admin::repair_header()
A
46 8 35
ms_theme_editor_admin::verify_child_dir()
A
49 8 30
te\app\mdl\theme_editor_model::mk_theme_editor_theme_files()
A
49 8 29
ms_theme_editor_admin::is_theme()
A
59 9 13
ms_theme_editor_css::save_config()
A
52 8 24
ms_theme_editor_css::denorm_sel_val()
A
52 8 23
ms_theme_editor_css::convert_rel_url()
A
54 8 18
ms_theme_editor_css::prune_if_empty()
A
55 8 17
te\app\thm_cnt\theme_editor_theme_controller::mk_f_s()
S
52 7 29
ms_theme_editor_packer::pack()
S
58 8 14
ms_theme_editor_packer::decode()
S
49 7 28
ms_theme_editor_packer::encode()
S
50 7 28
ms_theme_editor_css::decode_gradient()
S
58 8 13
ms_theme_editor_admin::clone_child_theme()
S
51 7 24
te\app\thm_cnt\theme_editor_theme_controller::download_file()
S
51 7 24
webphoto_upload()
S
47 6 37
ms_theme_editor_css::denorm_rule_val()
S
55 7 18
te\app\mdl\theme_editor_model::mk_theme_editor_verify_email_callback()
S
44 5 47
te\app\thm_cnt\theme_editor_theme_controller::add_files_to_zip()
S
57 7 16
ms_theme_editor_admin::set_writable()
S
57 7 15
ms_theme_editor_admin::write_child_file()
S
50 6 29
ms_theme_editor_css::read_stylesheet()
S
58 7 13
te\app\thm_cnt\theme_editor_theme_controller::download_theme()
S
46 5 41
te\app\plg_cnt\theme_editor_plugin_controller::download_plugin()
S
47 5 40
ms_theme_editor_admin::ajax_save_postdata()
S
52 6 24
ms_theme_editor_admin::ajax_query_css()
S
51 6 24
ms_theme_editor_css::normalize_font()
S
53 6 24
te\app\cnt\theme_editor_controller::init()
S
52 6 22
te\app\cnt\theme_editor_controller::mk_te_close_te_help()
S
54 6 21
te\app\mdl\theme_editor_model::mk_te_close_te_help()
S
54 6 20
mk_theme_editor_child_file_delete()
S
55 6 19
ms_theme_editor_admin::delete_child_file()
S
55 6 18
ms_theme_editor_packer::packInt()
S
57 6 17
ms_theme_editor_css::parse_css_file()
S
56 6 16
ms_theme_editor_css::normalize_background()
S
50 5 29
ms_theme_editor_controller::ms_theme_summary()
S
50 5 27
ms_new_directory()
S
52 5 25
ms_theme_editor_css::update_property()
S
53 5 25
ms_theme_editor_css::denorm_dict_qs()
S
52 5 23
te\app\mdl\theme_editor_model::mk_theme_editor_file_remove()
S
53 5 22
te\app\mdl\theme_editor_model::mk_theme_editor_folder_remove()
S
53 5 22
te\app\mdl\theme_editor_model::mk_theme_editor_folder_create()
S
53 5 21
mk_theme_editor_delete_images()
S
54 5 20
te\app\mdl\theme_editor_model::mk_theme_editor_file_create()
S
54 5 20
ms_switch_theme()
S
54 5 19
ms_theme_editor_css::sort_queries()
S
56 5 17
ms_theme_editor_css::get_css_header()
S
59 5 13
ms_theme_editor_ui::enqueue_scripts()
S
41 2 57
ms_theme_editor_css::decode_border()
S
60 5 12
ms_get_theme_name()
S
53 4 26
ms_theme_editor_admin::update_redirect()
S
60 5 11
ms_theme_editor_admin::get_themes()
S
54 4 21
ms_get_theme_name_count()
S
55 4 21
ms_theme_editor_admin::verify_creds()
S
54 4 20
ms_theme_editor_css::detokenize()
S
55 4 19
ms_theme_editor_admin::convert_enqueue_to_import()
S
56 4 17
ms_theme_editor_css::get_css_header_comment()
S
57 4 17
te\app\thm_cnt\theme_editor_theme_controller::__save()
S
57 4 17
ms_theme_editor_css::cmp_seq()
S
65 5 8
ms_theme_editor_admin::debug()
S
73 5 4
ms_theme_editor_css::rule_value_exists()
S
66 5 8
te\app\cnt\theme_editor_controller::remove_editor_menu()
S
62 5 10
te\app\thm_cnt\theme_editor_theme_controller::deleteDir()
S
59 4 14
ms_theme_editor_css::normalize_margin_padding()
S
59 4 14
ms_theme_editor_packer::packStr()
S
60 4 13
ms_theme_editor_admin::convert_import_to_enqueue()
S
59 4 12
ms_theme_editor_admin::enqueue_parent_css()
S
60 4 12
te\app\cnt\theme_editor_controller::export_te_files()
S
62 4 11
ms_theme_editor_css::denorm_query_sel()
S
52 3 25
ms_theme_editor_admin::unserialize_postarrays()
S
71 4 5
ms_theme_editor_css::obj_to_utf8()
S
66 4 8
te\app\cnt\theme_editor_controller::download_te_theme()
S
64 4 9
ms_theme_editor_css::get_rule_value_id()
S
69 4 6
te\app\cnt\theme_editor_controller::download_te_plugin()
S
64 4 9
ms_theme_editor_admin::serialize_postarrays()
S
71 4 5
ms_theme_editor_admin::fspath()
S
60 3 13
ms_theme_editor_admin::get_theme_mods()
S
59 3 13
ms_theme_editor_admin::set_enqueue_priority()
S
60 3 12
ms_theme_editor_css::unpack_val_ndx()
S
61 3 12
te\app\mdl\theme_editor_model::__construct()
S
53 2 22
te\app\mdl\theme_editor_model::verify_on_server()
S
49 1 31
ms_theme_editor_admin::add_base_files()
S
58 2 16
ms_theme_editor_css::cmp_sel()
S
68 3 6
ms_theme_editor_packer::packArrayHeader()
S
65 3 9
ms_theme_editor_packer::packMapHeader()
S
65 3 9
ms_theme_editor_admin::get_child_stylesheet()
S
65 3 9
ms_theme_editor_packer::packBin()
S
63 3 10
ms_theme_editor_css::set_prop()
S
72 3 5
ms_theme_editor_css::get_css_imports()
S
64 3 9
ms_theme_editor_ui::render()
S
64 3 9
te\app\cnt\theme_editor_controller::theme_editor_settings_permisions()
S
72 3 5
te\app\cnt\theme_editor_controller::theme_editor_notify()
S
72 3 5
ms_theme_editor_css::unset_rule_value()
S
63 3 10
te\app\cnt\theme_editor_controller::load_custom_scripts_settings()
S
62 3 10
ms_theme_editor_admin::copy_theme_mods()
S
70 3 6
te\app\mdl\theme_editor_model::mk_theme_editor_file_open()
S
65 3 9
te\app\mdl\theme_editor_model::verify_theme_editor_email_callback()
S
58 2 14
te\app\cnt\theme_editor_controller::load_help_desk()
S
60 2 13
ms_theme_editor_admin::set_theme_mods()
S
60 2 13
te\app\mdl\theme_editor_model::mk_te_settings()
S
61 2 13
ms_theme_editor_css::mem_chk()
S
62 2 11
ms_theme_editor_css::__construct()
S
52 1 26
ms_theme_editor_css::tokenize()
S
61 2 11
ms_child_theme_permission()
S
58 1 19
ms_theme_editor_controller::admin()
S
57 1 19
ms_theme_editor_admin::reset_child_theme()
S
58 1 16
ms_theme_editor_css::get_child_target()
S
77 2 3
ms_theme_editor_autoload()
S
72 2 5
ms_preview_mods()
S
65 2 9
ms_theme_editor_packer::unpackArray()
S
69 2 7
ms_theme_editor_ui::enqueue_is_set()
S
79 2 3
ms_theme_editor_controller::init()
S
67 2 8
te\app\thm_cnt\theme_editor_theme_controller::__construct()
S
70 2 6
ms_theme_editor_controller::ctc()
S
70 2 6
ms_theme_editor_admin::network_enable()
S
68 2 7
ms_theme_editor_css::to_int()
S
79 2 3
ms_theme_editor_packer::unpackMap()
S
69 2 7
ms_theme_editor_css::get_token()
S
66 2 8
ms_theme_editor_packer::packBool()
S
80 2 3
ms_theme_editor_packer::packMap()
S
65 2 9
ms_theme_editor_admin::is_legacy()
S
75 2 4
ms_theme_editor_admin::get_current_parent()
S
73 2 5
ms_theme_editor_css::normalize_css()
S
66 2 8
te\pa\theme_editor_app::controller()
S
71 2 6
ms_theme_editor_admin::get_current_child()
S
73 2 5
ms_theme_editor_admin::toggle_debug()
S
64 2 10
ms_theme_editor_css::get_parent_source()
S
77 2 3
ms_theme_editor_css::pack_val_ndx()
S
67 2 7
ms_theme_editor_css::lookup_dict_value()
S
70 2 6
ms_theme_editor_css::get_dict_value()
S
70 2 6
ms_theme_editor_css::quotify_dependencies()
S
69 2 6
te\app\cnt\theme_editor_controller::sava_mk_settings()
S
69 2 7
te\app\thm_cnt\theme_editor_theme_controller::getcmthemes()
S
65 2 9
ms_theme_editor_admin::ctc_page_init()
S
65 2 9
te\pa\theme_editor_app::model()
S
71 2 6
te\app\thm_cnt\theme_editor_theme_controller::compress()
S
68 2 7
ms_theme_editor_ui::maybe_disable()
S
77 2 3
ms_theme_editor_admin::normalize_path()
S
67 2 7
ms_theme_editor_css::stringify_rule_output()
S
68 2 7
te\app\thm_cnt\theme_editor_theme_controller::mk_s_r()
S
63 2 10
ms_theme_editor_admin::parse_additional_stylesheets_to_source()
S
70 2 6
ms_theme_editor_css::get_dict_id()
S
67 2 7
ms_theme_editor_controller::query()
S
74 2 5
ms_theme_editor_packer::ensureLength()
S
71 2 5
ms_theme_editor_packer::unpackStr()
S
65 2 9
ms_theme_editor_admin::theme_basename()
S
70 2 5
ms_theme_editor_controller::save()
S
74 2 5
ms_theme_editor_src()
S
69 2 6
ms_theme_editor_packer::packArray()
S
67 2 8
te\app\cnt\theme_editor_controller::theme_editor_menu_page()
S
59 1 14
te\app\thm_cnt\theme_editor_theme_controller::load_js()
S
61 1 14
ms_theme_editor_admin::__construct()
S
61 1 12
ms_theme_editor_css::set_dict_value()
S
75 1 4
ms_theme_editor_ui::all_admin_notices()
S
82 1 3
ms_theme_editor_ui::__construct()
S
72 1 5
ms_theme_editor_css::from_ascii()
S
80 1 3
ms_theme_editor_admin::sanitize_options()
S
83 1 3
ms_theme_editor_packer::packNil()
S
82 1 3
ms_theme_editor_ui::ms_theme_directory()
S
77 1 4
ms_theme_editor_admin::parse_genesis_stylesheet_to_source()
S
80 1 3
ms_theme_editor_controller::ms_child_theme_control()
S
80 1 3
ms_theme_editor_css::background_callback()
S
80 1 3
te\app\cnt\theme_editor_controller::add_themes_page()
S
80 1 3
PackingFailedException::__construct()
S
75 1 4
wp_redirect_status()
S
78 1 4
ms_theme_editor_packer::unpackU16()
S
67 1 7
theme_editor_load_text_domain()
S
79 1 3
ms_theme_editor_css::sanitize()
S
79 1 3
ms_theme_editor_admin::save_config()
S
83 1 3
ms_theme_editor_admin::check_theme_exists()
S
74 1 4
ms_theme_editor_ui::ctc()
S
82 1 3
te\app\cnt\theme_editor_controller::error()
S
76 1 4
te\app\plg_cnt\theme_editor_plugin_controller::__construct()
S
91 1 2
ms_theme_editor_admin::parse_child_stylesheet_to_target()
S
80 1 3
ms_style_css()
S
79 1 3
ms_theme_editor_controller::render()
S
81 1 3
ms_theme_editor_admin::cache_debug()
S
67 1 8
ms_get_template()
S
80 1 3
ms_theme_editor_css::sortstr()
S
76 1 3
ms_theme_editor_admin::render()
S
83 1 3
ms_theme_editor_css::tolower()
S
79 1 3
te\app\cnt\theme_editor_controller::theme_editor_themes_page()
S
68 1 7
ms_theme_editor_admin::copy_screenshot()
S
82 1 3
ms_theme_editor_admin::get()
S
80 1 3
ms_theme_editor_css::get_stylesheet_path()
S
69 1 6
ms_theme_editor_packer::unpackU32()
S
68 1 7
ms_theme_editor_css::repl_octal()
S
79 1 3
ms_theme_editor_css::get_qsid()
S
74 1 4
ms_theme_editor_css::normalize_color()
S
72 1 5
ms_theme_editor_controller::page_init()
S
81 1 3
ms_theme_editor_css::ctc()
S
82 1 3
ms_theme_editor_ui::cmp_theme()
S
78 1 3
ms_theme_editor_admin::parse_child_stylesheet_to_source()
S
80 1 3
ms_theme_editor_packer::__construct()
S
80 1 3
ms_theme_editor_css::esc_octal()
S
79 1 3
te\app\cnt\theme_editor_controller::theme_editor_settings_callback()
S
80 1 3
ms_theme_editor_css::normalize_query()
S
67 1 7
te\app\cnt\theme_editor_controller::__construct()
S
82 1 3
ms_theme_editor_admin::uploads_fullpath()
S
70 1 6
ms_get_stylesheet()
S
80 1 3
ms_theme_editor_css::sort_selectors()
S
73 1 5
PackingFailedException::getValue()
S
82 1 3
ms_theme_editor_css::is_important()
S
72 1 5
ms_theme_editor_admin::sanitize_slug()
S
79 1 3
ms_theme_editor_ui::render_settings_errors()
S
80 1 3
ms_theme_editor_css::to_ascii()
S
80 1 3
te\app\cnt\theme_editor_controller::redirect()
S
73 1 5
ms_theme_editor_controller::analyze()
S
81 1 3
ms_theme_editor_css::update_rule_value()
S
71 1 7
ms_theme_editor_admin::parse_parent_stylesheet_to_source()
S
82 1 3
te\app\thm_cnt\theme_editor_theme_controller::load_css()
S
66 1 8
ms_theme_editor_admin::parse_custom_stylesheet_to_target()
S
80 1 3
ms_theme_editor_packer::unpackU8()
S
70 1 6
ms_theme_editor_ui::css()
S
82 1 3
ms_theme_editor_admin::get_debug()
S
79 1 3
ms_theme_editor_css::parse_css_input()
S
79 1 3
te\app\cnt\theme_editor_controller::success()
S
76 1 4
InsufficientDataException::__construct()
S
74 1 4
te\app\cnt\theme_editor_controller::theme_editor_plugins_page()
S
68 1 7
ms_theme_editor_admin::log_debug()
S
75 1 4
te\pa\theme_editor_app::__construct()
S
78 1 4
te\app\thm_cnt\theme_editor_theme_controller::deleteFile()
S
80 1 3
te\app\cnt\theme_editor_controller::add_plugin_page()
S
80 1 3
ms_theme_editor_packer::reset()
S
77 1 4
ms_theme_editor_admin::uploads_basename()
S
69 1 6
ms_theme_editor_ui::render_theme_menu()
S
80 1 3
ms_theme_editor_admin::validate_post()
S
83 1 3