Ressio_Worker S

Total Complexity 49
Dependencies 3
Dependents 0
Total lines 322
Lines of code 172
Logical lines of code 121
Comment lines 74
Methods 16
Properties 13

Methods 16

Method Rating Maintainability Complexity Lines of code
run()
A
43 8 47
runTaskSync()
A
48 9 30
getFreePid()
S
49 7 29
cleanupWorkers()
S
54 6 21
__construct()
S
53 6 20
initialize()
S
69 2 7
runTask()
S
69 2 7
isInitialized()
S
81 1 3
runTaskAsync()
S
66 1 8
initializeStorage()
S
100 1 0
isInitializedStorage()
S
100 1 0
addTaskToStorage()
S
100 1 0
pickTaskFromStorage()
S
100 1 0
setTaskDoneInStorage()
S
100 1 0
getWorkersListFromStorage()
S
100 1 0
cleanupWorkerInStorage()
S
100 1 0