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

Function Tree

Path:<top>::QThread
FunctionCondition %eLOC - Effective Lines of Codeā–¾McCabe - Cyclomatic Complexity
start
Name: QThread::start
Prototype: void QThread::start(Priority priority)
Coverage:  52.778% (19/36)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthread_unix.cpp
Lines: 559-665
 52.778% (19/36)
5412
setTerminationEnabled
Name: QThread::setTerminationEnabled
Prototype: void QThread::setTerminationEnabled(bool enabled)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthread_unix.cpp
Lines: 704-718
100.000% (4/4)
132
exec
Name: QThread::exec
Prototype: int QThread::exec()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthread.cpp
Lines: 495-513
100.000% (4/4)
132
wait
Name: QThread::wait
Prototype: bool QThread::wait(unsigned long time)
Coverage:  86.667% (13/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthread_unix.cpp
Lines: 684-702
 86.667% (13/15)
115
setStackSize
Name: QThread::setStackSize
Prototype: void QThread::setStackSize(uint stackSize)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthread.cpp
Lines: 463-470
100.000% (1/1)
111
~QThread
Name: QThread::~QThread
Prototype: QThread::~QThread()
Coverage:  72.727% (8/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthread.cpp
Lines: 410-425
 72.727% (8/11)
93
terminate
Name: QThread::terminate
Prototype: void QThread::terminate()
Coverage:  42.857% (3/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthread_unix.cpp
Lines: 667-682
 42.857% (3/7)
83
requestInterruption
Name: QThread::requestInterruption
Prototype: void QThread::requestInterruption()
Coverage:  45.455% (5/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthread.cpp
Lines: 830-841
 45.455% (5/11)
83
exit
Name: QThread::exit
Prototype: void QThread::exit(int returnCode)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthread.cpp
Lines: 536-547
100.000% (4/4)
82
setEventDispatcher
Name: QThread::setEventDispatcher
Prototype: void QThread::setEventDispatcher(QAbstractEventDispatcher *eventDispatcher)
Coverage:  42.857% (3/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthread.cpp
Lines: 791-803
 42.857% (3/7)
73
setPriority
Name: QThread::setPriority
Prototype: void QThread::setPriority(Priority priority)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthread.cpp
Lines: 596-605
100.000% (4/4)
62
isInterruptionRequested
Name: QThread::isInterruptionRequested
Prototype: bool QThread::isInterruptionRequested() const
Coverage:  75.000% (6/8)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthread.cpp
Lines: 866-873
 75.000% (6/8)
52
idealThreadCount
Name: QThread::idealThreadCount
Prototype: int QThread::idealThreadCount() noexcept
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthread_unix.cpp
Lines: 426-484
 50.000% (2/4)
52
event
Name: QThread::event
Prototype: bool QThread::event(QEvent *event)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthread.cpp
Lines: 808-816
100.000% (4/4)
42
stackSize
Name: QThread::stackSize
Prototype: uint QThread::stackSize() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthread.cpp
Lines: 478-483
100.000% (1/1)
31
priority
Name: QThread::priority
Prototype: QThread::Priority QThread::priority() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthread.cpp
Lines: 615-622
100.000% (1/1)
31
isRunning
Name: QThread::isRunning
Prototype: bool QThread::isRunning() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthread.cpp
Lines: 444-449
100.000% (1/1)
31
isFinished
Name: QThread::isFinished
Prototype: bool QThread::isFinished() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthread.cpp
Lines: 432-437
100.000% (1/1)
31
currentThread
Name: QThread::currentThread
Prototype: QThread *QThread::currentThread()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthread.cpp
Lines: 368-373
100.000% (1/1)
31
loopLevel
Name: QThread::loopLevel
Prototype: int QThread::loopLevel() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthread.cpp
Lines: 726-730
  0.000% (0/1)
21
eventDispatcher
Name: QThread::eventDispatcher
Prototype: QAbstractEventDispatcher *QThread::eventDispatcher() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthread.cpp
Lines: 776-780
100.000% (1/1)
21
QThread
Name: QThread::QThread
Prototype: QThread::QThread(QObject *parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthread.cpp
Lines: 382-388
100.000% (1/1)
21
QThread
Name: QThread::QThread
Prototype: QThread::QThread(QThreadPrivate &dd, QObject *parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthread.cpp
Lines: 393-399
100.000% (1/1)
21
yieldCurrentThread
Name: QThread::yieldCurrentThread
Prototype: void QThread::yieldCurrentThread()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthread_unix.cpp
Lines: 486-489
100.000% (1/1)
11
usleep
Name: QThread::usleep
Prototype: void QThread::usleep(unsigned long usecs)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthread_unix.cpp
Lines: 509-512
100.000% (1/1)
11
sleep
Name: QThread::sleep
Prototype: void QThread::sleep(unsigned long secs)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthread_unix.cpp
Lines: 499-502
100.000% (1/1)
11
run
Name: QThread::run
Prototype: void QThread::run()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthread.cpp
Lines: 572-575
100.000% (1/1)
11
quit
Name: QThread::quit
Prototype: void QThread::quit()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthread.cpp
Lines: 558-559
100.000% (1/1)
11
msleep
Name: QThread::msleep
Prototype: void QThread::msleep(unsigned long msecs)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthread_unix.cpp
Lines: 504-507
100.000% (1/1)
11
currentThreadId
Name: QThread::currentThreadId
Prototype: Qt::HANDLE QThread::currentThreadId() noexcept
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthread_unix.cpp
Lines: 415-419
100.000% (1/1)
11

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