QtBase - 2016-12-13 07:58:44 +0000

Function Tree

Path:<top>::QReadWriteLock
Functionâ–´Condition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
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
100.000% (1/1)
11
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
100.000% (4/4)
32
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
100.000% (1/1)
11
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
 71.429% (10/14)
116
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
100.000% (1/1)
11
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
 62.500% (20/32)
3812
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
100.000% (1/1)
11
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
 66.667% (20/30)
2711
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
 90.000% (27/30)
3110
~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
 50.000% (2/4)
52

Generated by Squish Coco Non-Commercial 4.3.0-BETA-master-30-08-2018-4cb69e9