ConveyThis D

Total Complexity 617
Dependencies 9
Dependents 1
Total lines 2,878
Lines of code 2,213
Logical lines of code 1,288
Comment lines 66
Methods 83
Properties 5

Methods 83

Method Rating Maintainability Complexity Lines of code
domRecursiveRead()
D
21
65 174
domRecursiveApply()
D
26
44 166
_init()
D
25
46 135
_inline_script()
D
28
36 131
replaceSegments()
D
30 36 104
_translatePage()
D
30 32 106
__construct()
C
26
26 106
replaceLink()
B
42 20 48
searchSegment()
B
44 17 43
send()
A
39 14 63
_admin_init()
A
37 11 73
_alternate()
A
42 12 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
genIcon()
A
51 8 29
comparisonSegments()
A
49 7 33
recursiveReplaceLinks()
S
60 7 13
httpRequest()
S
59 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 48
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
searchLanguage()
S
66 4 9
isTextNodeExists()
S
64 4 9
plugin_uninstall()
S
46 1 44
removeDuplicates()
S
62 3 12
haveOptionEndSlash()
S
61 3 12
getTranslateSiteUrl()
S
61 3 12
pluginOptions()
S
63 3 11
rank_math_opengraph_url()
S
64 3 9
customLogs()
S
57 2 15
show_activation_message()
S
68 3 7
is_wordpress_url()
S
67 3 8
isDismiss()
S
64 3 10
shouldTranslateWholeTag()
S
64 3 9
domLoad()
S
61 2 13
find_translation()
S
61 2 12
_admin_notices()
S
64 2 12
getSubDomainLocation()
S
62 2 11
collectNode()
S
68 2 7
sendEvent()
S
73 2 4
optionPermalinkChanged()
S
74 2 5
_check_api_key()
S
64 2 10
_check_style_change_language()
S
71 2 7
Instance()
S
69 2 7
redirect_after_activate()
S
77 2 4
getPageHost()
S
71 2 5
_row_meta()
S
63 2 10
_check_style_change_flag()
S
71 2 7
getSettingsOnStart()
S
66 2 8
DOMinnerHTML()
S
66 2 9
allowCache()
S
78 2 3
clear_post()
S
68 2 7
_check_blockpages()
S
71 2 7
getWidgetStyles()
S
82 1 3
dataCheckAPI()
S
83 1 3
dismissNotice()
S
67 1 7
get_conveythis_shortcode()
S
76 1 4
plugin_deactivate()
S
80 1 3
getCurrentDomain()
S
77 1 3
_menu_shortcode()
S
80 1 3
getAccountByApiKey()
S
74 1 4
getDomainDetails()
S
74 1 4
_admin_menu()
S
66 1 10
_settings_link()
S
74 1 4
add_nav_menu_meta_boxes()
S
77 1 3
clearCacheButton()
S
68 1 7