Code Analysis: wpLingua 1.0.5

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_translate_html()
D
30 31 122
wplng_translation_meta_box_html_output()
C
28
26 149
wplng_ob_callback_editor()
C
29 25 133
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_sdh_simple_html_dom_node::parse_selector()
B
39 22 64
wplng_option_page_switcher()
B
29 13 186
wplng_translation_save_meta_boxes_data()
B
37 20 75
wplng_translate_json_array()
B
35 17 104
wplng_api_call_translate()
B
38 19 69
wplng_option_page_register()
B
33 13 128
wplng_url_translate()
B
41 17 58
wplng_sdh_simple_html_dom_node::outertext()
B
44 17 41
wplng_get_api_data()
A
43 15 51
wplng_ob_callback_translate_html()
A
39 13 78
wplng_ob_callback_list()
A
39 13 76
wplng_json_element_is_translatable()
A
45 15 44
wplng_get_languages_all()
A
44 15 42
wplng_get_modal_switcher_html()
A
37 12 81
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_admin_bar_menu()
A
36 9 105
wplng_update_translation()
A
39 11 74
wplng_get_translations_from_query()
A
42 12 52
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_exclude_woocommerce_url()
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_options_switcher_update_flags_style()
A
44 10 49
wplng_sdh_simple_html_dom_node::text()
A
49 11 30
wplng_ob_callback_translate_json()
A
43 9 57
wplng_sdh_simple_html_dom::parse_attr()
A
48 10 33
wplng_settings_part_language_website()
A
40 7 75
wplng_ob_start()
A
45 9 42
wplng_sdh_simple_html_dom_node::match()
A
50 10 26
wplng_sdh_simple_html_dom_node::dump_node()
A
46 9 39
wplng_get_editor_modal_html()
A
41 7 64
wplng_get_translations_target()
A
51 9 28
wplng_get_api_languages_target()
A
52 9 25
wplng_start()
A
41 7 54
wplng_shortcode_only()
A
47 8 38
wplng_sdh_simple_html_dom_node::makeup()
A
47 8 36
wplng_translate_search_query()
A
49 8 36
wplng_get_translated_text_from_translations()
A
50 8 31
wplng_register_assets()
A
47 7 42
wplng_option_page_switcher_assets()
A
44 6 54
wplng_sdh_simple_html_dom_node::removeChild()
A
53 8 22
wplng_get_languages_target_simplified()
A
54 8 21
wplng_save_translation_new()
A
41 5 62
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_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_ob_callback_ajax()
S
49 6 32
wplng_settings_part_first_use()
S
47 5 42
wplng_sdh_simple_html_dom::remove_noise()
S
52 6 24
wplng_save_translations()
S
55 6 21
wplng_sdh_simple_html_dom_node::removeClass()
S
56 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_html_replace_exclude_tag()
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_link_alternate_hreflang()
S
49 5 32
wplng_get_languages_target()
S
58 6 15
wplng_is_valid_language_id()
S
59 6 15
wplng_sdh_simple_html_dom::__get()
S
61 6 14
wplng_get_translation_saved_from_original()
S
50 5 29
wplng_get_api_feature()
S
60 6 13
wplng_translate_js()
S
52 5 28
wplng_settings_part_languages_target()
S
45 3 58
wplng_get_selector_exclude()
S
53 5 25
wplng_option_page_settings()
S
46 3 54
wplng_get_url_exclude_regex()
S
54 5 22
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_html_set_exclude_tag()
S
55 5 19
wplng_get_switcher_flags_style()
S
58 5 17
wplng_data_attr_text_to_translate()
S
42 1 75
wplng_get_languages_by_ids()
S
61 5 13
wplng_get_languages_allow()
S
60 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_translate_json()
S
58 4 18
wplng_get_language_name_translated()
S
58 4 17
wplng_sdh_simple_html_dom::copy_until_char()
S
58 4 16
wplng_get_language_id()
S
64 5 10
wplng_inline_script_languages()
S
59 4 15
wplng_sdh_simple_html_dom::parse()
S
58 4 15
wplng_get_language_website_id()
S
60 4 14
wplng_get_language_name()
S
62 4 13
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_option_page_exclusions()
S
46 1 54
wplng_sdh_simple_html_dom::load()
S
52 3 24
wplng_settings_part_features()
S
54 3 23
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::search_noise()
S
64 4 10
wplng_get_language_website_flag()
S
59 3 15
wplng_sdh_simple_html_dom_node::prev_sibling()
S
63 4 10
wplng_get_language_by_id()
S
65 4 9
wplng_get_url_original()
S
59 3 15
wplng_sdh_simple_html_dom_node::next_sibling()
S
63 4 10
wplng_create_menu()
S
48 1 43
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_sdh_simple_html_dom_node::children()
S
66 3 9
wplng_sdh_simple_html_dom::copy_skip()
S
64 3 9
wplng_parse_json()
S
65 3 9
wplng_ob_callback_translate()
S
64 3 10
wplng_get_url_current_for_language()
S
64 3 10
wplng_exclude_search()
S
77 3 3
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
58 1 17
wplng_sdh_simple_html_dom::link_nodes()
S
69 2 7
wplng_clear_translations_cache_trash_untrash()
S
72 2 6
wplng_sdh_simple_html_dom_node::__unset()
S
76 2 4
wplng_sdh_simple_html_dom::load_file()
S
67 2 8
wplng_sdh_simple_html_dom_node::first_child()
S
72 2 6
wplng_translation_per_page()
S
72 2 6
wplng_sdh_simple_html_dom::copy_until()
S
67 2 7
wplng_sdh_simple_html_dom::as_text_node()
S
65 2 8
wplng_get_api_key()
S
69 2 7
wplng_settings_part_api_key()
S
62 1 15
wplng_sdh_simple_html_dom_node::remove()
S
75 2 5
wplng_sdh_simple_html_dom_node::parent()
S
68 2 8
wplng_text_is_translatable()
S
64 2 10
wplng_sdh_simple_html_dom::skip()
S
73 2 4
wplng_translation_remove_quick_edit()
S
68 2 8
wplng_data_excluded_selector_default()
S
61 1 15
wplng_get_languages_target_ids()
S
68 2 8
wplng_str_is_json()
S
74 2 4
wplng_sdh_simple_html_dom_node::last_child()
S
72 2 6
wplng_data_excluded_node_text()
S
63 1 13
wplng_register_part_premium()
S
63 1 13
wplng_str_is_locale_id()
S
62 1 12
wplng_settings_link()
S
61 1 12
wplng_create_menu_register()
S
64 1 11
wplng_api_feature_is_allow()
S
80 1 3
wplng_sdh_simple_html_dom::save()
S
77 1 4
wplng_shortcode_notranslate()
S
71 1 6
wplng_sdh_simple_html_dom::set_callback()
S
82 1 3
wplng_sdh_simple_html_dom_node::getElementByTagName()
S
80 1 3
wplng_translation_add_meta_box()
S
66 1 10
wplng_sdh_simple_html_dom::firstChild()
S
82 1 3
wplng_sdh_simple_html_dom_node::__toString()
S
82 1 3
wplng_sdh_simple_html_dom::getElementsByTagName()
S
80 1 3
wplng_sdh_simple_html_dom_node::hasAttribute()
S
81 1 3
wplng_sdh_simple_html_dom_node::save()
S
77 1 4
wplng_data_switcher_valid_insert()
S
67 1 8
wplng_sdh_simple_html_dom::createTextNode()
S
80 1 3
wplng_sdh_simple_html_dom::createElement()
S
78 1 3
wplng_sdh_file_get_html()
S
83 1 3
wplng_data_switcher_valid_style()
S
69 1 7
wplng_sdh_simple_html_dom::__destruct()
S
83 1 3
wplng_data_excluded_json()
S
70 1 8
wplng_sdh_simple_html_dom_node::lastChild()
S
82 1 3
wplng_sdh_simple_html_dom_node::getAttribute()
S
81 1 3
wplng_on_update_option_wplng_api_key()
S
72 1 6
wplng_data_excluded_editor_link()
S
67 1 10
wplng_get_language_name_untranslated()
S
80 1 3
wplng_data_switcher_valid_name_format()
S
67 1 8
wplng_sdh_simple_html_dom::dump()
S
81 1 3
wplng_get_language_website()
S
81 1 3
wplng_sdh_simple_html_dom_node::getElementsByTagName()
S
80 1 3
wplng_sdh_simple_html_dom::childNodes()
S
81 1 3
wplng_sdh_simple_html_dom::getElementById()
S
79 1 3
wplng_sdh_simple_html_dom_node::removeAttribute()
S
80 1 3
wplng_sdh_simple_html_dom::__toString()
S
82 1 3
wplng_sdh_simple_html_dom::getElementByTagName()
S
80 1 3
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::xmltext()
S
70 1 6
wplng_sdh_simple_html_dom_node::getElementById()
S
79 1 3
wplng_sdh_simple_html_dom::find()
S
79 1 3
wplng_sdh_simple_html_dom_node::nodeName()
S
83 1 3
wplng_data_switcher_valid_flags_style()
S
67 1 8
wplng_str_is_html()
S
80 1 3
wplng_sdh_simple_html_dom_node::setAttribute()
S
80 1 3
wplng_sdh_simple_html_dom_node::appendChild()
S
77 1 4
wplng_clear_translations_cache()
S
82 1 3
wplng_get_url_current()
S
77 1 4
wplng_sdh_dump_html_tree()
S
81 1 3
wplng_sdh_simple_html_dom_node::parentNode()
S
82 1 3
wplng_sdh_simple_html_dom_node::getElementsById()
S
79 1 3
wplng_sdh_simple_html_dom_node::__construct()
S
77 1 4
wplng_sdh_simple_html_dom_node::childNodes()
S
81 1 3
wplng_sdh_simple_html_dom_node::getAllAttributes()
S
83 1 3
wplng_sdh_simple_html_dom_node::previousSibling()
S
82 1 3
wplng_sdh_simple_html_dom_node::firstChild()
S
82 1 3
wplng_text_esc()
S
65 1 9
wplng_sdh_simple_html_dom::getElementsById()
S
79 1 3
wplng_sdh_simple_html_dom_node::__destruct()
S
83 1 3
wplng_sdh_simple_html_dom_node::has_child()
S
80 1 3
wplng_sdh_simple_html_dom_node::clear()
S
72 1 6
wplng_sdh_simple_html_dom_node::hasChildNodes()
S
82 1 3
wplng_sdh_simple_html_dom_node::nextSibling()
S
82 1 3
wplng_sdh_simple_html_dom::remove_callback()
S
82 1 3