Code Analysis: ConveyThis Translate 230

Function Rating Maintainability Complexity Lines of code
ConveyThis::domRecursiveRead()
D
21
65 174
ConveyThis::_inline_script()
D
23
48 163
ConveyThis::domRecursiveApply()
D
26
44 166
ConveyThis::_init()
D
25
46 135
ConveyThis::replaceSegments()
D
30 35 102
ConveyThis::_translatePage()
D
30 32 104
ConveyThisCache::flush_cache_on_activate()
C
40 25 58
ConveyThis::__construct()
C
28
22 95
ConveyThis::replaceLink()
B
42 20 48
ConveyThisAdminNotices::change_admin_notice_conveythis()
B
40 17 56
ConveyThisCache::clearPageCache()
B
49 18 30
ConveyThis::searchSegment()
B
44 17 43
ConveyThis::send()
A
39 14 63
ConveyThis::_alternate()
A
42 12 51
ConveyThisCache::flush_cache()
A
50 12 31
ConveyThis::magellanlinkfilter()
A
45 11 44
ConveyThis::getPageUrl()
A
48 11 37
ConveyThis::_admin_init()
A
39 8 67
ConveyThisAdminNotices::mb_admin_notice_pages()
A
54 11 20
ConveyThis::modify_admin_bar()
A
48 10 34
ConveyThis::unparse_url()
A
57 11 13
ConveyThisSEO::sitemap_add_translated_urls()
A
46 9 36
ConveyThis::nav_menu_links()
A
46 8 48
ConveyThis::getCurrentPlan()
A
48 9 30
ConveyThisCache::checkCachePlugin()
A
59 10 14
JSLikeHTMLElement::__set()
A
49 8 29
ConveyThis::genIcon()
A
51 8 29
ConveyThisSEO::yo_enable_custom_sitemap()
A
51 8 24
ConveyThis::comparisonSegments()
A
49 7 33
ConveyThisSEO::modify_url()
S
52 7 21
ConveyThis::recursiveReplaceLinks()
S
60 7 13
ConveyThis::httpRequest()
S
59 7 13
ConveyThis::_check_target_languages()
S
54 6 24
ConveyThis::plugin_update_option()
S
54 6 22
ConveyThis::deleteQueryParams()
S
55 6 20
ConveyThisCache::save_cached_slug()
S
55 6 19
ConveyThis::plugin_activate()
S
43 4 47
ConveyThis::allowTranslateWholeTag()
S
56 6 17
ConveyThisCron::ClearCache()
S
56 6 17
ConveyThisCache::clear_cached_translations()
S
58 6 16
ConveyThisAdminNotices::mb_required_fields()
S
64 7 9
ConveyThis::checkRequestURI()
S
62 6 11
ConveyThis::updateRules()
S
52 5 26
ConveyThis::updateDataPlugin()
S
45 4 41
ConveyThis::reqOnGetSettingsUser()
S
51 5 25
ConveyThis::getLocation()
S
53 5 24
ConveyThisSEO::yo_create_custom_sitemap()
S
52 5 24
ConveyThisCache::get_cached_translations()
S
57 5 15
ConveyThis::writeDataInBD()
S
60 5 13
Variables::__construct()
S
44 3 42
ConveyThis::getEventOptionName()
S
63 5 11
ConveyThisAdminNotices::mb_admin_notices()
S
62 5 11
ConveyThis::filterSegments()
S
63 5 11
ConveyThisSEO::rm_add_custom_sitemaps()
S
53 4 23
ConveyThis::find_original_slug()
S
56 4 18
ConveyThis::languageAccept()
S
57 4 17
ConveyThis::seopress_opengraph_url()
S
57 4 16
ConveyThisSEO::sp_serve_custom_sitemaps()
S
57 4 16
ConveyThisCache::clearDir()
S
58 4 15
ConveyThisCron::ConveyThisActivationCron()
S
66 5 7
ConveyThisCache::save_cached_translations()
S
60 4 13
ConveyThisCache::get_cached_slug()
S
62 4 11
ConveyThisCron::ConveyThisСustomСronSchedule()
S
56 3 19
ConveyThisAdminNotices::mb_admin_notice_temp_ignore()
S
56 3 16
ConveyThis::searchLanguage()
S
66 4 9
ConveyThis::isTextNodeExists()
S
64 4 9
ConveyThisSEO::sp_sitemaps_xml_index()
S
58 3 15
ConveyThisSEO::yo_add_custom_sitemaps()
S
58 3 15
ConveyThis::getTranslateSiteUrl()
S
61 3 12
ConveyThis::plugin_uninstall()
S
47 1 42
JSLikeHTMLElement::__get()
S
60 3 12
ConveyThis::haveOptionEndSlash()
S
61 3 12
ConveyThis::pluginOptions()
S
63 3 11
ConveyThisSEO::generate_custom_sitemap_content()
S
53 2 24
ConveyThis::shouldTranslateWholeTag()
S
64 3 9
ConveyThisCache::clearAllCache()
S
69 3 6
ConveyThis::is_wordpress_url()
S
67 3 8
ConveyThis::rank_math_opengraph_url()
S
64 3 9
ConveyThis::customLogs()
S
57 2 15
ConveyThis::isDismiss()
S
64 3 10
ConveyThisSEO::rm_enable_custom_sitemap()
S
59 2 14
ConveyThis::domLoad()
S
61 2 13
ConveyThis::find_translation()
S
61 2 12
ConveyThis::_admin_notices()
S
64 2 12
ConveyThis::getSubDomainLocation()
S
62 2 11
ConveyThisSEO::sp_custom_sitemaps_rewrite_rule()
S
67 2 7
ConveyThis::clear_post()
S
68 2 7
ConveyThis::_row_meta()
S
63 2 10
ConveyThis::Instance()
S
69 2 7
ConveyThisWidget::widget()
S
65 2 8
ConveyThis::_check_style_change_flag()
S
71 2 7
ConveyThisAdminNotices::mb_anti_notice_spam()
S
72 2 6
ConveyThis::_check_blockpages()
S
71 2 7
ConveyThis::_check_style_change_language()
S
71 2 7
ConveyThis::optionPermalinkChanged()
S
74 2 5
ConveyThis::allowCache()
S
78 2 3
ConveyThis::getSettingsOnStart()
S
66 2 8
ConveyThisWidget::update()
S
71 2 5
ConveyThisWidget::form()
S
64 2 9
ConveyThis::redirect_after_activate()
S
77 2 4
ConveyThisCache::dismissAllCacheMessages()
S
74 2 5
ConveyThis::_check_api_key()
S
64 2 10
ConveyThisSEO::sp_add_query_vars_filter()
S
68 2 7
ConveyThis::DOMinnerHTML()
S
66 2 9
ConveyThisSEO::wpseo_init_sitemap()
S
67 2 7
ConveyThisSEO::rank_math_sitemap_init()
S
65 2 8
ConveyThis::collectNode()
S
68 2 7
ConveyThis::sendEvent()
S
73 2 4
ConveyThis::getPageHost()
S
71 2 5
ConveyThisAdminNotices::mb_admin_notice_ignore()
S
63 2 10
ConveyThisAdminNotices::mb_display_admin_notices()
S
59 1 14
ConveyThis::add_nav_menu_meta_boxes()
S
77 1 3
ConveyThis::dismissNotice()
S
67 1 7
ConveyThisCache::__construct()
S
91 1 2
JSLikeHTMLElement::__toString()
S
80 1 3
wp_register_widget()
S
82 1 3
ConveyThis::dataCheckAPI()
S
83 1 3
ConveyThisWidget::__construct()
S
69 1 7
ConveyThisCron::ConveyThisDeactivationCron()
S
80 1 3
ConveyThisSEO::__construct()
S
81 1 3
ConveyThisCache::getCacheLangDir()
S
79 1 3
ConveyThis::_admin_menu()
S
66 1 10
ConveyThis::getCurrentDomain()
S
77 1 3
ConveyThisAdminNotices::__construct()
S
72 1 5
ConveyThisCache::clearCacheTime()
S
91 1 2
ConveyThis::_menu_shortcode()
S
80 1 3
ConveyThis::get_conveythis_shortcode()
S
76 1 4
ConveyThis::getWidgetStyles()
S
82 1 3
ConveyThis::_settings_link()
S
74 1 4
ConveyThis::plugin_deactivate()
S
80 1 3
ConveyThisCron::__construct()
S
91 1 2
ConveyThisCache::getCacheFileName()
S
79 1 3
ConveyThisSEO::sitemap_add_xhtml_to_urlset()
S
75 1 4