ConveyThis D

Total Complexity 802
Dependencies 11
Dependents 1
Total lines 3,377
Lines of code 2,838
Logical lines of code 1,838
Comment lines 149
Methods 95
Properties 6

Methods 95

Method Rating Maintainability Complexity Lines of code
domRecursiveRead()
D
21
69 171
replaceSegments()
D
20
60 178
init()
D
23
51 156
translatePage()
D
22
48 175
domRecursiveApply()
D
28
45 127
inline_script()
D
28
36 121
__construct()
D
22
31 147
is_local_link()
C
33 25 100
alternate()
C
34 25 91
replaceLink()
B
39 23 61
html_plugin()
B
37 17 72
searchSegment()
B
44 17 44
ajax_conveythis_save_settings()
A
36 12 87
send()
A
41 14 55
isPageExcluded()
A
47 14 34
admin_init()
A
37 11 73
getPageUrl()
A
47 11 40
magellanlinkfilter()
A
46 11 37
unparse_url()
A
55 12 16
modify_admin_bar()
A
49 10 30
recursiveAddTextValues()
A
51 10 25
filterLdJsonScripts()
A
54 10 21
getCurrentPlan()
A
48 9 31
nav_menu_links()
A
47 8 40
genIcon()
A
52 8 24
print_log()
A
50 8 24
comparisonSegments()
A
49 7 33
recursiveReplaceLinks()
S
59 7 14
httpRequest()
S
59 7 13
getTitle()
S
55 6 22
plugin_update_option()
S
54 6 22
plugin_activate()
S
42 4 51
check_target_languages()
S
55 6 20
deleteQueryParams()
S
55 6 19
allowTranslateWholeTag()
S
55 6 18
updateDataPlugin()
S
43 4 46
recursiveReplaceTranslations()
S
58 6 14
reqOnGetSettingsUser()
S
50 5 28
checkRequestURI()
S
61 6 12
updateRules()
S
54 5 22
getLocation()
S
54 5 21
writeDataInBD()
S
58 5 16
filterSegments()
S
62 5 12
getEventOptionName()
S
63 5 11
handle_check_dns()
S
54 4 21
find_original_slug()
S
56 4 19
seopress_opengraph_url()
S
56 4 17
stringJsonToCSS()
S
57 4 16
collectNode()
S
61 4 11
plugin_uninstall()
S
45 1 47
rank_math_opengraph_url()
S
63 4 10
searchLanguage()
S
66 4 8
isTextNodeExists()
S
64 4 9
removeDuplicates()
S
61 3 13
getTranslateSiteUrl()
S
60 3 13
isDismiss()
S
62 3 11
pluginOptions()
S
64 3 10
shouldTranslateWholeTag()
S
63 3 10
is_wordpress_url()
S
66 3 9
show_activation_message()
S
68 3 7
domLoad()
S
60 2 14
find_translation()
S
60 2 13
admin_notices()
S
65 2 11
check_api_key()
S
63 2 11
clear_post()
S
66 2 8
row_meta()
S
63 2 10
getSettingsOnStart()
S
64 2 9
check_style_change_language()
S
70 2 7
check_style_change_flag()
S
70 2 7
check_blockpages()
S
70 2 7
getPageHost()
S
69 2 6
getSubDomainLocation()
S
64 2 9
DOMinnerHTML()
S
66 2 9
allowCache()
S
74 2 4
Instance()
S
71 2 6
optionPermalinkChanged()
S
74 2 5
sendEvent()
S
73 2 4
urlExists()
S
62 1 11
get_target_languages()
S
77 1 4
conveythis_register_default_dom_checkers()
S
77 1 4
_menu_shortcode()
S
80 1 3
add_nav_menu_meta_boxes()
S
73 1 4
settings_link()
S
74 1 4
admin_menu()
S
66 1 10
clearCacheButton()
S
66 1 8
dataCheckAPI()
S
77 1 4
getAccountByApiKey()
S
72 1 5
getDomainDetails()
S
71 1 5
update_local_links()
S
82 1 3
get_conveythis_shortcode()
S
70 1 6
getCurrentDomain()
S
77 1 3
plugin_deactivate()
S
80 1 3
dismissNotice()
S
66 1 8
getWidgetStyles()
S
77 1 4
getVariables()
S
77 1 4