Percentage | Lines | ||
---|---|---|---|
ResolvedHostnameLockInformationProvider |
|
0 % | 15 |
PhpRedisLock |
|
73 % | 61 |
PredisRedisLock |
|
73 % | 61 |
DirectoryLock |
|
78 % | 66 |
MySQLPDOLock |
|
82 % | 172 |
FlockLock |
|
84 % | 126 |
LockAbstract |
|
85 % | 112 |
MemcachedLock |
|
88 % | 104 |
MemcacheLock |
|
88 % | 104 |
MutexFabric |
|
100 % | 76 |
CRAP Score | Lines | ||
---|---|---|---|
LockAbstract::acquireLock() | 7 | 18 | |
FlockLock::getLock() | 4 | 19 | |
Mutex::releaseLock() | 4 | 13 | |
FlockLock::setupFileHandle() | 3 | 15 | |
MySQLPDOLock::isLocked() | 3 | 15 | |
MySQLPDOLock::releaseLock() | 3 | 24 | |
LockAbstract::__destruct() | 3 | 12 | |
Mutex::acquireLock() | 3 | 11 | |
MutexFabric::registerLockImplementor() | 3 | 12 | |
MutexFabric::get() | 3 | 12 | |