langTbs D

Total Complexity 284
Dependencies 5
Dependents 0
Total lines 819
Lines of code 752
Logical lines of code 471
Comment lines 50
Methods 58
Properties 11

Methods 58

Method Rating Maintainability Complexity Lines of code
addLangToUrl()
C
38 33 56
afterPluginsLoaded()
B
39 20 64
checkPostsTranslations()
A
48 12 33
savePostMetaWp5()
A
48 12 30
checkPostsMetaTranslations()
A
53 12 21
beforeOptionsSave()
A
50 11 29
fillInLangsInfo()
A
48 10 35
checkRedirectCanonicalLang()
A
58 11 12
savePostMeta()
A
52 10 22
isBlockEditorEnabled()
A
54 10 19
_translateTerm()
S
55 7 20
checkOptTranslation()
S
56 7 19
langToWpCode()
S
60 7 13
checkPostTranslationsAdmin()
S
54 6 20
checkTitleTranslations()
S
55 6 19
checkExcerptTranslations()
S
55 6 19
saveOptMeta()
S
57 6 16
checkTermsTranslations()
S
58 6 16
init()
S
52 5 23
getLangFlagUrl()
S
56 5 17
modifyLocale()
S
68 5 7
checkBlogInfoUrls()
S
65 5 10
availablePostFields()
S
59 4 14
addAdminFooterData()
S
60 4 14
_addAdminActions()
S
57 3 16
collectServerData()
S
64 4 8
saveTermMeta()
S
63 4 10
modifyAjaxUrl()
S
63 4 10
getLangAdmin()
S
65 4 8
modifyMenuUrls()
S
64 4 10
modifyPageLink()
S
63 3 11
_addUrlModificationFilters()
S
54 2 19
checkHomeUrl()
S
68 3 8
availablePostMetaFields()
S
63 3 10
addPostTopSwitches()
S
71 2 6
checkRedirectCanonical()
S
72 2 5
modifyPostUrls()
S
71 2 6
modifyTermsUrls()
S
71 2 6
addTaxonomiesActions()
S
66 2 8
checkAdminNavMenuWalker()
S
69 2 7
localeToLang()
S
79 1 3
getPostField()
S
77 1 3
getCurrLang()
S
82 1 3
getOptField()
S
78 1 3
getLocale()
S
82 1 3
getTermField()
S
77 1 3
availableCustomFields()
S
80 1 3
availableOptsFields()
S
80 1 3
availableMenuFields()
S
81 1 3
availableTermFields()
S
80 1 3
allowModifyHomeUrl()
S
81 1 3
pageNumFix()
S
75 1 4
onGetHeader()
S
79 1 3
addTaxFieldsSwitches()
S
81 1 3
addTaxTopSwitches()
S
79 1 3
addTaxEditSwitches()
S
75 1 4
useBlockEditor()
S
82 1 3
checkMenusTranslations()
S
79 1 3