Code Analysis: ConveyThis Translate 260

Function Rating Maintainability Complexity Lines of code
ConveyThis::domRecursiveRead()
D
21
69 169
ConveyThis::_init()
D
24
48 143
ConveyThis::replaceSegments()
D
25
48 136
ConveyThis::domRecursiveApply()
D
28
45 126
ConveyThis::_inline_script()
D
28
36 121
ConveyThis::_translatePage()
D
30 32 102
ConveyThis::__construct()
C
25
26 118
ConveyThisCache::flush_cache_on_activate()
C
40 25 58
ConveyThis::replaceLink()
B
40 22 56
ConveyThisAdminNotices::change_admin_notice_conveythis()
B
40 17 56
ConveyThisCache::clearPageCache()
B
49 18 30
ConveyThis::searchSegment()
B
44 17 43
ConveyThis::ajax_conveythis_save_settings()
A
36 12 84
ConveyThis::send()
A
41 14 53
ConveyThis::isPageExcluded()
A
47 14 33
ConveyThis::_admin_init()
A
37 11 71
ConveyThisCache::flush_cache()
A
50 12 31
ConveyThis::_alternate()
A
44 11 44
ConveyThis::getPageUrl()
A
47 11 39
ConveyThis::magellanlinkfilter()
A
47 11 35
ConveyThis::unparse_url()
A
55 12 15
ConveyThisAdminNotices::mb_admin_notice_pages()
A
54 11 20
ConveyThis::modify_admin_bar()
A
49 10 31
ConveyThis::getCurrentPlan()
A
48 9 30
ConveyThisCache::checkCachePlugin()
A
59 10 14
ConveyThis::_html_plugin()
A
44 8 41
ConveyThis::nav_menu_links()
A
48 8 39
JSLikeHTMLElement::__set()
A
49 8 29
ConveyThisSEO::yo_enable_custom_sitemap()
A
51 8 24
ConveyThis::print_log()
A
50 8 24
ConveyThis::genIcon()
A
53 8 23
ConveyThis::comparisonSegments()
A
49 7 33
ConveyThisSEO::sitemap_add_translated_urls()
S
50 7 26
ConveyThisCompetitorCheck::admin_notice()
S
51 7 25
ConveyThisSEO::modify_url()
S
52 7 21
ConveyThis::recursiveReplaceLinks()
S
60 7 13
ConveyThis::httpRequest()
S
59 7 12
ConveyThis::plugin_update_option()
S
54 6 22
ConveyThis::getTitle()
S
55 6 21
ConveyThis::plugin_activate()
S
43 4 49
ConveyThisCache::save_cached_slug()
S
55 6 19
ConveyThis::_check_target_languages()
S
56 6 19
ConveyThis::deleteQueryParams()
S
56 6 18
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::updateDataPlugin()
S
44 4 43
ConveyThis::checkRequestURI()
S
62 6 11
ConveyThis::reqOnGetSettingsUser()
S
51 5 25
ConveyThisSEO::yo_create_custom_sitemap()
S
52 5 24
ConveyThis::updateRules()
S
54 5 21
ConveyThis::getLocation()
S
55 5 20
ConveyThisCache::get_cached_translations()
S
57 5 15
ConveyThis::writeDataInBD()
S
60 5 13
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::handle_check_dns()
S
55 4 20
ConveyThis::find_original_slug()
S
56 4 18
ConveyThis::stringJsonToCSS()
S
57 4 16
ConveyThisSEO::sp_serve_custom_sitemaps()
S
57 4 16
ConveyThis::seopress_opengraph_url()
S
57 4 16
ConveyThisCache::clearDir()
S
58 4 15
ConveyThisCron::ConveyThisActivationCron()
S
66 5 7
ConveyThis::languageAccept()
S
59 4 14
Variables::__construct()
S
43 2 44
ConveyThisCache::save_cached_translations()
S
60 4 13
ConveyThis::collectNode()
S
61 4 11
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
ConveyThisCompetitorCheck::check_conflicts()
S
57 3 16
ConveyThisSEO::sp_sitemaps_xml_index()
S
58 3 15
ConveyThisSEO::yo_add_custom_sitemaps()
S
58 3 15
ConveyThis::plugin_uninstall()
S
46 1 45
ConveyThis::searchLanguage()
S
68 4 7
ConveyThis::isTextNodeExists()
S
64 4 9
ConveyThis::rank_math_opengraph_url()
S
64 4 9
ConveyThis::getTranslateSiteUrl()
S
61 3 12
ConveyThis::haveOptionEndSlash()
S
61 3 12
JSLikeHTMLElement::__get()
S
60 3 12
Variables::__call()
S
60 3 12
ConveyThis::removeDuplicates()
S
62 3 12
ConveyThisSEO::generate_custom_sitemap_content()
S
53 2 24
ConveyThisCache::clearAllCache()
S
69 3 6
ConveyThis::show_activation_message()
S
68 3 7
ConveyThisHelper::__callStatic()
S
64 3 9
ConveyThis::customLogs()
S
57 2 15
ConveyThis::pluginOptions()
S
64 3 10
ConveyThis::isDismiss()
S
64 3 10
ConveyThis::shouldTranslateWholeTag()
S
64 3 9
ConveyThis::is_wordpress_url()
S
67 3 8
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
65 2 11
ConveyThisAdminNotices::mb_display_admin_notices()
S
57 1 18
ConveyThisSEO::rank_math_sitemap_init()
S
65 2 8
ConveyThis::optionPermalinkChanged()
S
74 2 5
ConveyThis::allowCache()
S
78 2 3
ConveyThis::getPageHost()
S
71 2 5
ConveyThis::getSubDomainLocation()
S
65 2 8
ConveyThisWidget::widget()
S
65 2 8
ConveyThis::_check_style_change_language()
S
72 2 6
ConveyThis::redirect_after_activate()
S
77 2 4
ConveyThis::getSettingsOnStart()
S
66 2 8
ConveyThisSEO::sp_add_query_vars_filter()
S
68 2 7
ConveyThisWidget::update()
S
71 2 5
ConveyThis::_check_style_change_flag()
S
72 2 6
ConveyThisCache::dismissAllCacheMessages()
S
74 2 5
ConveyThisSEO::sp_custom_sitemaps_rewrite_rule()
S
67 2 7
ConveyThisAdminNotices::mb_admin_notice_ignore()
S
63 2 10
ConveyThis::DOMinnerHTML()
S
67 2 8
ConveyThis::_check_api_key()
S
64 2 10
ConveyThisSEO::wpseo_init_sitemap()
S
67 2 7
ConveyThisWidget::form()
S
64 2 9
ConveyThis::sendEvent()
S
73 2 4
ConveyThis::_row_meta()
S
64 2 9
ConveyThis::clear_post()
S
68 2 7
ConveyThis::Instance()
S
71 2 6
ConveyThis::_check_blockpages()
S
72 2 6
ConveyThisAdminNotices::mb_anti_notice_spam()
S
72 2 6
ConveyThisHelper::getLanguages()
S
62 1 12
ConveyThisSEO::__construct()
S
81 1 3
ConveyThis::get_conveythis_shortcode()
S
73 1 5
ConveyThis::dismissNotice()
S
67 1 7
ConveyThis::urlExists()
S
63 1 10
ConveyThisHelper::getApiKey()
S
81 1 3
ConveyThis::getDomainDetails()
S
74 1 4
ConveyThisWidget::__construct()
S
69 1 7
ConveyThisHelper::getCurrentLanguage()
S
81 1 3
ConveyThis::_admin_menu()
S
66 1 10
wp_register_widget()
S
82 1 3
Variables::camelToSnake()
S
78 1 3
ConveyThis::getVariables()
S
82 1 3
ConveyThis::dataCheckAPI()
S
82 1 3
ConveyThis::clearCacheButton()
S
68 1 7
ConveyThisHelper::getBaseUrl()
S
81 1 3
ConveyThis::getAccountByApiKey()
S
74 1 4
ConveyThis::get_target_languages()
S
82 1 3
ConveyThis::add_nav_menu_meta_boxes()
S
77 1 3
ConveyThis::conveythis_register_default_dom_checkers()
S
82 1 3
ConveyThis::_settings_link()
S
74 1 4
ConveyThisCron::__construct()
S
91 1 2
ConveyThisCache::getCacheLangDir()
S
79 1 3
ConveyThis::plugin_deactivate()
S
80 1 3
ConveyThis::_menu_shortcode()
S
80 1 3
ConveyThisHelper::getExclusions()
S
70 1 6
ConveyThisHelper::getSourceLanguage()
S
81 1 3
ConveyThisHelper::getWpPatterns()
S
81 1 3
ConveyThis::getWidgetStyles()
S
82 1 3
JSLikeHTMLElement::__toString()
S
80 1 3
ConveyThisSEO::sitemap_add_xhtml_to_urlset()
S
75 1 4
ConveyThis::getCurrentDomain()
S
77 1 3
ConveyThisCache::__construct()
S
91 1 2
ConveyThisCache::getCacheFileName()
S
79 1 3
ConveyThisHelper::getDefaultLanguage()
S
81 1 3
ConveyThisAdminNotices::__construct()
S
72 1 5
ConveyThisCron::ConveyThisDeactivationCron()
S
80 1 3
ConveyThisHelper::__construct()
S
76 1 4
ConveyThisHelper::getTargetLanguages()
S
81 1 3