WDTConfigController D

Total Complexity 222
Dependencies 9
Dependents 19
Total lines 1,294
Lines of code 955
Logical lines of code 597
Comment lines 158
Methods 27
Properties 2

Methods 27

Method Rating Maintainability Complexity Lines of code
prepareDBColumnConfig()
C
38 30 54
loadTableFromDB()
C
39 26 50
prepareFEColumnConfig()
B
34 22 79
sanitizeNestedJsonParams()
B
42 18 53
saveColumns()
B
34 15 92
sanitizeTableSettingsSimpleTable()
B
40 16 64
sanitizeTableConfig()
A
36 13 83
saveTableConfig()
A
42 14 49
getAllTablesAndChartsForPageBuilders()
A
47 12 33
sanitizeColumnsConfig()
A
41 7 58
saveTableToDB()
A
38 5 74
loadTableConfig()
A
50 8 25
tryCreateTable()
S
50 6 27
sanitizeRowDataSimpleTable()
S
56 5 18
loadColumnsFromDB()
S
52 4 25
saveSingleColumn()
S
50 3 32
getConfigDefaults()
S
41 1 60
getFrontEndColumnConfig()
S
63 4 11
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