| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | static const int INV_TIMER = -1; | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | | - |
| 8 | | - |
| 9 | QTimer::QTimer(QObject *parent) | - |
| 10 | : QObject(parent), id(INV_TIMER), inter(0), del(0), single(0), nulltimer(0), type(Qt::CoarseTimer) | - |
| 11 | { | - |
| 12 | }executed 5467 times by 65 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QInputDialog
- tst_QLabel
- ...
| 5467 |
| 13 | | - |
| 14 | | - |
| 15 | | - |
| 16 | | - |
| 17 | | - |
| 18 | | - |
| 19 | QTimer::~QTimer() | - |
| 20 | { | - |
| 21 | if (id != INV_TIMER| TRUE | evaluated 318 times by 40 testsEvaluated by:- tst_QApplication
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QLabel
- tst_QLineEdit
- tst_QMovie
- tst_QNetworkReply
- tst_QPrinter
- tst_QProgressDialog
- tst_QSocketNotifier
- tst_QStateMachine
- tst_QStatusBar
- tst_QTabBar
- tst_QTcpSocket
- tst_QTextEdit
- tst_QTimer
- tst_QTreeView
- tst_languageChange
- ...
| | FALSE | evaluated 5136 times by 59 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QInputDialog
- tst_QLabel
- tst_QMenu
- tst_QMovie
- ...
|
) | 318-5136 |
| 22 | stop();executed 318 times by 40 tests: stop();Executed by:- tst_QApplication
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QLabel
- tst_QLineEdit
- tst_QMovie
- tst_QNetworkReply
- tst_QPrinter
- tst_QProgressDialog
- tst_QSocketNotifier
- tst_QStateMachine
- tst_QStatusBar
- tst_QTabBar
- tst_QTcpSocket
- tst_QTextEdit
- tst_QTimer
- tst_QTreeView
- tst_languageChange
- ...
| 318 |
| 23 | }executed 5454 times by 79 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QInputDialog
- tst_QLabel
- tst_QLineEdit
- ...
| 5454 |
| 24 | void QTimer::start() | - |
| 25 | { | - |
| 26 | if (id != INV_TIMER| TRUE | evaluated 22 times by 2 testsEvaluated by:- tst_QFileSystemWatcher
- tst_QProgressDialog
| | FALSE | evaluated 5231 times by 57 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QCompleter
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QLabel
- tst_QLineEdit
- tst_QMenu
- tst_QMovie
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- ...
|
) | 22-5231 |
| 27 | stop();executed 22 times by 2 tests: stop();Executed by:- tst_QFileSystemWatcher
- tst_QProgressDialog
| 22 |
| 28 | nulltimer = (!inter| TRUE | evaluated 382 times by 12 testsEvaluated by:- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QMovie
- tst_QNetworkReply
- tst_QPrinter
- tst_QSocketNotifier
- tst_QTimer
- tst_languageChange
| | FALSE | evaluated 4871 times by 54 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QLabel
- tst_QLineEdit
- tst_QMenu
- tst_QMovie
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- ...
|
&& single| TRUE | evaluated 373 times by 11 testsEvaluated by:- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QMovie
- tst_QNetworkReply
- tst_QPrinter
- tst_QTimer
- tst_languageChange
| | FALSE | evaluated 9 times by 2 testsEvaluated by:- tst_QSocketNotifier
- tst_QTimer
|
); | 9-4871 |
| 29 | id = QObject::startTimer(inter, Qt::TimerType(type)); | - |
| 30 | }executed 5253 times by 57 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QCompleter
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QLabel
- tst_QLineEdit
- tst_QMenu
- tst_QMovie
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- ...
| 5253 |
| 31 | void QTimer::start(int msec) | - |
| 32 | { | - |
| 33 | inter = msec; | - |
| 34 | start(); | - |
| 35 | }executed 5131 times by 46 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QCompleter
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QLabel
- tst_QLineEdit
- tst_QMovie
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- ...
| 5131 |
| 36 | void QTimer::stop() | - |
| 37 | { | - |
| 38 | if (id != INV_TIMER| TRUE | evaluated 5253 times by 68 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QCompleter
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QLabel
- tst_QLineEdit
- tst_QMenu
- tst_QMovie
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- ...
| | FALSE | evaluated 5611 times by 33 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QLabel
- tst_QMovie
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QProgressDialog
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- ...
|
) { | 5253-5611 |
| 39 | QObject::killTimer(id); | - |
| 40 | id = INV_TIMER; | - |
| 41 | }executed 5253 times by 68 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QCompleter
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QLabel
- tst_QLineEdit
- tst_QMenu
- tst_QMovie
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- ...
| 5253 |
| 42 | }executed 10864 times by 69 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QCompleter
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QLabel
- tst_QLineEdit
- tst_QMenu
- tst_QMovie
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- ...
| 10864 |
| 43 | | - |
| 44 | | - |
| 45 | | - |
| 46 | | - |
| 47 | | - |
| 48 | void QTimer::timerEvent(QTimerEvent *e) | - |
| 49 | { | - |
| 50 | if (e->timerId() == id| TRUE | evaluated 13215 times by 31 testsEvaluated by:- tst_QApplication
- tst_QCompleter
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QLabel
- tst_QLineEdit
- tst_QMenu
- tst_QMovie
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QObject
- tst_QPrinter
- tst_QProgressDialog
- tst_QSocketNotifier
- tst_QStateMachine
- tst_QStatusBar
- tst_QTextEdit
- ...
| | FALSE | never evaluated |
) { | 0-13215 |
| 51 | if (single| TRUE | evaluated 390 times by 19 testsEvaluated by:- tst_QApplication
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QHostInfo
- tst_QLabel
- tst_QMenu
- tst_QMovie
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QObject
- tst_QPrinter
- tst_QStateMachine
- tst_QTimer
- tst_QUdpSocket
- tst_languageChange
| | FALSE | evaluated 12825 times by 20 testsEvaluated by:- tst_QApplication
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QLabel
- tst_QLineEdit
- tst_QNetworkReply
- tst_QProgressDialog
- tst_QSocketNotifier
- tst_QStatusBar
- tst_QTextEdit
- tst_QTimer
- tst_QToolButton
- tst_QTreeView
- tst_languageChange
- tst_qapplication - unknown status
|
) | 390-12825 |
| 52 | stop();executed 390 times by 19 tests: stop();Executed by:- tst_QApplication
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QHostInfo
- tst_QLabel
- tst_QMenu
- tst_QMovie
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QObject
- tst_QPrinter
- tst_QStateMachine
- tst_QTimer
- tst_QUdpSocket
- tst_languageChange
| 390 |
| 53 | timeout(QPrivateSignal()); | - |
| 54 | }executed 13214 times by 31 tests: end of blockExecuted by:- tst_QApplication
- tst_QCompleter
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QLabel
- tst_QLineEdit
- tst_QMenu
- tst_QMovie
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QObject
- tst_QPrinter
- tst_QProgressDialog
- tst_QSocketNotifier
- tst_QStateMachine
- tst_QStatusBar
- tst_QTextEdit
- ...
| 13214 |
| 55 | }executed 13214 times by 31 tests: end of blockExecuted by:- tst_QApplication
- tst_QCompleter
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QLabel
- tst_QLineEdit
- tst_QMenu
- tst_QMovie
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QObject
- tst_QPrinter
- tst_QProgressDialog
- tst_QSocketNotifier
- tst_QStateMachine
- tst_QStatusBar
- tst_QTextEdit
- ...
| 13214 |
| 56 | | - |
| 57 | class QSingleShotTimer : public QObject | - |
| 58 | { | - |
| 59 | public: template <typename ThisObject> inline void qt_check_for_QOBJECT_macro(const ThisObject &_q_argument) const { int i = qYouForgotTheQ_OBJECT_Macro(this, &_q_argument); i = i + 1; } | - |
| 60 | #pragma GCC diagnostic push | - |
| 61 | static const QMetaObject staticMetaObject; virtual const QMetaObject *metaObject() const; virtual void *qt_metacast(const char *); virtual int qt_metacall(QMetaObject::Call, int, void **); static inline QString tr(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } __attribute__ ((__deprecated__)) static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private: __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
| 62 | #pragma GCC diagnostic pop | - |
| 63 | struct QPrivateSignal {}; | - |
| 64 | int timerId; | - |
| 65 | bool hasValidReceiver; | - |
| 66 | QPointer<const QObject> receiver; | - |
| 67 | QtPrivate::QSlotObjectBase *slotObj; | - |
| 68 | public: | - |
| 69 | ~QSingleShotTimer(); | - |
| 70 | QSingleShotTimer(int msec, Qt::TimerType timerType, const QObject *r, const char * m); | - |
| 71 | QSingleShotTimer(int msec, Qt::TimerType timerType, const QObject *r, QtPrivate::QSlotObjectBase *slotObj); | - |
| 72 | | - |
| 73 | public : | - |
| 74 | void timeout(); | - |
| 75 | protected: | - |
| 76 | void timerEvent(QTimerEvent *) override; | - |
| 77 | }; | - |
| 78 | | - |
| 79 | QSingleShotTimer::QSingleShotTimer(int msec, Qt::TimerType timerType, const QObject *r, const char *member) | - |
| 80 | : QObject(QAbstractEventDispatcher::instance()), hasValidReceiver(true), slotObj(0) | - |
| 81 | { | - |
| 82 | timerId = startTimer(msec, timerType); | - |
| 83 | connect(this, qFlagLocation("2""timeout()" "\0" __FILE__ ":" "273"), r, member); | - |
| 84 | }executed 1258 times by 33 tests: end of blockExecuted by:- tst_QApplication
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCoreApplication
- tst_QDBusMarshall
- tst_QEventLoop
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QImageReader
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QNetworkReply
- tst_QProgressBar
- tst_QPushButton
- tst_QSignalSpy
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSystemTrayIcon
- tst_QTcpServer
- tst_QTcpSocket
- ...
| 1258 |
| 85 | | - |
| 86 | QSingleShotTimer::QSingleShotTimer(int msec, Qt::TimerType timerType, const QObject *r, QtPrivate::QSlotObjectBase *slotObj) | - |
| 87 | : QObject(QAbstractEventDispatcher::instance()), hasValidReceiver(r), receiver(r), slotObj(slotObj) | - |
| 88 | { | - |
| 89 | timerId = startTimer(msec, timerType); | - |
| 90 | if (r| TRUE | evaluated 20011 times by 2 testsEvaluated by:- tst_QSocketNotifier
- tst_QTimer
| | FALSE | evaluated 6 times by 1 test |
&& thread() != r->thread()| TRUE | evaluated 20006 times by 1 test | | FALSE | evaluated 5 times by 2 testsEvaluated by:- tst_QSocketNotifier
- tst_QTimer
|
) { | 5-20011 |
| 91 | | - |
| 92 | connect(QCoreApplication::instance(), &QCoreApplication::aboutToQuit, this, &QObject::deleteLater); | - |
| 93 | setParent(0); | - |
| 94 | moveToThread(r->thread()); | - |
| 95 | }executed 20006 times by 1 test: end of block | 20006 |
| 96 | }executed 20017 times by 2 tests: end of blockExecuted by:- tst_QSocketNotifier
- tst_QTimer
| 20017 |
| 97 | | - |
| 98 | QSingleShotTimer::~QSingleShotTimer() | - |
| 99 | { | - |
| 100 | if (timerId > 0| TRUE | evaluated 138 times by 10 testsEvaluated by:- tst_QApplication
- tst_QCoreApplication
- tst_QGuiApplication
- tst_QNetworkReply
- tst_qcolordialog - unknown status
- tst_qimagereader - unknown status
- tst_qsslsocket - unknown status
- tst_qsystemtrayicon - unknown status
- tst_qthread - unknown status
- tst_qtoolbutton - unknown status
| | FALSE | evaluated 21132 times by 32 testsEvaluated by:- tst_QApplication
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCoreApplication
- tst_QDBusMarshall
- tst_QEventLoop
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QNetworkReply
- tst_QProgressBar
- tst_QPushButton
- tst_QSignalSpy
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSystemTrayIcon
- tst_QTcpServer
- tst_QTcpSocket
- ...
|
) | 138-21132 |
| 101 | killTimer(timerId);executed 138 times by 10 tests: killTimer(timerId);Executed by:- tst_QApplication
- tst_QCoreApplication
- tst_QGuiApplication
- tst_QNetworkReply
- tst_qcolordialog - unknown status
- tst_qimagereader - unknown status
- tst_qsslsocket - unknown status
- tst_qsystemtrayicon - unknown status
- tst_qthread - unknown status
- tst_qtoolbutton - unknown status
| 138 |
| 102 | if (slotObj| TRUE | evaluated 20017 times by 2 testsEvaluated by:- tst_QSocketNotifier
- tst_QTimer
| | FALSE | evaluated 1253 times by 37 testsEvaluated by:- tst_QApplication
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCoreApplication
- tst_QDBusMarshall
- tst_QEventLoop
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QNetworkReply
- tst_QProgressBar
- tst_QPushButton
- tst_QSignalSpy
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSystemTrayIcon
- tst_QTcpServer
- tst_QTcpSocket
- tst_QThread
- ...
|
) | 1253-20017 |
| 103 | slotObj->destroyIfLastRef();executed 20017 times by 2 tests: slotObj->destroyIfLastRef();Executed by:- tst_QSocketNotifier
- tst_QTimer
| 20017 |
| 104 | }executed 21270 times by 38 tests: end of blockExecuted by:- tst_QApplication
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCoreApplication
- tst_QDBusMarshall
- tst_QEventLoop
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QNetworkReply
- tst_QProgressBar
- tst_QPushButton
- tst_QSignalSpy
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSystemTrayIcon
- tst_QTcpServer
- tst_QTcpSocket
- ...
| 21270 |
| 105 | | - |
| 106 | void QSingleShotTimer::timerEvent(QTimerEvent *) | - |
| 107 | { | - |
| 108 | | - |
| 109 | | - |
| 110 | if (timerId > 0| TRUE | evaluated 21132 times by 32 testsEvaluated by:- tst_QApplication
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCoreApplication
- tst_QDBusMarshall
- tst_QEventLoop
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QNetworkReply
- tst_QProgressBar
- tst_QPushButton
- tst_QSignalSpy
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSystemTrayIcon
- tst_QTcpServer
- tst_QTcpSocket
- ...
| | FALSE | never evaluated |
) | 0-21132 |
| 111 | killTimer(timerId);executed 21132 times by 32 tests: killTimer(timerId);Executed by:- tst_QApplication
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCoreApplication
- tst_QDBusMarshall
- tst_QEventLoop
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QNetworkReply
- tst_QProgressBar
- tst_QPushButton
- tst_QSignalSpy
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSystemTrayIcon
- tst_QTcpServer
- tst_QTcpSocket
- ...
| 21132 |
| 112 | timerId = -1; | - |
| 113 | | - |
| 114 | if (slotObj| TRUE | evaluated 20017 times by 2 testsEvaluated by:- tst_QSocketNotifier
- tst_QTimer
| | FALSE | evaluated 1115 times by 31 testsEvaluated by:- tst_QApplication
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCoreApplication
- tst_QDBusMarshall
- tst_QEventLoop
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QNetworkReply
- tst_QProgressBar
- tst_QPushButton
- tst_QSignalSpy
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSystemTrayIcon
- tst_QTcpServer
- tst_QTcpSocket
- tst_QThread
- ...
|
) { | 1115-20017 |
| 115 | | - |
| 116 | if (__builtin_expect(!!(!receiver.isNull() || !hasValidReceiver), true)| TRUE | evaluated 20015 times by 2 testsEvaluated by:- tst_QSocketNotifier
- tst_QTimer
| | FALSE | evaluated 2 times by 1 test |
) { | 2-20015 |
| 117 | | - |
| 118 | | - |
| 119 | void *args[1] = { 0 }; | - |
| 120 | slotObj->call(const_cast<QObject*>(receiver.data()), args); | - |
| 121 | }executed 20015 times by 2 tests: end of blockExecuted by:- tst_QSocketNotifier
- tst_QTimer
| 20015 |
| 122 | }executed 20017 times by 2 tests: end of blockExecuted by:- tst_QSocketNotifier
- tst_QTimer
else { | 20017 |
| 123 | timeout(); | - |
| 124 | }executed 1115 times by 31 tests: end of blockExecuted by:- tst_QApplication
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCoreApplication
- tst_QDBusMarshall
- tst_QEventLoop
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QNetworkReply
- tst_QProgressBar
- tst_QPushButton
- tst_QSignalSpy
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSystemTrayIcon
- tst_QTcpServer
- tst_QTcpSocket
- tst_QThread
- ...
| 1115 |
| 125 | | - |
| 126 | | - |
| 127 | | - |
| 128 | | - |
| 129 | qDeleteInEventHandler(this); | - |
| 130 | }executed 21132 times by 32 tests: end of blockExecuted by:- tst_QApplication
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCoreApplication
- tst_QDBusMarshall
- tst_QEventLoop
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QNetworkReply
- tst_QProgressBar
- tst_QPushButton
- tst_QSignalSpy
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSystemTrayIcon
- tst_QTcpServer
- tst_QTcpSocket
- ...
| 21132 |
| 131 | void QTimer::singleShotImpl(int msec, Qt::TimerType timerType, | - |
| 132 | const QObject *receiver, | - |
| 133 | QtPrivate::QSlotObjectBase *slotObj) | - |
| 134 | { | - |
| 135 | new QSingleShotTimer(msec, timerType, receiver, slotObj); | - |
| 136 | }executed 20017 times by 2 tests: end of blockExecuted by:- tst_QSocketNotifier
- tst_QTimer
| 20017 |
| 137 | void QTimer::singleShot(int msec, const QObject *receiver, const char *member) | - |
| 138 | { | - |
| 139 | | - |
| 140 | | - |
| 141 | | - |
| 142 | singleShot(msec, msec >= 2000 ? Qt::CoarseTimer : Qt::PreciseTimer, receiver, member); | - |
| 143 | }executed 4558 times by 173 tests: end of blockExecuted by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractAdaptor
- ...
| 4558 |
| 144 | void QTimer::singleShot(int msec, Qt::TimerType timerType, const QObject *receiver, const char *member) | - |
| 145 | { | - |
| 146 | if (__builtin_expect(!!(msec < 0), false)| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 4557 times by 173 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractAdaptor
- ...
|
) { | 1-4557 |
| 147 | QMessageLogger(__FILE__, 386, __PRETTY_FUNCTION__).warning("QTimer::singleShot: Timers cannot have negative timeouts"); | - |
| 148 | return;executed 1 time by 1 test: return; | 1 |
| 149 | } | - |
| 150 | if (receiver| TRUE | evaluated 4557 times by 173 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractAdaptor
- ...
| | FALSE | never evaluated |
&& member| TRUE | evaluated 4557 times by 173 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractAdaptor
- ...
| | FALSE | never evaluated |
) { | 0-4557 |
| 151 | if (msec == 0| TRUE | evaluated 3299 times by 168 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractAdaptor
- ...
| | FALSE | evaluated 1258 times by 33 testsEvaluated by:- tst_QApplication
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCoreApplication
- tst_QDBusMarshall
- tst_QEventLoop
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QImageReader
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QNetworkReply
- tst_QProgressBar
- tst_QPushButton
- tst_QSignalSpy
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSystemTrayIcon
- tst_QTcpServer
- tst_QTcpSocket
- ...
|
) { | 1258-3299 |
| 152 | | - |
| 153 | const char* bracketPosition = strchr(member, '('); | - |
| 154 | if (!bracketPosition| TRUE | never evaluated | | FALSE | evaluated 3299 times by 168 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractAdaptor
- ...
|
|| !(member[0] >= '0'| TRUE | evaluated 3299 times by 168 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractAdaptor
- ...
| | FALSE | never evaluated |
&& member[0] <= '2'| TRUE | evaluated 3299 times by 168 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractAdaptor
- ...
| | FALSE | never evaluated |
)) { | 0-3299 |
| 155 | QMessageLogger(__FILE__, 394, __PRETTY_FUNCTION__).warning("QTimer::singleShot: Invalid slot specification"); | - |
| 156 | return; never executed: return; | 0 |
| 157 | } | - |
| 158 | QByteArray methodName(member+1, bracketPosition - 1 - member); | - |
| 159 | QMetaObject::invokeMethod(const_cast<QObject *>(receiver), methodName.constData(), Qt::QueuedConnection); | - |
| 160 | return;executed 3299 times by 168 tests: return;Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractAdaptor
- ...
| 3299 |
| 161 | } | - |
| 162 | (void) new QSingleShotTimer(msec, timerType, receiver, member); | - |
| 163 | }executed 1258 times by 33 tests: end of blockExecuted by:- tst_QApplication
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCoreApplication
- tst_QDBusMarshall
- tst_QEventLoop
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QImageReader
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QNetworkReply
- tst_QProgressBar
- tst_QPushButton
- tst_QSignalSpy
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSystemTrayIcon
- tst_QTcpServer
- tst_QTcpSocket
- ...
| 1258 |
| 164 | }executed 1258 times by 33 tests: end of blockExecuted by:- tst_QApplication
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCoreApplication
- tst_QDBusMarshall
- tst_QEventLoop
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QImageReader
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QNetworkReply
- tst_QProgressBar
- tst_QPushButton
- tst_QSignalSpy
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSystemTrayIcon
- tst_QTcpServer
- tst_QTcpSocket
- ...
| 1258 |
| 165 | void QTimer::setInterval(int msec) | - |
| 166 | { | - |
| 167 | inter = msec; | - |
| 168 | if (id != INV_TIMER| TRUE | never evaluated | | FALSE | evaluated 71 times by 34 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QMenu
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QObject
- tst_QSocketNotifier
- tst_QStateMachine
- ...
|
) { | 0-71 |
| 169 | QObject::killTimer(id); | - |
| 170 | id = QObject::startTimer(msec, Qt::TimerType(type)); | - |
| 171 | } never executed: end of block | 0 |
| 172 | }executed 71 times by 34 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QMenu
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QObject
- tst_QSocketNotifier
- tst_QStateMachine
- ...
| 71 |
| 173 | int QTimer::remainingTime() const | - |
| 174 | { | - |
| 175 | if (id != INV_TIMER| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
) { | 4 |
| 176 | returnexecuted 4 times by 1 test: return QAbstractEventDispatcher::instance()->remainingTime(id); QAbstractEventDispatcher::instance()->remainingTime(id);executed 4 times by 1 test: return QAbstractEventDispatcher::instance()->remainingTime(id); | 4 |
| 177 | } | - |
| 178 | | - |
| 179 | returnexecuted 4 times by 1 test: return -1; -1;executed 4 times by 1 test: return -1; | 4 |
| 180 | } | - |
| 181 | | - |
| 182 | | - |
| | |