WPJOBPORTALCategoryModel D

Total Complexity 139
Dependencies 8
Dependents 0
Total lines 668
Lines of code 610
Logical lines of code 397
Comment lines 16
Methods 25
Properties 1

Methods 25

Method Rating Maintainability Complexity Lines of code
getsubcategorypopup()
C
29
24 132
getAllCategories()
A
37 13 76
getsubcategories()
A
38 11 66
publishUnpublish()
A
47 12 38
validateFormData()
A
46 11 40
storeCategory()
S
50 7 28
storeOrderingFromPage()
S
50 6 27
deleteCategories()
S
54 6 22
getCategoryChild()
S
51 5 26
getCategoryForCombobox()
S
52 5 25
getCategorybyId()
S
57 5 16
getAllParentListTillRoot()
S
58 5 15
getCookiesSavedCategory()
S
59 5 14
categoryCanDelete()
S
59 3 14
categoryCanUnpublish()
S
62 3 12
__construct()
S
69 3 7
setSearchVariableCategory()
S
74 3 4
getTitleByCategory()
S
69 2 6
getMessagekey()
S
78 2 3
updateIsDefault()
S
69 2 6
isCategoryExist()
S
66 2 8
getDefaultCategoryId()
S
73 1 5
getTopCategories()
S
66 1 9
getCategoriesForCombo()
S
77 1 4
getSearchFormDataCategory()
S
69 1 7