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

Function Tree

Path:<top>::QThreadPool
FunctionCondition %eLOC - Effective Lines of Codeā–“McCabe - Cyclomatic Complexity
QThreadPool
Name: QThreadPool::QThreadPool
Prototype: QThreadPool::QThreadPool(QObject *parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthreadpool.cpp
Lines: 419-421
100.000% (1/1)
11
globalInstance
Name: QThreadPool::globalInstance
Prototype: QThreadPool *QThreadPool::globalInstance()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthreadpool.cpp
Lines: 435-438
100.000% (1/1)
11
~QThreadPool
Name: QThreadPool::~QThreadPool
Prototype: QThreadPool::~QThreadPool()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthreadpool.cpp
Lines: 427-430
100.000% (1/1)
11
clear
Name: QThreadPool::clear
Prototype: void QThreadPool::clear()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthreadpool.cpp
Lines: 638-642
100.000% (1/1)
21
expiryTimeout
Name: QThreadPool::expiryTimeout
Prototype: int QThreadPool::expiryTimeout() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthreadpool.cpp
Lines: 515-519
100.000% (1/1)
21
maxThreadCount
Name: QThreadPool::maxThreadCount
Prototype: int QThreadPool::maxThreadCount() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthreadpool.cpp
Lines: 540-544
100.000% (1/1)
21
activeThreadCount
Name: QThreadPool::activeThreadCount
Prototype: int QThreadPool::activeThreadCount() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthreadpool.cpp
Lines: 568-573
100.000% (1/1)
31
reserveThread
Name: QThreadPool::reserveThread
Prototype: void QThreadPool::reserveThread()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthreadpool.cpp
Lines: 587-592
100.000% (1/1)
31
releaseThread
Name: QThreadPool::releaseThread
Prototype: void QThreadPool::releaseThread()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthreadpool.cpp
Lines: 606-612
100.000% (1/1)
41
setExpiryTimeout
Name: QThreadPool::setExpiryTimeout
Prototype: void QThreadPool::setExpiryTimeout(int expiryTimeout)
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthreadpool.cpp
Lines: 521-527
 50.000% (2/4)
42
cancel
Name: QThreadPool::cancel
Prototype: void QThreadPool::cancel(QRunnable *runnable)
Coverage:  88.889% (8/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthreadpool.cpp
Lines: 653-661
 88.889% (8/9)
53
waitForDone
Name: QThreadPool::waitForDone
Prototype: bool QThreadPool::waitForDone(int msecs)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthreadpool.cpp
Lines: 620-627
100.000% (4/4)
52
setMaxThreadCount
Name: QThreadPool::setMaxThreadCount
Prototype: void QThreadPool::setMaxThreadCount(int maxThreadCount)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthreadpool.cpp
Lines: 546-556
100.000% (4/4)
62
tryStart
Name: QThreadPool::tryStart
Prototype: bool QThreadPool::tryStart(QRunnable *runnable)
Coverage:  77.778% (7/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthreadpool.cpp
Lines: 486-499
 77.778% (7/9)
73
start
Name: QThreadPool::start
Prototype: void QThreadPool::start(QRunnable *runnable, int priority)
Coverage:  80.000% (8/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthreadpool.cpp
Lines: 455-468
 80.000% (8/10)
84

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