ConveyThis D

Total Complexity 612
Dependencies 9
Dependents 0
Total lines 2,834
Lines of code 2,185
Logical lines of code 1,287
Comment lines 64
Methods 78
Properties 5

Methods 78

Method Rating Maintainability Complexity Lines of code
domRecursiveRead()
D
21
65 174
_inline_script()
D
23
48 163
domRecursiveApply()
D
26
44 166
_init()
D
25
46 135
replaceSegments()
D
30 35 102
_translatePage()
D
30 32 104
__construct()
C
28
22 95
replaceLink()
B
42 20 48
searchSegment()
B
44 17 43
send()
A
39 14 63
_alternate()
A
42 12 51
magellanlinkfilter()
A
45 11 44
getPageUrl()
A
48 11 37
_admin_init()
A
39 8 67
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
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
deleteQueryParams()
S
55 6 20
plugin_activate()
S
43 4 47
allowTranslateWholeTag()
S
56 6 17
updateRules()
S
52 5 26
checkRequestURI()
S
62 6 11
updateDataPlugin()
S
45 4 41
reqOnGetSettingsUser()
S
51 5 25
getLocation()
S
53 5 24
writeDataInBD()
S
60 5 13
getEventOptionName()
S
63 5 11
filterSegments()
S
63 5 11
find_original_slug()
S
56 4 18
languageAccept()
S
57 4 17
seopress_opengraph_url()
S
57 4 16
isTextNodeExists()
S
64 4 9
searchLanguage()
S
66 4 9
plugin_uninstall()
S
47 1 42
getTranslateSiteUrl()
S
61 3 12
haveOptionEndSlash()
S
61 3 12
pluginOptions()
S
63 3 11
is_wordpress_url()
S
67 3 8
isDismiss()
S
64 3 10
rank_math_opengraph_url()
S
64 3 9
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
getSubDomainLocation()
S
62 2 11
clear_post()
S
68 2 7
DOMinnerHTML()
S
66 2 9
sendEvent()
S
73 2 4
redirect_after_activate()
S
77 2 4
getPageHost()
S
71 2 5
optionPermalinkChanged()
S
74 2 5
getSettingsOnStart()
S
66 2 8
Instance()
S
69 2 7
_check_api_key()
S
64 2 10
_row_meta()
S
63 2 10
_check_style_change_language()
S
71 2 7
collectNode()
S
68 2 7
_check_style_change_flag()
S
71 2 7
_check_blockpages()
S
71 2 7
allowCache()
S
78 2 3
getCurrentDomain()
S
77 1 3
dataCheckAPI()
S
83 1 3
plugin_deactivate()
S
80 1 3
add_nav_menu_meta_boxes()
S
77 1 3
_settings_link()
S
74 1 4
_menu_shortcode()
S
80 1 3
dismissNotice()
S
67 1 7
_admin_menu()
S
66 1 10
getWidgetStyles()
S
82 1 3
get_conveythis_shortcode()
S
76 1 4