Function | Condition % | eLOC - Effective Lines of Codeā“ | McCabe - Cyclomatic Complexity |
QReadWriteLockName: | QReadWriteLock::QReadWriteLock | Prototype: | QReadWriteLock::QReadWriteLock(RecursionMode recursionMode) | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qreadwritelock.cpp | Lines: | 144-148 |
| | 1 | 1 |
lockForWriteName: | QReadWriteLock::lockForWrite | Prototype: | void QReadWriteLock::lockForWrite() | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qreadwritelock.cpp | Lines: | 292-295 |
| | 1 | 1 |
tryLockForReadName: | QReadWriteLock::tryLockForRead | Prototype: | bool QReadWriteLock::tryLockForRead() | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qreadwritelock.cpp | Lines: | 198-201 |
| | 1 | 1 |
tryLockForWriteName: | QReadWriteLock::tryLockForWrite | Prototype: | bool QReadWriteLock::tryLockForWrite() | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qreadwritelock.cpp | Lines: | 312-315 |
| | 1 | 1 |
lockForReadName: | QReadWriteLock::lockForRead | Prototype: | void QReadWriteLock::lockForRead() | Coverage: | 100.000% (4/4) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qreadwritelock.cpp | Lines: | 175-180 |
| | 3 | 2 |
~QReadWriteLockName: | QReadWriteLock::~QReadWriteLock | Prototype: | QReadWriteLock::~QReadWriteLock() | Coverage: | 50.000% (2/4) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qreadwritelock.cpp | Lines: | 156-164 |
| | 5 | 2 |
stateForWaitConditionName: | QReadWriteLock::stateForWaitCondition | Prototype: | QReadWriteLock::StateForWaitCondition QReadWriteLock::stateForWaitCondition() const | Coverage: | 71.429% (10/14) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qreadwritelock.cpp | Lines: | 446-462 |
| | 11 | 6 |
tryLockForWriteName: | QReadWriteLock::tryLockForWrite | Prototype: | bool QReadWriteLock::tryLockForWrite(int timeout) | Coverage: | 66.667% (20/30) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qreadwritelock.cpp | Lines: | 336-383 |
| | 27 | 11 |
unlockName: | QReadWriteLock::unlock | Prototype: | void QReadWriteLock::unlock() | Coverage: | 90.000% (27/30) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qreadwritelock.cpp | Lines: | 393-443 |
| | 31 | 10 |
tryLockForReadName: | QReadWriteLock::tryLockForRead | Prototype: | bool QReadWriteLock::tryLockForRead(int timeout) | Coverage: | 62.500% (20/32) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qreadwritelock.cpp | Lines: | 222-279 |
| | 38 | 12 |