ConveyThis D

Total Complexity 647
Dependencies 9
Dependents 1
Total lines 2,923
Lines of code 2,297
Logical lines of code 1,364
Comment lines 53
Methods 88
Properties 5

Methods 88

Method Rating Maintainability Complexity Lines of code
domRecursiveRead()
D
21
65 174
_init()
D
25
47 135
domRecursiveApply()
D
26
44 166
_inline_script()
D
28
36 121
replaceSegments()
D
30 36 104
_translatePage()
D
30 32 106
__construct()
C
26
26 111
replaceLink()
B
42 20 48
searchSegment()
B
44 17 43
send()
A
39 14 63
isPageExcluded()
A
47 14 33
_admin_init()
A
37 11 71
_alternate()
A
42 11 53
magellanlinkfilter()
A
45 11 44
getPageUrl()
A
48 11 37
modify_admin_bar()
A
48 10 34
unparse_url()
A
57 11 13
nav_menu_links()
A
46 8 48
getCurrentPlan()
A
48 9 30
_html_plugin()
A
44 8 41
genIcon()
A
51 8 29
comparisonSegments()
A
49 7 33
httpRequest()
S
59 7 13
recursiveReplaceLinks()
S
60 7 13
_check_target_languages()
S
54 6 24
plugin_update_option()
S
54 6 22
getTitle()
S
55 6 21
deleteQueryParams()
S
56 6 18
plugin_activate()
S
43 4 47
allowTranslateWholeTag()
S
56 6 17
checkRequestURI()
S
62 6 11
updateRules()
S
52 5 26
updateDataPlugin()
S
45 4 41
reqOnGetSettingsUser()
S
51 5 25
getLocation()
S
53 5 24
writeDataInBD()
S
60 5 13
filterSegments()
S
63 5 11
getEventOptionName()
S
63 5 11
find_original_slug()
S
56 4 18
seopress_opengraph_url()
S
57 4 16
languageAccept()
S
59 4 14
isTextNodeExists()
S
64 4 9
searchLanguage()
S
66 4 9
plugin_uninstall()
S
46 1 43
removeDuplicates()
S
62 3 12
haveOptionEndSlash()
S
61 3 12
getTranslateSiteUrl()
S
61 3 12
pluginOptions()
S
63 3 11
is_wordpress_url()
S
67 3 8
isDismiss()
S
64 3 10
customLogs()
S
57 2 15
show_activation_message()
S
68 3 7
shouldTranslateWholeTag()
S
64 3 9
rank_math_opengraph_url()
S
64 3 9
domLoad()
S
61 2 13
_admin_notices()
S
64 2 12
find_translation()
S
61 2 12
optionPermalinkChanged()
S
74 2 5
redirect_after_activate()
S
77 2 4
sendEvent()
S
73 2 4
Instance()
S
69 2 7
collectNode()
S
68 2 7
getSettingsOnStart()
S
66 2 8
_check_style_change_language()
S
71 2 7
_check_style_change_flag()
S
71 2 7
_check_blockpages()
S
71 2 7
_check_api_key()
S
64 2 10
allowCache()
S
78 2 3
getPageHost()
S
71 2 5
getSubDomainLocation()
S
65 2 8
DOMinnerHTML()
S
67 2 8
clear_post()
S
68 2 7
_row_meta()
S
63 2 10
_menu_shortcode()
S
80 1 3
getWidgetStyles()
S
82 1 3
dismissNotice()
S
67 1 7
add_nav_menu_meta_boxes()
S
77 1 3
get_conveythis_shortcode()
S
73 1 5
_settings_link()
S
74 1 4
_admin_menu()
S
66 1 10
plugin_deactivate()
S
80 1 3
getCurrentDomain()
S
77 1 3
clearCacheButton()
S
68 1 7
dataCheckAPI()
S
82 1 3
getAccountByApiKey()
S
74 1 4
getDomainDetails()
S
74 1 4
conveythis_register_default_dom_checkers()
S
82 1 3
getVariables()
S
82 1 3