Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | #include <qelapsedtimer.h> | - |
35 | #include <qcoreapplication.h> | - |
36 | | - |
37 | #include "private/qcore_unix_p.h" | - |
38 | #include "private/qtimerinfo_unix_p.h" | - |
39 | #include "private/qobject_p.h" | - |
40 | #include "private/qabstracteventdispatcher_p.h" | - |
41 | | - |
42 | #ifdef QTIMERINFO_DEBUG | - |
43 | # include <QDebug> | - |
44 | # include <QThread> | - |
45 | #endif | - |
46 | | - |
47 | #include <sys/times.h> | - |
48 | | - |
49 | QT_BEGIN_NAMESPACE | - |
50 | | - |
51 | Q_CORE_EXPORT bool qt_disable_lowpriority_timers=false; | - |
52 | | - |
53 | | - |
54 | | - |
55 | | - |
56 | | - |
57 | | - |
58 | QTimerInfoList::QTimerInfoList() | - |
59 | { | - |
60 | #if (_POSIX_MONOTONIC_CLOCK-0 <= 0) && !defined(Q_OS_MAC) && !defined(Q_OS_NACL) | - |
61 | if (!QElapsedTimer::isMonotonic()) {TRUE | never evaluated | FALSE | evaluated 639945 times by 549 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
|
| 0-639945 |
62 | | - |
63 | previousTime = qt_gettime(); | - |
64 | | - |
65 | tms unused; | - |
66 | previousTicks = times(&unused); | - |
67 | | - |
68 | ticksPerSecond = sysconf(_SC_CLK_TCK); | - |
69 | msPerTick = 1000/ticksPerSecond; | - |
70 | } else { never executed: end of block | 0 |
71 | | - |
72 | previousTime.tv_sec = previousTime.tv_nsec = 0; | - |
73 | previousTicks = 0; | - |
74 | ticksPerSecond = 0; | - |
75 | msPerTick = 0; | - |
76 | }executed 639945 times by 549 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 639945 |
77 | #endif | - |
78 | | - |
79 | firstTimerInfo = 0; | - |
80 | }executed 639945 times by 549 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 639945 |
81 | | - |
82 | timespec QTimerInfoList::updateCurrentTime() | - |
83 | { | - |
84 | return (currentTime = qt_gettime());executed 4206374 times by 378 tests: return (currentTime = qt_gettime()); Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
| 4206374 |
85 | } | - |
86 | | - |
87 | #if ((_POSIX_MONOTONIC_CLOCK-0 <= 0) && !defined(Q_OS_MAC) && !defined(Q_OS_INTEGRITY)) || defined(QT_BOOTSTRAPPED) | - |
88 | | - |
89 | timespec qAbsTimespec(const timespec &t) | - |
90 | { | - |
91 | timespec tmp = t; | - |
92 | if (tmp.tv_sec < 0) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
93 | tmp.tv_sec = -tmp.tv_sec - 1; | - |
94 | tmp.tv_nsec -= 1000000000; | - |
95 | } never executed: end of block | 0 |
96 | if (tmp.tv_sec == 0 && tmp.tv_nsec < 0) {TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
97 | tmp.tv_nsec = -tmp.tv_nsec; | - |
98 | } never executed: end of block | 0 |
99 | return normalizedTimespec(tmp); never executed: return normalizedTimespec(tmp); | 0 |
100 | } | - |
101 | | - |
102 | | - |
103 | | - |
104 | | - |
105 | | - |
106 | | - |
107 | | - |
108 | | - |
109 | bool QTimerInfoList::timeChanged(timespec *delta) | - |
110 | { | - |
111 | #ifdef Q_OS_NACL | - |
112 | Q_UNUSED(delta) | - |
113 | return false; | - |
114 | #endif | - |
115 | struct tms unused; | - |
116 | clock_t currentTicks = times(&unused); | - |
117 | | - |
118 | clock_t elapsedTicks = currentTicks - previousTicks; | - |
119 | timespec elapsedTime = currentTime - previousTime; | - |
120 | | - |
121 | timespec elapsedTimeTicks; | - |
122 | elapsedTimeTicks.tv_sec = elapsedTicks / ticksPerSecond; | - |
123 | elapsedTimeTicks.tv_nsec = (((elapsedTicks * 1000) / ticksPerSecond) % 1000) * 1000 * 1000; | - |
124 | | - |
125 | timespec dummy; | - |
126 | if (!delta)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
127 | delta = &dummy; never executed: delta = &dummy; | 0 |
128 | *delta = elapsedTime - elapsedTimeTicks; | - |
129 | | - |
130 | previousTicks = currentTicks; | - |
131 | previousTime = currentTime; | - |
132 | | - |
133 | | - |
134 | | - |
135 | timespec tickGranularity; | - |
136 | tickGranularity.tv_sec = 0; | - |
137 | tickGranularity.tv_nsec = msPerTick * 1000 * 1000; | - |
138 | return elapsedTimeTicks < ((qAbsTimespec(*delta) - tickGranularity) * 10); never executed: return elapsedTimeTicks < ((qAbsTimespec(*delta) - tickGranularity) * 10); | 0 |
139 | } | - |
140 | | - |
141 | | - |
142 | | - |
143 | | - |
144 | void QTimerInfoList::timerRepair(const timespec &diff) | - |
145 | { | - |
146 | | - |
147 | for (int i = 0; i < size(); ++i) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
148 | QTimerInfo *t = at(i); | - |
149 | t->timeout = t->timeout + diff; | - |
150 | } never executed: end of block | 0 |
151 | } never executed: end of block | 0 |
152 | | - |
153 | void QTimerInfoList::repairTimersIfNeeded() | - |
154 | { | - |
155 | if (QElapsedTimer::isMonotonic())TRUE | evaluated 3743510 times by 365 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
| FALSE | never evaluated |
| 0-3743510 |
156 | return;executed 3743510 times by 365 tests: return; Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
| 3743510 |
157 | timespec delta; | - |
158 | if (timeChanged(&delta))TRUE | never evaluated | FALSE | never evaluated |
| 0 |
159 | timerRepair(delta); never executed: timerRepair(delta); | 0 |
160 | } never executed: end of block | 0 |
161 | | - |
162 | #else // !(_POSIX_MONOTONIC_CLOCK-0 <= 0) && !defined(QT_BOOTSTRAPPED) | - |
163 | | - |
164 | void QTimerInfoList::repairTimersIfNeeded() | - |
165 | { | - |
166 | } | - |
167 | | - |
168 | #endif | - |
169 | | - |
170 | | - |
171 | | - |
172 | | - |
173 | void QTimerInfoList::timerInsert(QTimerInfo *ti) | - |
174 | { | - |
175 | int index = size(); | - |
176 | while (index--) {TRUE | evaluated 269002 times by 126 testsEvaluated by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDirModel
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- ...
| FALSE | evaluated 113254 times by 206 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
|
| 113254-269002 |
177 | const QTimerInfo * const t = at(index); | - |
178 | if (!(ti->timeout < t->timeout))TRUE | evaluated 122527 times by 108 testsEvaluated by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QCoreApplication
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- ...
| FALSE | evaluated 146475 times by 97 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- ...
|
| 122527-146475 |
179 | break;executed 122527 times by 108 tests: break; Executed by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QCoreApplication
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- ...
| 122527 |
180 | }executed 146475 times by 97 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- ...
| 146475 |
181 | insert(index+1, ti); | - |
182 | }executed 235781 times by 206 tests: end of block Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 235781 |
183 | | - |
184 | inline timespec &operator+=(timespec &t1, int ms) | - |
185 | { | - |
186 | t1.tv_sec += ms / 1000; | - |
187 | t1.tv_nsec += ms % 1000 * 1000 * 1000; | - |
188 | return normalizedTimespec(t1);executed 280467 times by 206 tests: return normalizedTimespec(t1); Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 280467 |
189 | } | - |
190 | | - |
191 | inline timespec operator+(const timespec &t1, int ms) | - |
192 | { | - |
193 | timespec t2 = t1; | - |
194 | return t2 += ms;executed 185312 times by 206 tests: return t2 += ms; Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 185312 |
195 | } | - |
196 | | - |
197 | static timespec roundToMillisecond(timespec val) | - |
198 | { | - |
199 | | - |
200 | | - |
201 | | - |
202 | int ns = val.tv_nsec % (1000 * 1000); | - |
203 | val.tv_nsec += 1000 * 1000 - ns; | - |
204 | return normalizedTimespec(val);executed 277800 times by 191 tests: return normalizedTimespec(val); Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 277800 |
205 | } | - |
206 | | - |
207 | #ifdef QTIMERINFO_DEBUG | - |
208 | QDebug operator<<(QDebug s, timeval tv) | - |
209 | { | - |
210 | QDebugStateSaver saver(s); | - |
211 | s.nospace() << tv.tv_sec << "." << qSetFieldWidth(6) << qSetPadChar(QChar(48)) << tv.tv_usec << reset; | - |
212 | return s; | - |
213 | } | - |
214 | QDebug operator<<(QDebug s, Qt::TimerType t) | - |
215 | { | - |
216 | QDebugStateSaver saver(s); | - |
217 | s << (t == Qt::PreciseTimer ? "P" : | - |
218 | t == Qt::CoarseTimer ? "C" : "VC"); | - |
219 | return s; | - |
220 | } | - |
221 | #endif | - |
222 | | - |
223 | static void calculateCoarseTimerTimeout(QTimerInfo *t, timespec currentTime) | - |
224 | { | - |
225 | | - |
226 | | - |
227 | | - |
228 | | - |
229 | | - |
230 | | - |
231 | | - |
232 | | - |
233 | | - |
234 | | - |
235 | | - |
236 | | - |
237 | | - |
238 | | - |
239 | | - |
240 | | - |
241 | uint interval = uint(t->interval); | - |
242 | uint msec = uint(t->timeout.tv_nsec) / 1000 / 1000; | - |
243 | Q_ASSERT(interval >= 20); | - |
244 | | - |
245 | | - |
246 | uint absMaxRounding = interval / 20; | - |
247 | | - |
248 | if (interval < 100 && interval != 25 && interval != 50 && interval != 75) {TRUE | evaluated 1464 times by 11 testsEvaluated by:- tst_QGraphicsLayout
- tst_QMenu
- tst_QMessageBox
- tst_QMovie
- tst_QNetworkReply
- tst_QObject
- tst_QScrollBar
- tst_QTimeLine
- tst_QTimer
- tst_QToolButton
- tst_QTreeView
| FALSE | evaluated 10174 times by 136 testsEvaluated by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusServiceWatcher
- ...
|
TRUE | evaluated 1464 times by 11 testsEvaluated by:- tst_QGraphicsLayout
- tst_QMenu
- tst_QMessageBox
- tst_QMovie
- tst_QNetworkReply
- tst_QObject
- tst_QScrollBar
- tst_QTimeLine
- tst_QTimer
- tst_QToolButton
- tst_QTreeView
| FALSE | never evaluated |
TRUE | evaluated 1362 times by 5 testsEvaluated by:- tst_QGraphicsLayout
- tst_QMovie
- tst_QObject
- tst_QTimeLine
- tst_QTimer
| FALSE | evaluated 102 times by 6 testsEvaluated by:- tst_QMenu
- tst_QMessageBox
- tst_QNetworkReply
- tst_QScrollBar
- tst_QToolButton
- tst_QTreeView
|
TRUE | evaluated 1362 times by 5 testsEvaluated by:- tst_QGraphicsLayout
- tst_QMovie
- tst_QObject
- tst_QTimeLine
- tst_QTimer
| FALSE | never evaluated |
| 0-10174 |
249 | | - |
250 | if (interval < 50) {TRUE | evaluated 1341 times by 3 testsEvaluated by:- tst_QGraphicsLayout
- tst_QMovie
- tst_QTimeLine
| FALSE | evaluated 21 times by 3 testsEvaluated by:- tst_QMovie
- tst_QObject
- tst_QTimer
|
| 21-1341 |
251 | | - |
252 | | - |
253 | bool roundUp = (msec % 50) >= 25; | - |
254 | msec >>= 1; | - |
255 | msec |= uint(roundUp); | - |
256 | msec <<= 1; | - |
257 | } else {executed 1341 times by 3 tests: end of block Executed by:- tst_QGraphicsLayout
- tst_QMovie
- tst_QTimeLine
| 1341 |
258 | | - |
259 | | - |
260 | bool roundUp = (msec % 100) >= 50; | - |
261 | msec >>= 2; | - |
262 | msec |= uint(roundUp); | - |
263 | msec <<= 2; | - |
264 | }executed 21 times by 3 tests: end of block Executed by:- tst_QMovie
- tst_QObject
- tst_QTimer
| 21 |
265 | } else { | - |
266 | uint min = qMax<int>(0, msec - absMaxRounding); | - |
267 | uint max = qMin(1000u, msec + absMaxRounding); | - |
268 | | - |
269 | | - |
270 | | - |
271 | | - |
272 | if (min == 0) {TRUE | evaluated 1447 times by 65 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QApplication
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusThreading
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFtp
- tst_QFutureWatcher
- tst_QGraphicsItem
- ...
| FALSE | evaluated 8829 times by 127 testsEvaluated by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusServiceWatcher
- tst_QDBusThreading
- tst_QDataWidgetMapper
- ...
|
| 1447-8829 |
273 | msec = 0; | - |
274 | goto recalculate;executed 1447 times by 65 tests: goto recalculate; Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QApplication
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusThreading
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QDoubleSpinBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFtp
- tst_QFutureWatcher
- tst_QGraphicsItem
- ...
| 1447 |
275 | } else if (max == 1000) {TRUE | evaluated 822 times by 67 testsEvaluated by:- tst_NetworkSelfTest
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDateTimeEdit
- tst_QDnsLookup
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemWatcher
- tst_QFontMetrics
- tst_QFtp
- tst_QFutureWatcher
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGroupBox
- tst_QGuiApplication
- tst_QHostInfo
- ...
| FALSE | evaluated 8007 times by 115 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusServiceWatcher
- tst_QDBusThreading
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- ...
|
| 822-8007 |
276 | msec = 1000; | - |
277 | goto recalculate;executed 822 times by 67 tests: goto recalculate; Executed by:- tst_NetworkSelfTest
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDateTimeEdit
- tst_QDnsLookup
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemWatcher
- tst_QFontMetrics
- tst_QFtp
- tst_QFutureWatcher
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGroupBox
- tst_QGuiApplication
- tst_QHostInfo
- ...
| 822 |
278 | } | - |
279 | | - |
280 | uint wantedBoundaryMultiple; | - |
281 | | - |
282 | | - |
283 | | - |
284 | | - |
285 | | - |
286 | if ((interval % 500) == 0) {TRUE | evaluated 5685 times by 100 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusServiceWatcher
- tst_QDBusThreading
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- ...
| FALSE | evaluated 2322 times by 65 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractInterface
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- ...
|
| 2322-5685 |
287 | if (interval >= 5000) {TRUE | evaluated 244 times by 15 testsEvaluated by:- tst_QBuffer
- tst_QDBusInterface
- tst_QFutureWatcher
- tst_QHostInfo
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QNetworkReply
- tst_QProcess
- tst_QSignalSpy
- tst_QSslSocket
- tst_QStateMachine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QThread
- tst_QTimer
| FALSE | evaluated 5441 times by 94 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusServiceWatcher
- tst_QDBusThreading
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QEventLoop
- ...
|
| 244-5441 |
288 | msec = msec >= 500 ? max : min;TRUE | evaluated 163 times by 10 testsEvaluated by:- tst_QBuffer
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QNetworkReply
- tst_QSignalSpy
- tst_QSslSocket
- tst_QStateMachine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTimer
| FALSE | evaluated 81 times by 12 testsEvaluated by:- tst_QDBusInterface
- tst_QFutureWatcher
- tst_QHostInfo
- tst_QImageReader
- tst_QNetworkReply
- tst_QProcess
- tst_QSignalSpy
- tst_QSslSocket
- tst_QStateMachine
- tst_QTcpSocket
- tst_QThread
- tst_QTimer
|
| 81-163 |
289 | goto recalculate;executed 244 times by 15 tests: goto recalculate; Executed by:- tst_QBuffer
- tst_QDBusInterface
- tst_QFutureWatcher
- tst_QHostInfo
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QNetworkReply
- tst_QProcess
- tst_QSignalSpy
- tst_QSslSocket
- tst_QStateMachine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QThread
- tst_QTimer
| 244 |
290 | } else { | - |
291 | wantedBoundaryMultiple = 500; | - |
292 | }executed 5441 times by 94 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusServiceWatcher
- tst_QDBusThreading
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QEventLoop
- ...
| 5441 |
293 | } else if ((interval % 50) == 0) {TRUE | evaluated 2311 times by 65 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractInterface
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- ...
| FALSE | evaluated 11 times by 1 test |
| 11-2311 |
294 | | - |
295 | uint mult50 = interval / 50; | - |
296 | if ((mult50 % 4) == 0) {TRUE | evaluated 919 times by 17 testsEvaluated by:- tst_QComboBox
- tst_QDoubleSpinBox
- tst_QEventDispatcher
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMovie
- tst_QNetworkReply
- tst_QSignalSpy
- tst_QStateMachine
- tst_QTextEdit
- tst_QTimeLine
- tst_QTimer
- tst_QTreeView
| FALSE | evaluated 1392 times by 59 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractInterface
- tst_QDialog
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QGuiApplication
- tst_QGuiEventLoop
- ...
|
| 919-1392 |
297 | | - |
298 | wantedBoundaryMultiple = 200; | - |
299 | } else if ((mult50 % 2) == 0) {executed 919 times by 17 tests: end of block Executed by:- tst_QComboBox
- tst_QDoubleSpinBox
- tst_QEventDispatcher
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMovie
- tst_QNetworkReply
- tst_QSignalSpy
- tst_QStateMachine
- tst_QTextEdit
- tst_QTimeLine
- tst_QTimer
- tst_QTreeView
TRUE | evaluated 1239 times by 56 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractInterface
- tst_QDialog
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QItemView
- ...
| FALSE | evaluated 153 times by 9 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QApplication
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkReply
- tst_QScrollBar
- tst_QToolButton
- tst_QTreeView
|
| 153-1239 |
300 | | - |
301 | wantedBoundaryMultiple = 100; | - |
302 | } else if ((mult50 % 5) == 0) {executed 1239 times by 56 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDBusAbstractInterface
- tst_QDialog
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QItemView
- ...
TRUE | evaluated 5 times by 1 test | FALSE | evaluated 148 times by 8 testsEvaluated by:- tst_QAbstractItemView
- tst_QApplication
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkReply
- tst_QScrollBar
- tst_QToolButton
- tst_QTreeView
|
| 5-1239 |
303 | | - |
304 | wantedBoundaryMultiple = 250; | - |
305 | } else {executed 5 times by 1 test: end of block | 5 |
306 | | - |
307 | wantedBoundaryMultiple = 50; | - |
308 | }executed 148 times by 8 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QApplication
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkReply
- tst_QScrollBar
- tst_QToolButton
- tst_QTreeView
| 148 |
309 | } else { | - |
310 | wantedBoundaryMultiple = 25; | - |
311 | }executed 11 times by 1 test: end of block | 11 |
312 | | - |
313 | uint base = msec / wantedBoundaryMultiple * wantedBoundaryMultiple; | - |
314 | uint middlepoint = base + wantedBoundaryMultiple / 2; | - |
315 | if (msec < middlepoint)TRUE | evaluated 4007 times by 99 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDBusPendingCall
- tst_QDBusServiceWatcher
- tst_QDBusThreading
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemWatcher
- ...
| FALSE | evaluated 3756 times by 93 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QEventDispatcher
- tst_QEventLoop
- ...
|
| 3756-4007 |
316 | msec = qMax(base, min);executed 4007 times by 99 tests: msec = qMax(base, min); Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDBusPendingCall
- tst_QDBusServiceWatcher
- tst_QDBusThreading
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemWatcher
- ...
| 4007 |
317 | else | - |
318 | msec = qMin(base + wantedBoundaryMultiple, max);executed 3756 times by 93 tests: msec = qMin(base + wantedBoundaryMultiple, max); Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QEventDispatcher
- tst_QEventLoop
- ...
| 3756 |
319 | } | - |
320 | | - |
321 | recalculate:code before this statement executed 9125 times by 109 tests: recalculate: Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusServiceWatcher
- tst_QDBusThreading
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- ...
| 9125 |
322 | if (msec == 1000u) {TRUE | evaluated 822 times by 67 testsEvaluated by:- tst_NetworkSelfTest
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDateTimeEdit
- tst_QDnsLookup
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemWatcher
- tst_QFontMetrics
- tst_QFtp
- tst_QFutureWatcher
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGroupBox
- tst_QGuiApplication
- tst_QHostInfo
- ...
| FALSE | evaluated 10816 times by 130 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusServiceWatcher
- tst_QDBusThreading
- ...
|
| 822-10816 |
323 | ++t->timeout.tv_sec; | - |
324 | t->timeout.tv_nsec = 0; | - |
325 | } else {executed 822 times by 67 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDateTimeEdit
- tst_QDnsLookup
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemWatcher
- tst_QFontMetrics
- tst_QFtp
- tst_QFutureWatcher
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGroupBox
- tst_QGuiApplication
- tst_QHostInfo
- ...
| 822 |
326 | t->timeout.tv_nsec = msec * 1000 * 1000; | - |
327 | }executed 10816 times by 130 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusServiceWatcher
- tst_QDBusThreading
- ...
| 10816 |
328 | | - |
329 | if (t->timeout < currentTime)TRUE | never evaluated | FALSE | evaluated 11638 times by 136 testsEvaluated by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusServiceWatcher
- ...
|
| 0-11638 |
330 | t->timeout += interval; never executed: t->timeout += interval; | 0 |
331 | }executed 11638 times by 136 tests: end of block Executed by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusServiceWatcher
- ...
| 11638 |
332 | | - |
333 | static void calculateNextTimeout(QTimerInfo *t, timespec currentTime) | - |
334 | { | - |
335 | switch (t->timerType) { | - |
336 | case Qt::PreciseTimer:executed 47701 times by 90 tests: case Qt::PreciseTimer: Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QDialogButtonBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsAnchorLayout
- tst_QGraphicsEffect
- ...
| 47701 |
337 | case Qt::CoarseTimer:executed 2626 times by 67 tests: case Qt::CoarseTimer: Executed by:- tst_QAbstractButton
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QGuiEventLoop
- ...
| 2626 |
338 | t->timeout += t->interval; | - |
339 | if (t->timeout < currentTime) {TRUE | evaluated 44828 times by 71 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsAnchorLayout
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- ...
| FALSE | evaluated 5499 times by 86 testsEvaluated by:- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- ...
|
| 5499-44828 |
340 | t->timeout = currentTime; | - |
341 | t->timeout += t->interval; | - |
342 | }executed 44828 times by 71 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsAnchorLayout
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- ...
| 44828 |
343 | #ifdef QTIMERINFO_DEBUG | - |
344 | t->expected += t->interval; | - |
345 | if (t->expected < currentTime) { | - |
346 | t->expected = currentTime; | - |
347 | t->expected += t->interval; | - |
348 | } | - |
349 | #endif | - |
350 | if (t->timerType == Qt::CoarseTimer)TRUE | evaluated 2626 times by 67 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QGuiEventLoop
- ...
| FALSE | evaluated 47701 times by 90 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QDialogButtonBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsAnchorLayout
- tst_QGraphicsEffect
- ...
|
| 2626-47701 |
351 | calculateCoarseTimerTimeout(t, currentTime);executed 2626 times by 67 tests: calculateCoarseTimerTimeout(t, currentTime); Executed by:- tst_QAbstractButton
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QGuiEventLoop
- ...
| 2626 |
352 | return;executed 50327 times by 114 tests: return; Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QDialogButtonBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
| 50327 |
353 | | - |
354 | case Qt::VeryCoarseTimer:executed 142 times by 6 tests: case Qt::VeryCoarseTimer: Executed by:- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFtp
- tst_QGraphicsView
- tst_QNetworkReply
- tst_QWidget
| 142 |
355 | | - |
356 | t->timeout.tv_sec += t->interval; | - |
357 | if (t->timeout.tv_sec <= currentTime.tv_sec)TRUE | never evaluated | FALSE | evaluated 142 times by 6 testsEvaluated by:- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFtp
- tst_QGraphicsView
- tst_QNetworkReply
- tst_QWidget
|
| 0-142 |
358 | t->timeout.tv_sec = currentTime.tv_sec + t->interval; never executed: t->timeout.tv_sec = currentTime.tv_sec + t->interval; | 0 |
359 | #ifdef QTIMERINFO_DEBUG | - |
360 | t->expected.tv_sec += t->interval; | - |
361 | if (t->expected.tv_sec <= currentTime.tv_sec) | - |
362 | t->expected.tv_sec = currentTime.tv_sec + t->interval; | - |
363 | #endif | - |
364 | return;executed 142 times by 6 tests: return; Executed by:- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFtp
- tst_QGraphicsView
- tst_QNetworkReply
- tst_QWidget
| 142 |
365 | } | - |
366 | | - |
367 | #ifdef QTIMERINFO_DEBUG | - |
368 | if (t->timerType != Qt::PreciseTimer) | - |
369 | qDebug() << "timer" << t->timerType << hex << t->id << dec << "interval" << t->interval | - |
370 | << "originally expected at" << t->expected << "will fire at" << t->timeout | - |
371 | << "or" << (t->timeout - t->expected) << "s late"; | - |
372 | #endif | - |
373 | } never executed: end of block | 0 |
374 | | - |
375 | | - |
376 | | - |
377 | | - |
378 | | - |
379 | bool QTimerInfoList::timerWait(timespec &tm) | - |
380 | { | - |
381 | timespec currentTime = updateCurrentTime(); | - |
382 | repairTimersIfNeeded(); | - |
383 | | - |
384 | | - |
385 | QTimerInfo *t = 0; | - |
386 | for (QTimerInfoList::const_iterator it = constBegin(); it != constEnd(); ++it) {TRUE | evaluated 322437 times by 191 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| FALSE | evaluated 3374121 times by 358 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
|
| 322437-3374121 |
387 | if (!(*it)->activateRef) {TRUE | evaluated 322405 times by 191 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| FALSE | evaluated 32 times by 1 test |
| 32-322405 |
388 | t = *it; | - |
389 | break;executed 322405 times by 191 tests: break; Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 322405 |
390 | } | - |
391 | }executed 32 times by 1 test: end of block | 32 |
392 | | - |
393 | if (!t)TRUE | evaluated 3374121 times by 358 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| FALSE | evaluated 322405 times by 191 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
|
| 322405-3374121 |
394 | return false;executed 3374121 times by 358 tests: return false; Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 3374121 |
395 | | - |
396 | if (currentTime < t->timeout) {TRUE | evaluated 277796 times by 191 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| FALSE | evaluated 44609 times by 94 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsAnchorLayout
- tst_QGraphicsEffect
- ...
|
| 44609-277796 |
397 | | - |
398 | tm = roundToMillisecond(t->timeout - currentTime); | - |
399 | } else {executed 277796 times by 191 tests: end of block Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 277796 |
400 | | - |
401 | tm.tv_sec = 0; | - |
402 | tm.tv_nsec = 0; | - |
403 | }executed 44609 times by 94 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsAnchorLayout
- tst_QGraphicsEffect
- ...
| 44609 |
404 | | - |
405 | return true;executed 322405 times by 191 tests: return true; Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 322405 |
406 | } | - |
407 | | - |
408 | | - |
409 | | - |
410 | | - |
411 | | - |
412 | | - |
413 | int QTimerInfoList::timerRemainingTime(int timerId) | - |
414 | { | - |
415 | timespec currentTime = updateCurrentTime(); | - |
416 | repairTimersIfNeeded(); | - |
417 | timespec tm = {0, 0}; | - |
418 | | - |
419 | for (int i = 0; i < count(); ++i) {TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
420 | QTimerInfo *t = at(i); | - |
421 | if (t->id == timerId) {TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
422 | if (currentTime < t->timeout) {TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
423 | | - |
424 | tm = roundToMillisecond(t->timeout - currentTime); | - |
425 | return tm.tv_sec*1000 + tm.tv_nsec/1000/1000;executed 4 times by 1 test: return tm.tv_sec*1000 + tm.tv_nsec/1000/1000; | 4 |
426 | } else { | - |
427 | return 0; never executed: return 0; | 0 |
428 | } | - |
429 | } | - |
430 | } never executed: end of block | 0 |
431 | | - |
432 | #ifndef QT_NO_DEBUG | - |
433 | qWarning("QTimerInfoList::timerRemainingTime: timer id %i not found", timerId); | - |
434 | #endif | - |
435 | | - |
436 | return -1; never executed: return -1; | 0 |
437 | } | - |
438 | | - |
439 | void QTimerInfoList::registerTimer(int timerId, int interval, Qt::TimerType timerType, QObject *object) | - |
440 | { | - |
441 | QTimerInfo *t = new QTimerInfo; | - |
442 | t->id = timerId; | - |
443 | t->interval = interval; | - |
444 | t->timerType = timerType; | - |
445 | t->obj = object; | - |
446 | t->activateRef = 0; | - |
447 | | - |
448 | timespec expected = updateCurrentTime() + interval; | - |
449 | | - |
450 | switch (timerType) { | - |
451 | case Qt::PreciseTimer:executed 40735 times by 43 tests: case Qt::PreciseTimer: Executed by:- tst_QAbstractAnimation
- tst_QApplication
- tst_QColorDialog
- tst_QColumnView
- tst_QCommandLinkButton
- tst_QCoreApplication
- tst_QDBusMarshall
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QGraphicsItem
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLineEdit
- tst_QMainWindow
- tst_QMenu
- tst_QNetworkReply
- tst_QOpenGLWidget
- tst_QOpenGLWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QPushButton
- ...
| 40735 |
452 | | - |
453 | | - |
454 | t->timeout = expected; | - |
455 | break;executed 40735 times by 43 tests: break; Executed by:- tst_QAbstractAnimation
- tst_QApplication
- tst_QColorDialog
- tst_QColumnView
- tst_QCommandLinkButton
- tst_QCoreApplication
- tst_QDBusMarshall
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QGraphicsItem
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLineEdit
- tst_QMainWindow
- tst_QMenu
- tst_QNetworkReply
- tst_QOpenGLWidget
- tst_QOpenGLWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QPushButton
- ...
| 40735 |
456 | | - |
457 | case Qt::CoarseTimer:executed 144575 times by 199 tests: case Qt::CoarseTimer: 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- ...
| 144575 |
458 | | - |
459 | | - |
460 | | - |
461 | | - |
462 | if (interval >= 20000) {TRUE | evaluated 8179 times by 186 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_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| FALSE | evaluated 136396 times by 155 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusPendingCall
- ...
|
| 8179-136396 |
463 | t->timerType = Qt::VeryCoarseTimer; | - |
464 | | - |
465 | } else {executed 8179 times by 186 tests: end of block 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_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| 8179 |
466 | t->timeout = expected; | - |
467 | if (interval <= 20) {TRUE | evaluated 127384 times by 80 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsAnchorLayout
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsGridLayout
- ...
| FALSE | evaluated 9012 times by 136 testsEvaluated by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusServiceWatcher
- ...
|
| 9012-127384 |
468 | t->timerType = Qt::PreciseTimer; | - |
469 | | - |
470 | } else if (interval <= 20000) {executed 127384 times by 80 tests: end of block Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsAnchorLayout
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsGridLayout
- ...
TRUE | evaluated 9012 times by 136 testsEvaluated by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusServiceWatcher
- ...
| FALSE | never evaluated |
| 0-127384 |
471 | calculateCoarseTimerTimeout(t, currentTime); | - |
472 | }executed 9012 times by 136 tests: end of block Executed by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusServiceWatcher
- ...
| 9012 |
473 | break;executed 136396 times by 155 tests: break; Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusPendingCall
- ...
| 136396 |
474 | } | - |
475 | | - |
476 | case Qt::VeryCoarseTimer:code before this statement executed 8179 times by 186 tests: case Qt::VeryCoarseTimer: 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_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
executed 2 times by 1 test: case Qt::VeryCoarseTimer: | 2-8179 |
477 | | - |
478 | | - |
479 | t->interval /= 500; | - |
480 | t->interval += 1; | - |
481 | t->interval >>= 1; | - |
482 | t->timeout.tv_sec = currentTime.tv_sec + t->interval; | - |
483 | t->timeout.tv_nsec = 0; | - |
484 | | - |
485 | | - |
486 | if (currentTime.tv_nsec > 500*1000*1000)TRUE | evaluated 3978 times by 132 testsEvaluated by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusServiceWatcher
- ...
| FALSE | evaluated 4203 times by 116 testsEvaluated by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QColumnView
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusThreading
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDial
- tst_QDialog
- ...
|
| 3978-4203 |
487 | ++t->timeout.tv_sec;executed 3978 times by 132 tests: ++t->timeout.tv_sec; Executed by:- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusServiceWatcher
- ...
| 3978 |
488 | }executed 8181 times by 187 tests: end of block 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_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| 8181 |
489 | | - |
490 | timerInsert(t); | - |
491 | | - |
492 | #ifdef QTIMERINFO_DEBUG | - |
493 | t->expected = expected; | - |
494 | t->cumulativeError = 0; | - |
495 | t->count = 0; | - |
496 | if (t->timerType != Qt::PreciseTimer) | - |
497 | qDebug() << "timer" << t->timerType << hex <<t->id << dec << "interval" << t->interval << "expected at" | - |
498 | << t->expected << "will fire first at" << t->timeout; | - |
499 | #endif | - |
500 | }executed 185312 times by 206 tests: end of block Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 185312 |
501 | | - |
502 | bool QTimerInfoList::unregisterTimer(int timerId) | - |
503 | { | - |
504 | | - |
505 | for (int i = 0; i < count(); ++i) {TRUE | evaluated 62597616 times by 217 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- ...
| FALSE | never evaluated |
| 0-62597616 |
506 | QTimerInfo *t = at(i); | - |
507 | if (t->id == timerId) {TRUE | evaluated 161101 times by 217 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- ...
| FALSE | evaluated 62436515 times by 83 testsEvaluated by:- tst_ModelTest
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDirModel
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsProxyWidget
- ...
|
| 161101-62436515 |
508 | | - |
509 | removeAt(i); | - |
510 | if (t == firstTimerInfo)TRUE | evaluated 33392 times by 105 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QDialogButtonBox
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- ...
| FALSE | evaluated 127709 times by 215 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- ...
|
| 33392-127709 |
511 | firstTimerInfo = 0;executed 33392 times by 105 tests: firstTimerInfo = 0; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QDialogButtonBox
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- ...
| 33392 |
512 | if (t->activateRef)TRUE | evaluated 33438 times by 105 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QDialogButtonBox
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- ...
| FALSE | evaluated 127663 times by 215 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- ...
|
| 33438-127663 |
513 | *(t->activateRef) = 0;executed 33438 times by 105 tests: *(t->activateRef) = 0; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QDialogButtonBox
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- ...
| 33438 |
514 | delete t; | - |
515 | return true;executed 161101 times by 217 tests: return true; 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- ...
| 161101 |
516 | } | - |
517 | }executed 62436515 times by 83 tests: end of block Executed by:- tst_ModelTest
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDirModel
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsProxyWidget
- ...
| 62436515 |
518 | | - |
519 | return false; never executed: return false; | 0 |
520 | } | - |
521 | | - |
522 | bool QTimerInfoList::unregisterTimers(QObject *object) | - |
523 | { | - |
524 | if (isEmpty())TRUE | evaluated 2 times by 1 test | FALSE | evaluated 22416 times by 65 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsAnchorLayout
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsPixmapItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- ...
|
| 2-22416 |
525 | return false;executed 2 times by 1 test: return false; | 2 |
526 | for (int i = 0; i < count(); ++i) {TRUE | evaluated 26376 times by 65 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsAnchorLayout
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsPixmapItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- ...
| FALSE | evaluated 22416 times by 65 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsAnchorLayout
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsPixmapItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- ...
|
| 22416-26376 |
527 | QTimerInfo *t = at(i); | - |
528 | if (t->obj == object) {TRUE | evaluated 22474 times by 65 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsAnchorLayout
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsPixmapItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- ...
| FALSE | evaluated 3902 times by 54 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGroupBox
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QItemView
- ...
|
| 3902-22474 |
529 | | - |
530 | removeAt(i); | - |
531 | if (t == firstTimerInfo)TRUE | never evaluated | FALSE | evaluated 22474 times by 65 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsAnchorLayout
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsPixmapItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- ...
|
| 0-22474 |
532 | firstTimerInfo = 0; never executed: firstTimerInfo = 0; | 0 |
533 | if (t->activateRef)TRUE | never evaluated | FALSE | evaluated 22474 times by 65 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsAnchorLayout
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsPixmapItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- ...
|
| 0-22474 |
534 | *(t->activateRef) = 0; never executed: *(t->activateRef) = 0; | 0 |
535 | delete t; | - |
536 | | - |
537 | --i; | - |
538 | }executed 22474 times by 65 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsAnchorLayout
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsPixmapItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- ...
| 22474 |
539 | }executed 26376 times by 65 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsAnchorLayout
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsPixmapItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- ...
| 26376 |
540 | return true;executed 22416 times by 65 tests: return true; Executed by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsAnchorLayout
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsPixmapItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- ...
| 22416 |
541 | } | - |
542 | | - |
543 | QList<QAbstractEventDispatcher::TimerInfo> QTimerInfoList::registeredTimers(QObject *object) const | - |
544 | { | - |
545 | QList<QAbstractEventDispatcher::TimerInfo> list; | - |
546 | for (int i = 0; i < count(); ++i) {TRUE | evaluated 44986 times by 51 testsEvaluated by:- tst_ModelTest
- tst_QColorDialog
- tst_QColumnView
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDirModel
- tst_QErrorMessage
- tst_QEventDispatcher
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsAnchorLayout
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsSceneIndex
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemView
- tst_QLayout
- tst_QMainWindow
- ...
| FALSE | evaluated 65826 times by 331 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_QCoreApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
|
| 44986-65826 |
547 | const QTimerInfo * const t = at(i); | - |
548 | if (t->obj == object) {TRUE | evaluated 20024 times by 4 testsEvaluated by:- tst_QEventDispatcher
- tst_QObject
- tst_QTcpSocket
- tst_QTimer
| FALSE | evaluated 24962 times by 50 testsEvaluated by:- tst_ModelTest
- tst_QColorDialog
- tst_QColumnView
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDirModel
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsAnchorLayout
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsSceneIndex
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemView
- tst_QLayout
- tst_QMainWindow
- tst_QMdiArea
- ...
|
| 20024-24962 |
549 | list << QAbstractEventDispatcher::TimerInfo(t->id, | - |
550 | (t->timerType == Qt::VeryCoarseTimer | - |
551 | ? t->interval * 1000 | - |
552 | : t->interval), | - |
553 | t->timerType); | - |
554 | }executed 20024 times by 4 tests: end of block Executed by:- tst_QEventDispatcher
- tst_QObject
- tst_QTcpSocket
- tst_QTimer
| 20024 |
555 | }executed 44986 times by 51 tests: end of block Executed by:- tst_ModelTest
- tst_QColorDialog
- tst_QColumnView
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDirModel
- tst_QErrorMessage
- tst_QEventDispatcher
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsAnchorLayout
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsSceneIndex
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemView
- tst_QLayout
- tst_QMainWindow
- ...
| 44986 |
556 | return list;executed 65826 times by 331 tests: return list; 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_QCoreApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| 65826 |
557 | } | - |
558 | | - |
559 | | - |
560 | | - |
561 | | - |
562 | int QTimerInfoList::activateTimers() | - |
563 | { | - |
564 | if (qt_disable_lowpriority_timers || isEmpty())TRUE | never evaluated | FALSE | evaluated 46996 times by 114 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QDialogButtonBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
|
TRUE | evaluated 16 times by 8 testsEvaluated by:- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsWidget
- tst_QStateMachine
| FALSE | evaluated 46980 times by 114 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QDialogButtonBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
|
| 0-46996 |
565 | return 0; executed 16 times by 8 tests: return 0; Executed by:- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsWidget
- tst_QStateMachine
| 16 |
566 | | - |
567 | int n_act = 0, maxCount = 0; | - |
568 | firstTimerInfo = 0; | - |
569 | | - |
570 | timespec currentTime = updateCurrentTime(); | - |
571 | | - |
572 | repairTimersIfNeeded(); | - |
573 | | - |
574 | | - |
575 | | - |
576 | for (QTimerInfoList::const_iterator it = constBegin(); it != constEnd(); ++it) {TRUE | evaluated 62399 times by 114 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QDialogButtonBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
| FALSE | evaluated 35264 times by 82 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QApplication
- tst_QCalendarWidget
- tst_QColumnView
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialogButtonBox
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFtp
- tst_QGraphicsAnchorLayout
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- ...
|
| 35264-62399 |
577 | if (currentTime < (*it)->timeout)TRUE | evaluated 11716 times by 78 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsItem
- tst_QGraphicsLayout
- ...
| FALSE | evaluated 50683 times by 114 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QDialogButtonBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
|
| 11716-50683 |
578 | break;executed 11716 times by 78 tests: break; Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsItem
- tst_QGraphicsLayout
- ...
| 11716 |
579 | maxCount++; | - |
580 | }executed 50683 times by 114 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QDialogButtonBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
| 50683 |
581 | | - |
582 | | - |
583 | while (maxCount--) {TRUE | evaluated 50622 times by 114 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QDialogButtonBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
| FALSE | evaluated 46826 times by 114 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QDialogButtonBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
|
| 46826-50622 |
584 | if (isEmpty())TRUE | never evaluated | FALSE | evaluated 50622 times by 114 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QDialogButtonBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
|
| 0-50622 |
585 | break; never executed: break; | 0 |
586 | | - |
587 | QTimerInfo *currentTimerInfo = first(); | - |
588 | if (currentTime < currentTimerInfo->timeout)TRUE | evaluated 153 times by 17 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QListView
- tst_QSortFilterProxyModel
- tst_QTableView
- tst_QTimer
- tst_QTreeView
- tst_QTreeWidget
- tst_languageChange
| FALSE | evaluated 50469 times by 114 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QDialogButtonBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
|
| 153-50469 |
589 | break; executed 153 times by 17 tests: break; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QListView
- tst_QSortFilterProxyModel
- tst_QTableView
- tst_QTimer
- tst_QTreeView
- tst_QTreeWidget
- tst_languageChange
| 153 |
590 | | - |
591 | if (!firstTimerInfo) {TRUE | evaluated 50307 times by 114 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QDialogButtonBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
| FALSE | evaluated 162 times by 20 testsEvaluated by:- tst_QApplication
- tst_QColumnView
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QPainter
- tst_QTimer
- tst_QTouchEvent
- tst_QTreeWidget
- tst_QWidget
- tst_languageChange
|
| 162-50307 |
592 | firstTimerInfo = currentTimerInfo; | - |
593 | } else if (firstTimerInfo == currentTimerInfo) {executed 50307 times by 114 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QDialogButtonBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
TRUE | never evaluated | FALSE | evaluated 162 times by 20 testsEvaluated by:- tst_QApplication
- tst_QColumnView
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QPainter
- tst_QTimer
- tst_QTouchEvent
- tst_QTreeWidget
- tst_QWidget
- tst_languageChange
|
| 0-50307 |
594 | | - |
595 | break; never executed: break; | 0 |
596 | } else if (currentTimerInfo->interval < firstTimerInfo->intervalTRUE | evaluated 41 times by 10 testsEvaluated by:- tst_QColumnView
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QMainWindow
- tst_QMdiArea
- tst_QTreeWidget
- tst_QWidget
- tst_languageChange
| FALSE | evaluated 121 times by 12 testsEvaluated by:- tst_QApplication
- tst_QDialog
- tst_QFileDialog2
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QMainWindow
- tst_QPainter
- tst_QTimer
- tst_QTouchEvent
|
| 41-121 |
597 | || currentTimerInfo->interval == firstTimerInfo->interval) {TRUE | evaluated 68 times by 9 testsEvaluated by:- tst_QDialog
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QPainter
- tst_QTimer
- tst_QTouchEvent
| FALSE | evaluated 53 times by 4 testsEvaluated by:- tst_QApplication
- tst_QFileDialog2
- tst_QMainWindow
- tst_QTimer
|
| 53-68 |
598 | firstTimerInfo = currentTimerInfo; | - |
599 | }executed 109 times by 19 tests: end of block Executed by:- tst_QColumnView
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QPainter
- tst_QTimer
- tst_QTouchEvent
- tst_QTreeWidget
- tst_QWidget
- tst_languageChange
| 109 |
600 | | - |
601 | | - |
602 | removeFirst(); | - |
603 | | - |
604 | #ifdef QTIMERINFO_DEBUG | - |
605 | float diff; | - |
606 | if (currentTime < currentTimerInfo->expected) { | - |
607 | | - |
608 | timeval early = currentTimerInfo->expected - currentTime; | - |
609 | diff = -(early.tv_sec + early.tv_usec / 1000000.0); | - |
610 | } else { | - |
611 | timeval late = currentTime - currentTimerInfo->expected; | - |
612 | diff = late.tv_sec + late.tv_usec / 1000000.0; | - |
613 | } | - |
614 | currentTimerInfo->cumulativeError += diff; | - |
615 | ++currentTimerInfo->count; | - |
616 | if (currentTimerInfo->timerType != Qt::PreciseTimer) | - |
617 | qDebug() << "timer" << currentTimerInfo->timerType << hex << currentTimerInfo->id << dec << "interval" | - |
618 | << currentTimerInfo->interval << "firing at" << currentTime | - |
619 | << "(orig" << currentTimerInfo->expected << "scheduled at" << currentTimerInfo->timeout | - |
620 | << ") off by" << diff << "activation" << currentTimerInfo->count | - |
621 | << "avg error" << (currentTimerInfo->cumulativeError / currentTimerInfo->count); | - |
622 | #endif | - |
623 | | - |
624 | | - |
625 | calculateNextTimeout(currentTimerInfo, currentTime); | - |
626 | | - |
627 | | - |
628 | timerInsert(currentTimerInfo); | - |
629 | if (currentTimerInfo->interval > 0)TRUE | evaluated 5732 times by 91 testsEvaluated by:- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- ...
| FALSE | evaluated 44737 times by 59 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsAnchorLayout
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
|
| 5732-44737 |
630 | n_act++;executed 5732 times by 91 tests: n_act++; Executed by:- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- ...
| 5732 |
631 | | - |
632 | if (!currentTimerInfo->activateRef) {TRUE | evaluated 50431 times by 114 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QDialogButtonBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
| FALSE | evaluated 38 times by 1 test |
| 38-50431 |
633 | | - |
634 | currentTimerInfo->activateRef = ¤tTimerInfo; | - |
635 | | - |
636 | QTimerEvent e(currentTimerInfo->id); | - |
637 | QCoreApplication::sendEvent(currentTimerInfo->obj, &e); | - |
638 | | - |
639 | if (currentTimerInfo)TRUE | evaluated 16992 times by 58 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QApplication
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDialog
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsAnchorLayout
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- ...
| FALSE | evaluated 33438 times by 105 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QDialogButtonBox
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- ...
|
| 16992-33438 |
640 | currentTimerInfo->activateRef = 0;executed 16992 times by 58 tests: currentTimerInfo->activateRef = 0; Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QApplication
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDialog
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsAnchorLayout
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- ...
| 16992 |
641 | }executed 50430 times by 114 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QDialogButtonBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
| 50430 |
642 | }executed 50468 times by 114 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QDialogButtonBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
| 50468 |
643 | | - |
644 | firstTimerInfo = 0; | - |
645 | | - |
646 | return n_act;executed 46979 times by 114 tests: return n_act; Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QDialogButtonBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
| 46979 |
647 | } | - |
648 | | - |
649 | QT_END_NAMESPACE | - |
| | |