ConveyThis D

Total Complexity 619
Dependencies 9
Dependents 0
Total lines 2,869
Lines of code 2,212
Logical lines of code 1,306
Comment lines 64
Methods 80
Properties 5

Methods 80

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 36 104
_translatePage()
D
30 32 106
__construct()
C
28
22 95
replaceLink()
B
42 20 48
searchSegment()
B
44 17 43
send()
A
39 14 63
_alternate()
A
42 12 53
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
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
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
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
46 1 43
haveOptionEndSlash()
S
61 3 12
getTranslateSiteUrl()
S
61 3 12
removeDuplicates()
S
62 3 12
pluginOptions()
S
63 3 11
shouldTranslateWholeTag()
S
64 3 9
isDismiss()
S
64 3 10
show_activation_message()
S
68 3 7
customLogs()
S
57 2 15
rank_math_opengraph_url()
S
64 3 9
is_wordpress_url()
S
67 3 8
domLoad()
S
61 2 13
_admin_notices()
S
64 2 12
find_translation()
S
61 2 12
getSubDomainLocation()
S
62 2 11
_row_meta()
S
63 2 10
sendEvent()
S
73 2 4
collectNode()
S
68 2 7
redirect_after_activate()
S
77 2 4
getSettingsOnStart()
S
66 2 8
optionPermalinkChanged()
S
74 2 5
DOMinnerHTML()
S
66 2 9
_check_style_change_language()
S
71 2 7
Instance()
S
69 2 7
_check_style_change_flag()
S
71 2 7
_check_blockpages()
S
71 2 7
clear_post()
S
68 2 7
_check_api_key()
S
64 2 10
getPageHost()
S
71 2 5
allowCache()
S
78 2 3
get_conveythis_shortcode()
S
76 1 4
add_nav_menu_meta_boxes()
S
77 1 3
getCurrentDomain()
S
77 1 3
plugin_deactivate()
S
80 1 3
dataCheckAPI()
S
83 1 3
_menu_shortcode()
S
80 1 3
_settings_link()
S
74 1 4
dismissNotice()
S
67 1 7
getWidgetStyles()
S
82 1 3
_admin_menu()
S
66 1 10