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