ConveyThis D

Total Complexity 652
Dependencies 9
Dependents 1
Total lines 2,933
Lines of code 2,309
Logical lines of code 1,371
Comment lines 53
Methods 88
Properties 5

Methods 88

Method Rating Maintainability Complexity Lines of code
domRecursiveRead()
D
21
65 174
domRecursiveApply()
D
25
45 169
_init()
D
25
47 135
_inline_script()
D
28
36 121
replaceSegments()
D
30 36 104
_translatePage()
D
30 32 106
__construct()
C
26
26 111
replaceLink()
B
41 21 52
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
unparse_url()
A
55 12 15
modify_admin_bar()
A
48 10 34
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
getLocation()
S
52 6 27
_check_target_languages()
S
54 6 24
plugin_update_option()
S
54 6 22
getTitle()
S
55 6 21
deleteQueryParams()
S
56 6 18
allowTranslateWholeTag()
S
56 6 17
plugin_activate()
S
43 4 47
updateRules()
S
52 5 26
updateDataPlugin()
S
45 4 41
checkRequestURI()
S
62 6 11
reqOnGetSettingsUser()
S
51 5 25
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
rank_math_opengraph_url()
S
64 4 9
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
isDismiss()
S
64 3 10
show_activation_message()
S
68 3 7
is_wordpress_url()
S
67 3 8
customLogs()
S
57 2 15
shouldTranslateWholeTag()
S
64 3 9
domLoad()
S
61 2 13
_admin_notices()
S
64 2 12
find_translation()
S
61 2 12
_check_style_change_language()
S
71 2 7
clear_post()
S
68 2 7
sendEvent()
S
73 2 4
_row_meta()
S
63 2 10
redirect_after_activate()
S
77 2 4
optionPermalinkChanged()
S
74 2 5
collectNode()
S
68 2 7
getSettingsOnStart()
S
66 2 8
Instance()
S
69 2 7
_check_style_change_flag()
S
71 2 7
_check_blockpages()
S
71 2 7
DOMinnerHTML()
S
67 2 8
getSubDomainLocation()
S
65 2 8
getPageHost()
S
71 2 5
allowCache()
S
78 2 3
_check_api_key()
S
64 2 10
getCurrentDomain()
S
77 1 3
clearCacheButton()
S
68 1 7
plugin_deactivate()
S
80 1 3
getDomainDetails()
S
74 1 4
_admin_menu()
S
66 1 10
getAccountByApiKey()
S
74 1 4
_settings_link()
S
74 1 4
get_conveythis_shortcode()
S
73 1 5
dataCheckAPI()
S
82 1 3
dismissNotice()
S
67 1 7
add_nav_menu_meta_boxes()
S
77 1 3
getWidgetStyles()
S
82 1 3
_menu_shortcode()
S
80 1 3
conveythis_register_default_dom_checkers()
S
82 1 3
getVariables()
S
82 1 3