WDTConfigController D

Total Complexity 171
Dependencies 9
Dependents 16
Total lines 1,090
Lines of code 775
Logical lines of code 489
Comment lines 145
Methods 24
Properties 2

Methods 24

Method Rating Maintainability Complexity Lines of code
prepareDBColumnConfig()
C
39 28 52
prepareFEColumnConfig()
B
34 22 79
loadTableFromDB()
B
40 24 48
saveColumns()
B
34 15 92
saveTableConfig()
A
43 13 43
getAllTablesAndChartsForPageBuilders()
A
47 12 33
sanitizeTableConfig()
A
39 9 68
saveTableToDB()
A
39 5 68
loadTableConfig()
S
51 7 23
sanitizeColumnsConfig()
S
43 5 52
tryCreateTable()
S
50 6 26
loadColumnsFromDB()
S
52 4 25
saveSingleColumn()
S
50 3 32
getFrontEndColumnConfig()
S
63 4 11
getConfigDefaults()
S
43 1 55
getColumnsConfig()
S
64 3 10
loadSimpleTableConfig()
S
61 2 12
loadRowsDataFromDB()
S
60 2 12
saveRowData()
S
62 1 12
loadSingleColumnFromDB()
S
64 1 10
wdt_create_chart_notice()
S
81 1 3
wdt_select_chart_notice()
S
81 1 3
wdt_create_table_notice()
S
81 1 3
wdt_select_table_notice()
S
81 1 3