| Function | Condition % | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexityâ–¾ |
tryLockForRead| Name: | 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 |
tryLockForWrite| Name: | 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 |
unlock| Name: | 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 |
stateForWaitCondition| Name: | 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 |
~QReadWriteLock| Name: | 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 |
lockForRead| Name: | 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 |
tryLockForWrite| Name: | 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 |
tryLockForRead| Name: | 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 |
lockForWrite| Name: | 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 |
QReadWriteLock| Name: | 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 |