ConveyThis D

Total Complexity 701
Dependencies 11
Dependents 1
Total lines 2,984
Lines of code 2,404
Logical lines of code 1,508
Comment lines 92
Methods 94
Properties 6

Methods 94

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