MstDBUtils C

Total Complexity 102
Dependencies 3
Dependents 2
Total lines 550
Lines of code 501
Logical lines of code 357
Comment lines 6
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
checkAndFixDBCollations()
A
39 12 67
changeColType()
A
40 12 58
renameCol()
A
41 11 56
alterCollation()
A
41 11 51
alterDefaultValue()
A
43 9 47
createIndexIfNotExists()
A
44 7 42
addColIfNotExists()
S
47 6 35
getCollation()
S
54 7 20
getTableRowCount()
S
54 3 21
deleteCol()
S
54 3 21
isTableExisting()
S
62 3 11
isColExisting()
S
62 3 11
userTableCollationOk()
S
64 2 8
deleteColIfExists()
S
68 2 7
getTableColumns()
S
65 2 9
getDateTimeTodayLastMidnight()
S
76 1 4
getTimestampFromDate()
S
75 1 4
getDateTimeResult()
S
73 1 5
getDateTimeLastMonthLastDayMidnight()
S
76 1 4
getDateTimeThisMonthLastDayMidnight()
S
76 1 4
getDateTimeNextSundayMidnight()
S
76 1 4
getDateTimeLastSundayMidnight()
S
76 1 4
getDateTimeTomorrowNextMidnight()
S
76 1 4
getDateTimeNow()
S
76 1 4