| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | void QBasicTimer::start(int msec, QObject *obj) | - |
| 4 | { | - |
| 5 | QAbstractEventDispatcher *eventDispatcher = QAbstractEventDispatcher::instance(); | - |
| 6 | if (__builtin_expect(!!(!eventDispatcher), false)| TRUE | never evaluated | | FALSE | evaluated 122790 times by 84 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGestureRecognizer
- ...
|
) { | 0-122790 |
| 7 | QMessageLogger(__FILE__, 114, __PRETTY_FUNCTION__).warning("QBasicTimer::start: QBasicTimer can only be used with threads started with QThread"); | - |
| 8 | return; never executed: return; | 0 |
| 9 | } | - |
| 10 | if (__builtin_expect(!!(obj && obj->thread() != eventDispatcher->thread()), false)| TRUE | never evaluated | | FALSE | evaluated 122790 times by 84 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGestureRecognizer
- ...
|
) { | 0-122790 |
| 11 | QMessageLogger(__FILE__, 118, __PRETTY_FUNCTION__).warning("QBasicTimer::start: Timers cannot be started from another thread"); | - |
| 12 | return; never executed: return; | 0 |
| 13 | } | - |
| 14 | if (id| TRUE | evaluated 103965 times by 51 testsEvaluated by:- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QListView
- ...
| | FALSE | evaluated 18825 times by 84 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGestureRecognizer
- ...
|
) { | 18825-103965 |
| 15 | if (__builtin_expect(!!(eventDispatcher->unregisterTimer(id)), true)| TRUE | evaluated 103965 times by 51 testsEvaluated by:- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QListView
- ...
| | FALSE | never evaluated |
) | 0-103965 |
| 16 | QAbstractEventDispatcherPrivate::releaseTimerId(id);executed 103965 times by 51 tests: QAbstractEventDispatcherPrivate::releaseTimerId(id);Executed by:- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QListView
- ...
| 103965 |
| 17 | else | - |
| 18 | QMessageLogger(__FILE__, 125, __PRETTY_FUNCTION__).warning("QBasicTimer::start: Stopping previous timer failed. Possibly trying to stop from a different thread"); never executed: QMessageLogger(__FILE__, 125, __PRETTY_FUNCTION__).warning("QBasicTimer::start: Stopping previous timer failed. Possibly trying to stop from a different thread"); | 0 |
| 19 | } | - |
| 20 | id = 0; | - |
| 21 | if (obj| TRUE | evaluated 122555 times by 84 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGestureRecognizer
- ...
| | FALSE | evaluated 235 times by 5 testsEvaluated by:- tst_QComboBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_languageChange
|
) | 235-122555 |
| 22 | id = eventDispatcher->registerTimer(msec, Qt::CoarseTimer, obj);executed 122555 times by 84 tests: id = eventDispatcher->registerTimer(msec, Qt::CoarseTimer, obj);Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGestureRecognizer
- ...
| 122555 |
| 23 | }executed 122790 times by 84 tests: end of blockExecuted by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGestureRecognizer
- ...
| 122790 |
| 24 | void QBasicTimer::start(int msec, Qt::TimerType timerType, QObject *obj) | - |
| 25 | { | - |
| 26 | QAbstractEventDispatcher *eventDispatcher = QAbstractEventDispatcher::instance(); | - |
| 27 | if (__builtin_expect(!!(msec < 0), false)| TRUE | never evaluated | | FALSE | evaluated 154 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
) { | 0-154 |
| 28 | QMessageLogger(__FILE__, 147, __PRETTY_FUNCTION__).warning("QBasicTimer::start: Timers cannot have negative timeouts"); | - |
| 29 | return; never executed: return; | 0 |
| 30 | } | - |
| 31 | if (__builtin_expect(!!(!eventDispatcher), false)| TRUE | never evaluated | | FALSE | evaluated 154 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
) { | 0-154 |
| 32 | QMessageLogger(__FILE__, 151, __PRETTY_FUNCTION__).warning("QBasicTimer::start: QBasicTimer can only be used with threads started with QThread"); | - |
| 33 | return; never executed: return; | 0 |
| 34 | } | - |
| 35 | if (__builtin_expect(!!(obj && obj->thread() != eventDispatcher->thread()), false)| TRUE | never evaluated | | FALSE | evaluated 154 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
) { | 0-154 |
| 36 | QMessageLogger(__FILE__, 155, __PRETTY_FUNCTION__).warning("QBasicTimer::start: Timers cannot be started from another thread"); | - |
| 37 | return; never executed: return; | 0 |
| 38 | } | - |
| 39 | if (id| TRUE | evaluated 20 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| | FALSE | evaluated 134 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
) { | 20-134 |
| 40 | if (__builtin_expect(!!(eventDispatcher->unregisterTimer(id)), true)| TRUE | evaluated 20 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| | FALSE | never evaluated |
) | 0-20 |
| 41 | QAbstractEventDispatcherPrivate::releaseTimerId(id);executed 20 times by 2 tests: QAbstractEventDispatcherPrivate::releaseTimerId(id);Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 20 |
| 42 | else | - |
| 43 | QMessageLogger(__FILE__, 162, __PRETTY_FUNCTION__).warning("QBasicTimer::start: Stopping previous timer failed. Possibly trying to stop from a different thread"); never executed: QMessageLogger(__FILE__, 162, __PRETTY_FUNCTION__).warning("QBasicTimer::start: Stopping previous timer failed. Possibly trying to stop from a different thread"); | 0 |
| 44 | } | - |
| 45 | id = 0; | - |
| 46 | if (obj| TRUE | evaluated 154 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| | FALSE | never evaluated |
) | 0-154 |
| 47 | id = eventDispatcher->registerTimer(msec, timerType, obj);executed 154 times by 12 tests: id = eventDispatcher->registerTimer(msec, timerType, obj);Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 154 |
| 48 | }executed 154 times by 12 tests: end of blockExecuted by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 154 |
| 49 | | - |
| 50 | | - |
| 51 | | - |
| 52 | | - |
| 53 | | - |
| 54 | | - |
| 55 | void QBasicTimer::stop() | - |
| 56 | { | - |
| 57 | if (id| TRUE | evaluated 17252 times by 98 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGestureRecognizer
- ...
| | FALSE | evaluated 169432 times by 294 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- ...
|
) { | 17252-169432 |
| 58 | QAbstractEventDispatcher *eventDispatcher = QAbstractEventDispatcher::instance(); | - |
| 59 | if (eventDispatcher| TRUE | evaluated 17249 times by 95 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGestureRecognizer
- ...
| | FALSE | evaluated 3 times by 3 testsEvaluated by:- tst_qabstractanimation - unknown status
- tst_qparallelanimationgroup - unknown status
- tst_qsequentialanimationgroup - unknown status
|
) { | 3-17249 |
| 60 | if (__builtin_expect(!!(!eventDispatcher->unregisterTimer(id)), false)| TRUE | never evaluated | | FALSE | evaluated 17249 times by 95 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGestureRecognizer
- ...
|
) { | 0-17249 |
| 61 | QMessageLogger(__FILE__, 180, __PRETTY_FUNCTION__).warning("QBasicTimer::stop: Failed. Possibly trying to stop from a different thread"); | - |
| 62 | return; never executed: return; | 0 |
| 63 | } | - |
| 64 | QAbstractEventDispatcherPrivate::releaseTimerId(id); | - |
| 65 | }executed 17249 times by 95 tests: end of blockExecuted by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGestureRecognizer
- ...
| 17249 |
| 66 | }executed 17252 times by 98 tests: end of blockExecuted by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGestureRecognizer
- ...
| 17252 |
| 67 | id = 0; | - |
| 68 | }executed 186684 times by 298 tests: end of blockExecuted by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- ...
| 186684 |
| 69 | | - |
| 70 | | - |
| | |