ABJ_404_Solution_Logging A

Total Complexity 74
Dependencies 8
Dependents 13
Total lines 494
Lines of code 323
Logical lines of code 217
Comment lines 93
Methods 23
Properties 2

Methods 23

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