WDTConfigController D

Total Complexity 238
Dependencies 9
Dependents 18
Total lines 1,354
Lines of code 1,010
Logical lines of code 633
Comment lines 163
Methods 28
Properties 2

Methods 28

Method Rating Maintainability Complexity Lines of code
loadTableFromDB()
C
37 33 55
prepareDBColumnConfig()
C
37 32 58
prepareFEColumnConfig()
C
34 24 83
sanitizeTableSettingsSimpleTable()
B
39 17 69
sanitizeNestedJsonParams()
B
42 18 53
saveColumns()
B
34 15 92
sanitizeTableConfig()
A
35 13 88
saveTableConfig()
A
42 14 49
getAllTablesAndChartsForPageBuilders()
A
47 12 33
sanitizeColumnsConfig()
A
39 9 68
saveTableToDB()
A
37 5 79
loadTableConfig()
A
50 8 25
tryCreateTable()
S
50 6 27
sanitizeRowDataSimpleTable()
S
56 5 18
loadColumnsFromDB()
S
52 4 25
getConfigDefaults()
S
40 1 65
saveSingleColumn()
S
50 3 32
getFrontEndColumnConfig()
S
63 4 11
getColumnsConfig()
S
64 3 10
loadSimpleTableConfig()
S
61 2 12
loadRowsDataFromDB()
S
60 2 12
loadRowsDataFromDBTemplateAll()
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