Code Analysis: wpLingua 1.2.0

Function Rating Maintainability Complexity Lines of code
wplng_sdh_simple_html_dom_node::seek()
D
21
66 172
wplng_sdh_simple_html_dom::read_tag()
D
21
58 189
wplng_get_switcher_html()
D
26
34 163
wplng_translation_meta_box_html_output()
D
26
26 167
wplng_sdh_simple_html_dom::parse_charset()
C
34 27 97
wplng_api_call_request_api_key()
C
34 24 97
wplng_api_call_validate_api_key()
C
34 24 90
wplng_dom_mode_list()
C
29 19 138
wplng_option_page_switcher()
B
28
14 197
wplng_dom_load_progress()
B
30 18 130
wplng_translation_save_meta_boxes_data()
B
36 21 83
wplng_sdh_simple_html_dom_node::parse_selector()
B
39 22 64
wplng_args_setup()
B
37 20 88
wplng_translate_json_array()
B
33 18 113
wplng_api_call_translate()
B
37 19 75
wplng_dictionary_get_entries()
B
38 19 71
wplng_option_page_register()
B
32 14 143
wplng_url_translate()
B
40 18 61
wplng_args_update_from_texts()
B
38 16 75
wplng_dom_mode_editor()
B
37 16 71
wplng_sdh_simple_html_dom_node::outertext()
B
44 17 41
wplng_get_api_data()
A
43 15 51
wplng_json_element_is_translatable()
A
45 15 44
wplng_get_languages_all()
A
44 15 42
wplng_admin_bar_menu()
A
35 10 109
wplng_sdh_simple_html_dom_node::get_display_size()
A
44 14 47
wplng_data_languages()
A
26
1 241
wplng_sdh_simple_html_dom_node::find()
A
46 14 37
wplng_update_translation()
A
39 11 74
wplng_get_translations_from_query()
A
43 12 51
wplng_posts_filter_translation_status()
A
40 10 75
wplng_sdh_simple_html_dom_node::is_utf8()
A
49 13 29
wplng_url_is_translatable()
A
46 12 42
wplng_get_switcher_class()
A
46 12 42
wplng_sdh_simple_html_dom_node::convert_text()
A
46 12 40
wplng_ajax_generate_translation()
A
47 12 37
wplng_parse_json_array()
A
45 11 46
wplng_parse_html()
A
45 11 44
wplng_dictionary_add_tags()
A
41 10 58
wplng_ob_callback_page()
A
47 11 38
wplng_options_switcher_update_flags_style()
A
44 10 49
wplng_sdh_simple_html_dom_node::text()
A
49 11 30
wplng_sdh_simple_html_dom::parse_attr()
A
48 10 33
wplng_settings_part_language_website()
A
40 7 74
wplng_sdh_simple_html_dom_node::match()
A
50 10 26
wplng_sdh_simple_html_dom_node::dump_node()
A
46 9 39
wplng_exclude_woocommerce_url()
A
49 9 31
wplng_start()
A
39 7 61
wplng_dom_replace_body_class()
A
49 9 29
wplng_get_translations_target()
A
51 9 28
wplng_get_api_languages_target()
A
52 9 26
wplng_ob_callback_ajax()
A
47 8 38
wplng_shortcode_only()
A
47 8 38
wplng_translate_search_query()
A
49 8 36
wplng_sdh_simple_html_dom_node::makeup()
A
47 8 36
wplng_get_translated_text_from_translations()
A
49 8 32
wplng_admin_notice_incompatible_plugin()
A
39 5 71
wplng_restrict_manage_posts_translation_status()
A
45 7 41
wplng_option_page_dictionary_entries_html()
A
39 5 70
wplng_option_page_switcher_assets()
A
44 6 54
wplng_admin_footer_text()
A
53 8 23
wplng_sdh_simple_html_dom_node::removeChild()
A
53 8 22
wplng_get_languages_target_simplified()
A
54 8 21
wplng_dom_exclusions_put_tags()
A
49 7 33
wplng_save_translation_new()
A
41 5 62
wplng_dom_translate_texts_attr()
S
52 7 26
wplng_dom_translate_texts_nodes()
S
52 7 26
wplng_get_switcher_name_format()
S
52 7 26
wplng_sdh_simple_html_dom::clear()
S
54 7 24
wplng_sdh_simple_html_dom_node::addClass()
S
54 7 22
wplng_update_footer()
S
53 7 22
wplng_str_is_url()
S
54 7 20
wplng_get_language_current_id()
S
55 7 20
wplng_sdh_simple_html_dom::restore_noise()
S
49 6 33
wplng_settings_part_first_use()
S
46 5 47
wplng_translate_json()
S
51 6 31
wplng_register_assets()
S
51 6 29
wplng_sdh_simple_html_dom::remove_noise()
S
52 6 24
wplng_ob_start()
S
53 6 22
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_sdh_simple_html_dom_node::__set()
S
55 6 19
wplng_sdh_simple_html_dom_node::find_ancestor_tag()
S
56 6 19
wplng_translate_html()
S
49 5 34
wplng_option_page_dictionary_new_entry_html()
S
39 2 78
wplng_option_page_dictionary_edit_entry_html()
S
39 2 78
wplng_link_alternate_hreflang()
S
49 5 32
wplng_sdh_simple_html_dom_node::__get()
S
58 6 17
wplng_sdh_simple_html_dom_node::dump()
S
56 6 17
wplng_dictionary_replace_tags()
S
50 5 31
wplng_get_languages_target()
S
58 6 15
wplng_is_valid_language_id()
S
59 6 15
wplng_translate_js()
S
52 5 29
wplng_get_translation_saved_from_original()
S
50 5 29
wplng_sdh_simple_html_dom::__get()
S
61 6 14
wplng_get_api_feature()
S
60 6 13
wplng_settings_part_languages_target()
S
45 3 58
wplng_option_page_settings()
S
45 3 57
wplng_get_url_exclude_regex()
S
54 5 22
wplng_get_switcher_theme()
S
55 5 21
wplng_dom_replace_links()
S
54 5 21
wplng_get_switcher_insert()
S
55 5 21
wplng_get_switcher_style()
S
55 5 21
wplng_sdh_simple_html_dom::__construct()
S
56 5 20
wplng_get_switcher_flags_style()
S
58 5 17
wplng_data_attr_text_to_translate()
S
42 1 75
wplng_get_languages_allow()
S
60 5 13
wplng_get_languages_by_ids()
S
61 5 13
wplng_option_page_settings_assets()
S
53 4 27
wplng_is_valid_api_key_format()
S
62 5 12
wplng_sdh_simple_html_dom_node::__isset()
S
63 5 11
wplng_register_part_free_api_key()
S
45 2 54
wplng_parse_js()
S
55 4 22
wplng_get_language_name_translated()
S
58 4 17
wplng_option_page_dictionary()
S
46 1 61
wplng_sdh_simple_html_dom::copy_until_char()
S
58 4 16
wplng_get_language_id()
S
64 5 10
wplng_sdh_simple_html_dom::parse()
S
58 4 15
wplng_inline_script_languages()
S
59 4 15
wplng_get_language_website_id()
S
60 4 14
wplng_get_api_language_website()
S
61 4 13
wplng_sdh_simple_html_dom_node::innertext()
S
61 4 13
wplng_dom_replace_attr_dir()
S
60 4 13
wplng_get_language_name()
S
62 4 13
wplng_option_page_exclusions()
S
45 1 57
wplng_sdh_simple_html_dom_node::hasClass()
S
61 4 12
wplng_dom_exclusions_replace_tags()
S
62 4 12
wplng_option_page_dictionary_assets()
S
54 3 26
wplng_is_valid_language_ids()
S
64 4 11
wplng_option_page_register_assets()
S
54 3 26
wplng_sdh_simple_html_dom::load()
S
52 3 24
wplng_settings_part_features()
S
55 3 21
wplng_create_menu()
S
46 1 51
wplng_option_page_exclusions_assets()
S
57 3 20
wplng_save_translation()
S
58 3 19
wplng_sdh_str_get_html()
S
59 3 16
wplng_sdh_simple_html_dom_node::prev_sibling()
S
63 4 10
wplng_get_language_website_flag()
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_get_url_original()
S
59 3 15
wplng_sdh_simple_html_dom_node::next_sibling()
S
63 4 10
wplng_dom_translate_js()
S
60 3 14
wplng_dom_translate_json()
S
60 3 14
wplng_switcher_wp_footer()
S
63 3 12
wplng_translation_assets()
S
54 2 25
wplng_sdh_simple_html_dom::prepare()
S
55 2 20
wplng_shortcode_switcher()
S
57 2 18
wplng_register_post_type_translation()
S
50 1 31
wplng_get_url_current_for_language()
S
64 3 10
wplng_exclude_search()
S
77 3 3
wplng_parse_json()
S
65 3 9
wplng_plugin_activation_redirect()
S
67 3 8
wplng_sdh_simple_html_dom_node::children()
S
66 3 9
wplng_sdh_simple_html_dom::copy_skip()
S
64 3 9
wplng_data_attr_url_to_translate()
S
54 1 27
wplng_data_switcher_valid_theme()
S
52 1 24
wplng_data_json_to_translate()
S
54 1 23
wplng_admin_notice_no_key_set()
S
55 1 21
wplng_data_attr_lang_id_to_replace()
S
59 1 19
wplng_register_part_api_key()
S
59 1 18
wplng_register_settings()
S
57 1 18
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::__unset()
S
76 2 4
wplng_text_is_translatable()
S
64 2 10
wplng_sdh_simple_html_dom_node::parent()
S
68 2 8
wplng_sdh_simple_html_dom::copy_until()
S
67 2 7
wplng_sdh_simple_html_dom_node::last_child()
S
72 2 6
wplng_get_languages_target_ids()
S
68 2 8
wplng_str_is_json()
S
74 2 4
wplng_translation_per_page()
S
72 2 6
wplng_clear_translations_cache_trash_untrash()
S
72 2 6
wplng_settings_part_api_key()
S
62 1 15
wplng_data_excluded_selector_default()
S
61 1 15
wplng_sdh_simple_html_dom::as_text_node()
S
65 2 8
wplng_sdh_simple_html_dom::link_nodes()
S
69 2 7
wplng_get_api_key()
S
69 2 7
wplng_sdh_simple_html_dom::load_file()
S
67 2 8
wplng_translation_remove_quick_edit()
S
68 2 8
wplng_sdh_simple_html_dom_node::first_child()
S
72 2 6
wplng_data_excluded_node_text()
S
63 1 13
wplng_register_part_premium()
S
63 1 13
wplng_settings_link()
S
61 1 12
wplng_str_is_locale_id()
S
62 1 12
wplng_create_menu_register()
S
64 1 11
wplng_text_esc()
S
65 1 9
wplng_data_excluded_json()
S
70 1 8
wplng_sdh_simple_html_dom_node::setAttribute()
S
80 1 3
wplng_data_excluded_editor_link()
S
67 1 10
wplng_sdh_simple_html_dom_node::previousSibling()
S
82 1 3
wplng_sdh_simple_html_dom::__destruct()
S
83 1 3
wplng_sdh_simple_html_dom::childNodes()
S
81 1 3
wplng_sdh_simple_html_dom::__toString()
S
82 1 3
wplng_sdh_file_get_html()
S
83 1 3
wplng_dictionary_get_entries_json()
S
72 1 6
wplng_sdh_simple_html_dom_node::xmltext()
S
70 1 6
wplng_sdh_simple_html_dom::getElementsById()
S
79 1 3
wplng_sdh_simple_html_dom_node::removeAttribute()
S
80 1 3
wplng_get_url_current()
S
77 1 4
wplng_sdh_simple_html_dom_node::firstChild()
S
82 1 3
wplng_shortcode_notranslate()
S
71 1 6
wplng_sdh_simple_html_dom::find()
S
79 1 3
wplng_sdh_simple_html_dom_node::childNodes()
S
81 1 3
wplng_data_switcher_valid_flags_style()
S
67 1 8
wplng_get_language_website()
S
81 1 3
wplng_sdh_simple_html_dom_node::nextSibling()
S
82 1 3
wplng_sdh_simple_html_dom_node::hasChildNodes()
S
82 1 3
wplng_sdh_simple_html_dom_node::parentNode()
S
82 1 3
wplng_sdh_simple_html_dom::set_callback()
S
82 1 3
wplng_sdh_dump_html_tree()
S
81 1 3
wplng_str_is_html()
S
80 1 3
wplng_data_switcher_valid_insert()
S
67 1 8
wplng_sdh_simple_html_dom_node::__destruct()
S
83 1 3
wplng_sdh_simple_html_dom::getElementByTagName()
S
80 1 3
wplng_sdh_simple_html_dom_node::lastChild()
S
82 1 3
wplng_data_switcher_valid_name_format()
S
67 1 8
wplng_sdh_simple_html_dom_node::getElementByTagName()
S
80 1 3
wplng_on_update_option_wplng_api_key()
S
72 1 6
wplng_sdh_simple_html_dom::lastChild()
S
82 1 3
wplng_sdh_simple_html_dom::dump()
S
81 1 3
wplng_sdh_simple_html_dom_node::clear()
S
72 1 6
wplng_sdh_simple_html_dom_node::getElementById()
S
79 1 3
wplng_sdh_simple_html_dom::createElement()
S
78 1 3
wplng_sdh_simple_html_dom_node::getElementsById()
S
79 1 3
wplng_get_language_name_untranslated()
S
80 1 3
wplng_sdh_simple_html_dom_node::appendChild()
S
77 1 4
wplng_sdh_simple_html_dom_node::has_child()
S
80 1 3
wplng_sdh_simple_html_dom_node::getAllAttributes()
S
83 1 3
wplng_sdh_simple_html_dom_node::getElementsByTagName()
S
80 1 3
wplng_clear_translations_cache()
S
82 1 3
wplng_data_switcher_valid_style()
S
69 1 7
wplng_sdh_simple_html_dom_node::__toString()
S
82 1 3
wplng_translation_add_meta_box()
S
66 1 10
wplng_sdh_simple_html_dom::save()
S
77 1 4
wplng_sdh_simple_html_dom::getElementById()
S
79 1 3
wplng_sdh_simple_html_dom_node::save()
S
77 1 4
wplng_sdh_simple_html_dom::getElementsByTagName()
S
80 1 3
wplng_sdh_simple_html_dom::createTextNode()
S
80 1 3
wplng_sdh_simple_html_dom_node::__construct()
S
77 1 4
wplng_sdh_simple_html_dom_node::nodeName()
S
83 1 3
wplng_sdh_simple_html_dom::firstChild()
S
82 1 3
wplng_sdh_simple_html_dom_node::getAttribute()
S
81 1 3
wplng_sdh_simple_html_dom_node::hasAttribute()
S
81 1 3
wplng_sdh_simple_html_dom::remove_callback()
S
82 1 3
wplng_sdh_simple_html_dom::loadFile()
S
77 1 4
wplng_api_feature_is_allow()
S
80 1 3