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

Function Tree

Path:<top>::QSemaphore
FunctionCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexityâ–¾
tryAcquire
Name: QSemaphore::tryAcquire
Prototype: bool QSemaphore::tryAcquire(int n, int timeout)
Coverage:  68.750% (11/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qsemaphore.cpp
Lines: 214-235
 68.750% (11/16)
145
tryAcquire
Name: QSemaphore::tryAcquire
Prototype: bool QSemaphore::tryAcquire(int n)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qsemaphore.cpp
Lines: 188-196
100.000% (4/4)
62
acquire
Name: QSemaphore::acquire
Prototype: void QSemaphore::acquire(int n)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qsemaphore.cpp
Lines: 138-145
100.000% (4/4)
52
~QSemaphore
Name: QSemaphore::~QSemaphore
Prototype: QSemaphore::~QSemaphore()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qsemaphore.cpp
Lines: 128-129
100.000% (1/1)
11
release
Name: QSemaphore::release
Prototype: void QSemaphore::release(int n)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qsemaphore.cpp
Lines: 157-163
100.000% (1/1)
41
available
Name: QSemaphore::available
Prototype: int QSemaphore::available() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qsemaphore.cpp
Lines: 171-175
100.000% (1/1)
21
QSemaphore
Name: QSemaphore::QSemaphore
Prototype: QSemaphore::QSemaphore(int n)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qsemaphore.cpp
Lines: 116-120
100.000% (1/1)
21

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