Code Analysis: wpLingua 2.5.6

Function Rating Maintainability Complexity Lines of code
wplng_data_languages()
D
3
1 1,406
wplng_sdh_simple_html_dom_node::seek()
D
21
66 172
wplng_sdh_simple_html_dom::read_tag()
D
21
58 189
wplng_json_element_is_translatable()
D
27
61 111
wplng_get_switcher_html()
D
25
37 183
wplng_switcher_nav_menu_replace_items()
D
24
35 200
wplng_option_page_switcher()
D
17
16 465
wplng_translation_editor_get_html()
D
24
28 192
wplng_slug_editor_get_html()
D
25
26 190
wplng_slug_save_meta_boxes_data()
D
31 30 116
wplng_api_call_validate_api_key()
C
32 29 106
wplng_dom_mode_list()
C
24
20 215
wplng_sdh_simple_html_dom::parse_charset()
C
34 27 97
wplng_admin_bar_menu()
C
29
23 155
wplng_translation_save_meta_boxes_data()
C
33 26 106
wplng_api_call_request_api_key()
C
34 24 97
wplng_link_media_get_entries()
C
36 24 83
wplng_get_api_data()
C
38 24 71
wplng_dom_load_progress()
B
28
18 150
wplng_url_is_translatable_no_filter()
B
41 24 54
wplng_sdh_simple_html_dom_node::parse_selector()
B
39 22 64
wplng_option_page_register()
B
29 14 181
wplng_args_setup()
B
37 20 88
wplng_translate_json_array()
B
33 18 114
wplng_api_call_translate()
B
36 19 80
wplng_save_translation_new()
B
32 16 121
wplng_url_translate_no_filter()
B
38 19 74
wplng_dictionary_get_entries()
B
38 19 72
wplng_args_update_from_texts()
B
37 18 82
wplng_dom_mode_editor()
B
36 18 78
wplng_update_translation()
B
36 17 90
wplng_get_translations_from_query()
B
38 18 72
wplng_get_slugs_from_query()
B
37 17 80
wplng_create_slug()
B
37 17 77
wplng_parse_html()
B
38 17 76
wplng_post_class_slug_status()
B
42 17 56
wplng_post_class_translation_status()
B
42 17 56
wplng_sdh_simple_html_dom_node::outertext()
B
44 17 41
wplng_get_languages_all()
B
43 16 47
wplng_start()
A
31 11 116
wplng_sdh_simple_html_dom_node::get_display_size()
A
44 14 47
wp_nav_menu_switcher_box_edit()
A
38 11 85
wplng_sdh_simple_html_dom_node::find()
A
46 14 37
wplng_ajax_generate_slug()
A
41 12 63
wplng_slug_translate_path()
A
45 13 44
wplng_ajax_heartbeat()
A
41 12 56
wplng_ajax_generate_translation()
A
44 12 49
wplng_option_page_link_media_entries_html()
A
36 9 91
wplng_posts_filter_slug_status()
A
40 10 75
wplng_posts_filter_translation_status()
A
40 10 75
wplng_sdh_simple_html_dom_node::is_utf8()
A
49 13 29
wplng_admin_bar_edit()
A
45 12 43
wplng_get_switcher_class()
A
46 12 42
wplng_sdh_simple_html_dom_node::convert_text()
A
46 12 40
wplng_register_assets()
A
41 10 63
wplng_parse_json_array()
A
46 11 45
wplng_dictionary_add_tags()
A
41 10 58
wplng_switcher_nav_menu_args_from_href()
A
45 11 41
wplng_ob_callback_page()
A
47 11 38
wplng_get_translations_target()
A
48 11 36
wplng_options_switcher_update_flags_style()
A
44 10 51
wplng_switcher_nav_menu_inline_scripts()
A
41 4 140
wplng_settings_part_language_website()
A
37 7 94
wplng_sdh_simple_html_dom_node::text()
A
49 11 30
wplng_get_languages_target_simplified()
A
50 11 29
wplng_link_alternate_hreflang()
A
42 9 58
wplng_sdh_simple_html_dom::parse_attr()
A
48 10 33
wplng_sdh_simple_html_dom_node::match()
A
50 10 26
wplng_sdh_simple_html_dom_node::dump_node()
A
46 9 39
wplng_translate_js()
A
48 9 37
wplng_get_slugs()
A
50 9 30
wplng_dom_replace_body_class()
A
49 9 29
wplng_slug_translate()
A
51 9 27
wplng_shortcode_only()
A
46 8 41
wplng_get_api_languages_target()
A
52 9 26
wplng_admin_footer_text()
A
52 9 24
wplng_ob_callback_ajax()
A
47 8 38
wplng_translate_search_query()
A
48 8 37
wplng_sdh_simple_html_dom_node::makeup()
A
47 8 36
wplng_dom_replace_links()
A
49 8 34
wplng_link_media_apply_rules()
A
49 8 34
wplng_settings_part_first_use()
A
42 6 64
wplng_parse_js()
A
49 8 33
wplng_restrict_manage_posts_slug_status()
A
44 7 47
wplng_dom_translate_nodes_texts()
A
50 8 30
wplng_option_page_dictionary_entries_html()
A
39 5 75
wplng_slug_original_path()
A
51 8 28
wplng_settings_part_languages_target()
A
38 3 102
wplng_text_is_translatable()
A
52 8 27
wplng_restrict_manage_posts_translation_status()
A
45 7 41
wp_nav_menu_switcher_box_add()
A
41 4 84
wplng_option_page_switcher_assets()
A
44 6 54
wplng_update_footer()
A
53 8 23
wplng_sdh_simple_html_dom_node::removeChild()
A
53 8 22
wplng_get_url_original()
A
49 7 36
wplng_str_is_url()
A
54 8 21
wplng_get_context()
A
54 8 21
wplng_settings_part_api_key()
A
46 6 49
wplng_dom_exclusions_put_tags()
A
49 7 33
wplng_register_part_free_api_key()
A
38 2 107
wplng_get_slug_saved_from_original()
A
49 7 32
wplng_get_translated_text_from_translations()
A
49 7 32
wplng_get_translation_saved_from_original()
A
49 7 31
wplng_dom_translate_html_attr()
S
50 7 30
wplng_data_attr_text_to_translate()
S
36 1 119
wplng_redirect_translated_slug()
S
52 7 29
wplng_dom_translate_attr_texts()
S
52 7 26
wplng_get_switcher_name_format()
S
52 7 26
wplng_option_page_link_media_new_entry_html()
S
36 2 100
wplng_option_page_link_media_edit_entry_html()
S
36 2 100
wplng_dictionary_replace_tags()
S
47 6 39
wplng_sdh_simple_html_dom::clear()
S
54 7 24
wplng_get_language_current_id()
S
53 7 23
wplng_sdh_simple_html_dom_node::addClass()
S
54 7 22
wplng_get_languages_target()
S
55 7 20
wplng_slug_original()
S
55 7 20
wplng_sdh_simple_html_dom::restore_noise()
S
49 6 33
wplng_translate_json()
S
51 6 31
wplng_dom_translate_json()
S
51 6 29
wplng_row_edit_translation_link()
S
50 6 29
wplng_get_url_exclude_regex()
S
52 6 27
wplng_sdh_simple_html_dom::remove_noise()
S
52 6 24
wplng_option_page_settings()
S
43 3 68
wplng_ob_start()
S
53 6 23
wplng_option_page_dictionary_edit_entry_html()
S
38 2 82
wplng_option_page_dictionary_new_entry_html()
S
38 2 82
wplng_translate_html()
S
48 5 36
wplng_save_translations()
S
55 6 21
wplng_sdh_simple_html_dom_node::removeClass()
S
56 6 20
wplng_dom_replace_attr_lang()
S
55 6 20
wplng_dom_exclusions_replace_tags()
S
55 6 20
wplng_sdh_simple_html_dom_node::__set()
S
55 6 19
wplng_sdh_simple_html_dom_node::find_ancestor_tag()
S
56 6 19
wplng_get_languages_allow()
S
56 6 19
wplng_sdh_simple_html_dom_node::__get()
S
58 6 17
wplng_sdh_simple_html_dom_node::dump()
S
56 6 17
wplng_is_valid_language_id()
S
59 6 15
wplng_sdh_simple_html_dom::__get()
S
61 6 14
wplng_slug_status_style()
S
49 2 74
wplng_translation_status_style()
S
49 2 74
wplng_get_api_feature()
S
60 6 13
wplng_admin_notice_incompatible_plugin()
S
43 3 55
wplng_get_switcher_style()
S
55 5 21
wplng_get_switcher_insert()
S
55 5 21
wplng_get_switcher_theme()
S
55 5 21
wplng_sdh_simple_html_dom::__construct()
S
56 5 20
wplng_get_switcher_flags_style()
S
58 5 17
wplng_get_incompatible_plugins()
S
49 4 31
wplng_add_nav_menu_link_attributes_atts()
S
60 5 14
wplng_get_languages_by_ids()
S
61 5 13
wplng_is_valid_api_key_format()
S
62 5 12
wplng_get_language_id()
S
62 5 12
wplng_option_page_settings_assets()
S
53 4 27
wplng_settings_part_features()
S
45 2 56
wplng_sdh_simple_html_dom_node::__isset()
S
63 5 11
wplng_ajax_edit_modal()
S
53 4 24
wplng_create_menu()
S
43 1 67
wplng_data_json_to_translate()
S
40 1 65
wplng_option_page_exclusions()
S
44 1 65
wplng_get_language_name_translated()
S
58 4 17
wplng_sdh_simple_html_dom::copy_until_char()
S
58 4 16
wplng_option_page_dictionary()
S
46 1 61
wplng_option_page_link_media()
S
46 1 61
wplng_inline_script_languages()
S
59 4 15
wplng_ajax_save_modal()
S
59 4 15
wplng_sdh_simple_html_dom::parse()
S
58 4 15
wplng_get_language_website_id()
S
60 4 14
wplng_dom_replace_attr_dir()
S
60 4 13
wplng_get_language_name()
S
62 4 13
wplng_register_block()
S
44 1 58
wplng_get_api_language_website()
S
61 4 13
wplng_sdh_simple_html_dom_node::innertext()
S
61 4 13
wplng_sdh_simple_html_dom_node::hasClass()
S
61 4 12
wplng_option_page_register_assets()
S
54 3 26
wplng_is_valid_language_ids()
S
64 4 11
wplng_render_switcher_block()
S
63 4 11
wplng_parse_json()
S
63 4 11
wplng_translation_edit_modal_get_html()
S
44 1 54
wplng_sdh_simple_html_dom::load()
S
52 3 24
wplng_translation_assets()
S
50 2 35
wplng_slug_assets()
S
50 2 35
wplng_option_page_dictionary_assets()
S
57 3 20
wplng_option_page_link_media_assets()
S
57 3 20
wplng_save_translation()
S
58 3 19
wplng_sdh_str_get_html()
S
59 3 16
wplng_register_block_assets()
S
46 1 46
wplng_sdh_simple_html_dom_node::next_sibling()
S
63 4 10
wplng_sdh_simple_html_dom_node::prev_sibling()
S
63 4 10
wplng_get_language_website_flag()
S
59 3 15
wplng_on_page_script()
S
59 3 15
wplng_get_language_by_id()
S
65 4 9
wplng_sdh_simple_html_dom::search_noise()
S
64 4 10
wplng_option_page_exclusions_assets()
S
61 3 14
wplng_data_attr_url_to_translate()
S
49 1 43
wplng_dom_translate_js()
S
61 3 13
wplng_switcher_wp_footer()
S
63 3 12
wplng_get_languages_target_ids()
S
63 3 11
wplng_post_row_actions_translation_status()
S
54 2 23
wplng_post_row_actions_slug_status()
S
54 2 23
wplng_data_excluded_selector_default()
S
49 1 36
wplng_sdh_simple_html_dom::prepare()
S
55 2 20
wplng_shortcode_switcher()
S
57 2 19
wplng_slug_status_item()
S
57 2 18
wplng_translation_status_item()
S
57 2 18
wplng_register_part_api_key()
S
53 1 32
wplng_slug_status_columns()
S
59 2 17
wplng_admin_notice_incompatible_sub_folder()
S
58 2 17
wplng_translation_status_columns()
S
59 2 17
wplng_admin_notice_incompatible_multisite()
S
58 2 17
wplng_admin_notice_incompatible_php_version()
S
57 2 17
wplng_register_post_type_slug()
S
50 1 31
wplng_register_post_type_translation()
S
50 1 31
wplng_sdh_simple_html_dom_node::children()
S
66 3 9
wplng_exclude_search()
S
77 3 3
wplng_str_ends_with()
S
69 3 6
wplng_str_starts_with()
S
69 3 6
wplng_sdh_simple_html_dom::copy_skip()
S
64 3 9
wplng_plugin_activation_redirect()
S
67 3 8
wplng_block_category()
S
60 2 13
wplng_get_language_website()
S
65 2 11
wplng_data_switcher_valid_theme()
S
52 1 24
wplng_register_part_premium()
S
58 1 23
wplng_admin_notice_no_key_set()
S
55 1 21
wplng_data_attr_lang_id_to_replace()
S
59 1 19
wplng_data_attr_json_to_translate()
S
59 1 19
wplng_register_settings()
S
57 1 18
wplng_get_api_key()
S
69 2 7
wplng_sdh_simple_html_dom_node::parent()
S
68 2 8
wplng_sdh_simple_html_dom_node::last_child()
S
72 2 6
wplng_translation_per_page()
S
72 2 6
wplng_clear_slugs_cache_trash_untrash()
S
72 2 6
wplng_sdh_simple_html_dom::copy_until()
S
67 2 7
wplng_sdh_simple_html_dom::link_nodes()
S
69 2 7
wplng_slug_per_page()
S
72 2 6
wplng_sdh_simple_html_dom_node::remove()
S
75 2 5
wplng_sdh_simple_html_dom::skip()
S
73 2 4
wplng_sdh_simple_html_dom_node::first_child()
S
72 2 6
wplng_translation_remove_quick_edit()
S
68 2 8
wplng_slug_remove_quick_edit()
S
68 2 8
wplng_clear_translations_cache_trash_untrash()
S
72 2 6
wplng_sdh_simple_html_dom_node::__unset()
S
76 2 4
wplng_str_is_json()
S
74 2 4
wplng_sdh_simple_html_dom::as_text_node()
S
65 2 8
wplng_sdh_simple_html_dom::load_file()
S
67 2 8
wplng_data_excluded_node_text()
S
62 1 14
wplng_text_esc()
S
61 1 13
wplng_data_excluded_json()
S
62 1 13
wplng_settings_link()
S
61 1 12
wplng_str_is_locale_id()
S
62 1 12
wplng_data_attr_html_to_translate()
S
65 1 11
wplng_create_menu_register()
S
64 1 11
wplng_translation_add_meta_box()
S
66 1 10
wplng_sdh_simple_html_dom_node::getAttribute()
S
81 1 3
wplng_data_switcher_nav_menu_valid_flags_style()
S
71 1 6
wplng_get_language_name_untranslated()
S
80 1 3
wplng_sdh_simple_html_dom_node::getElementById()
S
79 1 3
wplng_sdh_simple_html_dom_node::xmltext()
S
70 1 6
wplng_text_esc_displayed()
S
65 1 10
wplng_sdh_dump_html_tree()
S
81 1 3
wp_nav_menu_switcher_box_add_register()
S
66 1 10
wplng_sdh_simple_html_dom_node::__construct()
S
77 1 4
wplng_sdh_simple_html_dom_node::appendChild()
S
77 1 4
wplng_sdh_simple_html_dom::save()
S
77 1 4
wplng_sdh_simple_html_dom_node::getElementsById()
S
79 1 3
wplng_sdh_simple_html_dom::find()
S
79 1 3
wplng_url_is_translatable()
S
71 1 7
wplng_sdh_simple_html_dom_node::__toString()
S
82 1 3
wplng_sdh_simple_html_dom_node::previousSibling()
S
82 1 3
wplng_data_switcher_nav_menu_valid_layout()
S
67 1 8
wplng_sdh_simple_html_dom_node::removeAttribute()
S
80 1 3
wplng_sdh_simple_html_dom::getElementsById()
S
79 1 3
wplng_link_media_get_entries_json()
S
72 1 6
wplng_sdh_file_get_html()
S
83 1 3
wplng_on_update_option_wplng_api_key()
S
70 1 7
wplng_api_feature_is_allow()
S
80 1 3
wplng_data_switcher_valid_style()
S
69 1 7
wplng_clear_translations_cache()
S
82 1 3
wplng_sdh_simple_html_dom_node::getElementByTagName()
S
80 1 3
wplng_disable_web_browser_auto_translate()
S
81 1 3
wplng_slug_add_meta_box()
S
66 1 10
wplng_translation_meta_box_html_output()
S
74 1 5
wplng_sdh_simple_html_dom_node::lastChild()
S
82 1 3
wplng_sdh_simple_html_dom::getElementById()
S
79 1 3
wplng_clear_slugs_cache()
S
82 1 3
wplng_sdh_simple_html_dom_node::nodeName()
S
83 1 3
wplng_sdh_simple_html_dom::dump()
S
81 1 3
wplng_sdh_simple_html_dom_node::nextSibling()
S
82 1 3
wplng_sdh_simple_html_dom::childNodes()
S
81 1 3
wplng_sdh_simple_html_dom_node::save()
S
77 1 4
wplng_data_switcher_nav_menu_valid_name_format()
S
67 1 8
wplng_sdh_simple_html_dom_node::__destruct()
S
83 1 3
wplng_slug_meta_box_html_output()
S
74 1 5
wplng_get_url_current()
S
81 1 3
wplng_sdh_simple_html_dom::getElementByTagName()
S
80 1 3
wplng_url_translate()
S
68 1 9
wplng_sdh_simple_html_dom_node::setAttribute()
S
80 1 3
wplng_data_switcher_valid_name_format()
S
67 1 8
wplng_sdh_simple_html_dom::lastChild()
S
82 1 3
wplng_sdh_simple_html_dom::loadFile()
S
77 1 4
wplng_sdh_simple_html_dom_node::getElementsByTagName()
S
80 1 3
wplng_sdh_simple_html_dom_node::getAllAttributes()
S
83 1 3
wplng_sdh_simple_html_dom_node::clear()
S
72 1 6
wplng_sdh_simple_html_dom::__destruct()
S
83 1 3
wplng_sdh_simple_html_dom::__toString()
S
82 1 3
wplng_load_plugin_textdomain()
S
72 1 7
wplng_sdh_simple_html_dom_node::hasAttribute()
S
81 1 3
wplng_data_switcher_valid_insert()
S
67 1 8
wplng_data_switcher_valid_flags_style()
S
67 1 8
wplng_dictionary_get_entries_json()
S
72 1 6
wplng_sdh_simple_html_dom_node::parentNode()
S
82 1 3
wplng_sdh_simple_html_dom::set_callback()
S
82 1 3
wplng_get_path_current()
S
79 1 4
wplng_get_url_current_for_language()
S
73 1 6
wplng_website_in_sub_folder()
S
75 1 4
wplng_sdh_simple_html_dom::createTextNode()
S
80 1 3
wplng_sdh_simple_html_dom_node::hasChildNodes()
S
82 1 3
wplng_sdh_simple_html_dom::firstChild()
S
82 1 3
wplng_sdh_simple_html_dom::createElement()
S
78 1 3
wplng_str_is_html()
S
80 1 3
wplng_sdh_simple_html_dom::getElementsByTagName()
S
80 1 3
wplng_shortcode_notranslate()
S
71 1 6
wplng_sdh_simple_html_dom::remove_callback()
S
82 1 3
wplng_sdh_simple_html_dom_node::firstChild()
S
82 1 3
wplng_data_excluded_editor_link()
S
67 1 10
wplng_str_contains()
S
79 1 3
wplng_sdh_simple_html_dom_node::has_child()
S
80 1 3
wplng_sdh_simple_html_dom_node::childNodes()
S
81 1 3