ABJ_404_Solution_Logging A

Total Complexity 63
Dependencies 7
Dependents 13
Total lines 434
Lines of code 283
Logical lines of code 187
Comment lines 80
Methods 22
Properties 2

Methods 22

Method Rating Maintainability Complexity Lines of code
emailErrorLogIfNecessary()
A
44 9 46
getLatestErrorLine()
A
46 9 38
errorMessage()
S
53 6 21
emailLogFileToDeveloper()
S
43 4 48
getTimestamp()
S
53 5 23
logUserCapabilities()
S
56 4 16
debugMessage()
S
61 3 12
getDebugFileSize()
S
64 3 11
getFilePathAndMoveOldFile()
S
64 3 10
isDebug()
S
71 2 5
limitDebugFileSize()
S
68 2 8
deleteDebugFile()
S
68 2 8
getInstance()
S
71 2 6
warn()
S
76 1 4
writeLineToDebugFile()
S
79 1 3
infoMessage()
S
76 1 4
__construct()
S
91 1 2
getDebugFilePath()
S
80 1 3
getDebugFilePathOld()
S
80 1 3
getDebugFilePathSentFile()
S
80 1 3
getZipFilePath()
S
80 1 3
removeLastSentErrorLineFromDatabase()
S
70 1 6