| 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 |  | - | 
| 42 |  | - | 
| 43 |  | - | 
| 44 |  | - | 
| 45 |  | - | 
| 46 |  | - | 
| 47 |  | - | 
| 48 |  | - | 
| 49 |  | - | 
| 50 |  | - | 
| 51 |  | - | 
| 52 |  | - | 
| 53 |  | - | 
| 54 |  | - | 
| 55 |  | - | 
| 56 |  | - | 
| 57 |  | - | 
| 58 |  | - | 
| 59 |  | - | 
| 60 |  | - | 
| 61 |  | - | 
| 62 |  | - | 
| 63 |  | - | 
| 64 |  | - | 
| 65 |  | - | 
| 66 |  | - | 
| 67 |  | - | 
| 68 |  | - | 
| 69 |  | - | 
| 70 |  | - | 
| 71 |  | - | 
| 72 |  | - | 
| 73 |  | - | 
| 74 |  | - | 
| 75 |  | - | 
| 76 |  | - | 
| 77 |  | - | 
| 78 |  | - | 
| 79 |  | - | 
| 80 |  | - | 
| 81 |  | - | 
| 82 |  | - | 
| 83 |  | - | 
| 84 |  | - | 
| 85 |  | - | 
| 86 |  | - | 
| 87 |  | - | 
| 88 |  | - | 
| 89 |  | - | 
| 90 |  | - | 
| 91 |  | - | 
| 92 |  | - | 
| 93 |  | - | 
| 94 |  | - | 
| 95 |  | - | 
| 96 |  | - | 
| 97 |  | - | 
| 98 |  | - | 
| 99 |  | - | 
| 100 |  | - | 
| 101 |  | - | 
| 102 |  | - | 
| 103 |  | - | 
| 104 |  | - | 
| 105 |  | - | 
| 106 |  | - | 
| 107 |  | - | 
| 108 |  | - | 
| 109 |  | - | 
| 110 |  | - | 
| 111 |  | - | 
| 112 |  | - | 
| 113 |  | - | 
| 114 |  | - | 
| 115 |  | - | 
| 116 |  | - | 
| 117 |  | - | 
| 118 |  | - | 
| 119 |  | - | 
| 120 |  | - | 
| 121 |  | - | 
| 122 |  | - | 
| 123 |  | - | 
| 124 |  | - | 
| 125 |  | - | 
| 126 |  | - | 
| 127 |  | - | 
| 128 |  | - | 
| 129 |  | - | 
| 130 |  | - | 
| 131 |  | - | 
| 132 |  | - | 
| 133 |  | - | 
| 134 |  | - | 
| 135 |  | - | 
| 136 |  | - | 
| 137 |  | - | 
| 138 |  | - | 
| 139 |  | - | 
| 140 |  | - | 
| 141 |  | - | 
| 142 |  | - | 
| 143 |  | - | 
| 144 | #include "qabstractanimation.h" | - | 
| 145 | #include "qanimationgroup.h" | - | 
| 146 |  | - | 
| 147 | #include <QtCore/qdebug.h> | - | 
| 148 |  | - | 
| 149 | #include "qabstractanimation_p.h" | - | 
| 150 |  | - | 
| 151 | #include <QtCore/qmath.h> | - | 
| 152 | #include <QtCore/qthreadstorage.h> | - | 
| 153 | #include <QtCore/qcoreevent.h> | - | 
| 154 | #include <QtCore/qpointer.h> | - | 
| 155 |  | - | 
| 156 | #ifndef QT_NO_ANIMATION | - | 
| 157 |  | - | 
| 158 | #define DEFAULT_TIMER_INTERVAL 16 | - | 
| 159 | #define PAUSE_TIMER_COARSE_THRESHOLD 2000 | - | 
| 160 |  | - | 
| 161 | QT_BEGIN_NAMESPACE | - | 
| 162 |  | - | 
| 163 | typedef QList<QAbstractAnimationTimer*>::ConstIterator TimerListConstIt; | - | 
| 164 | typedef QList<QAbstractAnimation*>::ConstIterator AnimationListConstIt; | - | 
| 165 |  | - | 
| 166 |  | - | 
| 167 |  | - | 
| 168 |  | - | 
| 169 |  | - | 
| 170 |  | - | 
| 171 |  | - | 
| 172 |  | - | 
| 173 |  | - | 
| 174 |  | - | 
| 175 |  | - | 
| 176 |  | - | 
| 177 |  | - | 
| 178 |  | - | 
| 179 |  | - | 
| 180 |  | - | 
| 181 |  | - | 
| 182 |  | - | 
| 183 |  | - | 
| 184 |  | - | 
| 185 |  | - | 
| 186 |  | - | 
| 187 |  | - | 
| 188 |  | - | 
| 189 |  | - | 
| 190 |  | - | 
| 191 |  | - | 
| 192 |  | - | 
| 193 |  | - | 
| 194 |  | - | 
| 195 |  | - | 
| 196 |  | - | 
| 197 |  | - | 
| 198 |  | - | 
| 199 |  | - | 
| 200 |  | - | 
| 201 |  | - | 
| 202 |  | - | 
| 203 |  | - | 
| 204 |  | - | 
| 205 |  | - | 
| 206 |  | - | 
| 207 |  | - | 
| 208 |  | - | 
| 209 |  | - | 
| 210 |  | - | 
| 211 |  | - | 
| 212 |  | - | 
| 213 |  | - | 
| 214 |  | - | 
| 215 |  | - | 
| 216 |  | - | 
| 217 |  | - | 
| 218 | #ifndef QT_NO_THREAD | - | 
| 219 | Q_GLOBAL_STATIC(QThreadStorage<QUnifiedTimer *>, unifiedTimer) executed 28 times by 28 tests:  end of blockExecuted by:tst_gestures - unknown statustst_qabstractanimation - unknown statustst_qaccessibility - unknown statustst_qanimationgroup - unknown statustst_qcolumnview - unknown statustst_qdockwidget - unknown statustst_qgraphicsproxywidget - unknown statustst_qlineedit - unknown statustst_qmainwindow - unknown statustst_qmdiarea - unknown statustst_qmdisubwindow - unknown statustst_qmenu - unknown statustst_qparallelanimationgroup - unknown statustst_qpauseanimation - unknown statustst_qprinter - unknown statustst_qprogressbar - unknown statustst_qpropertyanimation - unknown statustst_qscroller - unknown statustst_qsequentialanimationgroup - unknown statustst_qshortcut - unknown statustst_qstatemachine - unknown statustst_qstylesheetstyle - unknown statustst_qtoolbar - unknown statustst_qtreeview - unknown statustst_qtreewidget - unknown status...
 executed 28 times by 28 tests:  guard.store(QtGlobalStatic::Destroyed);Executed by:tst_gestures - unknown statustst_qabstractanimation - unknown statustst_qaccessibility - unknown statustst_qanimationgroup - unknown statustst_qcolumnview - unknown statustst_qdockwidget - unknown statustst_qgraphicsproxywidget - unknown statustst_qlineedit - unknown statustst_qmainwindow - unknown statustst_qmdiarea - unknown statustst_qmdisubwindow - unknown statustst_qmenu - unknown statustst_qparallelanimationgroup - unknown statustst_qpauseanimation - unknown statustst_qprinter - unknown statustst_qprogressbar - unknown statustst_qpropertyanimation - unknown statustst_qscroller - unknown statustst_qsequentialanimationgroup - unknown statustst_qshortcut - unknown statustst_qstatemachine - unknown statustst_qstylesheetstyle - unknown statustst_qtoolbar - unknown statustst_qtreeview - unknown statustst_qtreewidget - unknown status...
 executed 9689 times by 54 tests:  return &holder.value;Executed by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | TRUE | evaluated 28 times by 28 tests Evaluated by:tst_gestures - unknown statustst_qabstractanimation - unknown statustst_qaccessibility - unknown statustst_qanimationgroup - unknown statustst_qcolumnview - unknown statustst_qdockwidget - unknown statustst_qgraphicsproxywidget - unknown statustst_qlineedit - unknown statustst_qmainwindow - unknown statustst_qmdiarea - unknown statustst_qmdisubwindow - unknown statustst_qmenu - unknown statustst_qparallelanimationgroup - unknown statustst_qpauseanimation - unknown statustst_qprinter - unknown statustst_qprogressbar - unknown statustst_qpropertyanimation - unknown statustst_qscroller - unknown statustst_qsequentialanimationgroup - unknown statustst_qshortcut - unknown statustst_qstatemachine - unknown statustst_qstylesheetstyle - unknown statustst_qtoolbar - unknown statustst_qtreeview - unknown statustst_qtreewidget - unknown status...
 |  | FALSE | never evaluated | 
 | 0-9689 | 
| 220 | #endif | - | 
| 221 |  | - | 
| 222 | QUnifiedTimer::QUnifiedTimer() : | - | 
| 223 | QObject(), defaultDriver(this), lastTick(0), timingInterval(DEFAULT_TIMER_INTERVAL), | - | 
| 224 | currentAnimationIdx(0), insideTick(false), insideRestart(false), consistentTiming(false), slowMode(false), | - | 
| 225 | startTimersPending(false), stopTimerPending(false), | - | 
| 226 | slowdownFactor(5.0f), profilerCallback(0), | - | 
| 227 | driverStartTime(0), temporalDrift(0) | - | 
| 228 | { | - | 
| 229 | time.invalidate(); | - | 
| 230 | driver = &defaultDriver; | - | 
| 231 | } executed 26 times by 26 tests:  end of blockExecuted by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidgettst_QWidget_window...
 | 26 | 
| 232 |  | - | 
| 233 |  | - | 
| 234 | QUnifiedTimer *QUnifiedTimer::instance(bool create) | - | 
| 235 | { | - | 
| 236 | QUnifiedTimer *inst; | - | 
| 237 | #ifndef QT_NO_THREAD | - | 
| 238 | if (create && !unifiedTimer()->hasLocalData()) { | TRUE | evaluated 2373 times by 26 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidgettst_QWidget_window...
 |  | FALSE | evaluated 1298 times by 54 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 
| TRUE | evaluated 26 times by 26 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidgettst_QWidget_window...
 |  | FALSE | evaluated 2347 times by 23 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QColumnViewtst_QDockWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidgettst_QWindowContainer
 | 
 | 26-2373 | 
| 239 | inst = new QUnifiedTimer; | - | 
| 240 | unifiedTimer()->setLocalData(inst); | - | 
| 241 | } else { executed 26 times by 26 tests:  end of blockExecuted by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidgettst_QWidget_window...
 | 26 | 
| 242 | inst = unifiedTimer() ? unifiedTimer()->localData() : 0; | TRUE | evaluated 3645 times by 54 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 |  | FALSE | never evaluated | 
 | 0-3645 | 
| 243 | } executed 3645 times by 54 tests:  end of blockExecuted by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 3645 | 
| 244 | #else | - | 
| 245 | static QUnifiedTimer unifiedTimer; | - | 
| 246 | inst = &unifiedTimer; | - | 
| 247 | #endif | - | 
| 248 | return inst; executed 3671 times by 54 tests:  return inst;Executed by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 3671 | 
| 249 | } | - | 
| 250 |  | - | 
| 251 | QUnifiedTimer *QUnifiedTimer::instance() | - | 
| 252 | { | - | 
| 253 | return instance(true); executed 2251 times by 26 tests:  return instance(true);Executed by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidgettst_QWidget_window...
 | 2251 | 
| 254 | } | - | 
| 255 |  | - | 
| 256 | void QUnifiedTimer::maybeUpdateAnimationsToCurrentTime() | - | 
| 257 | { | - | 
| 258 | if (elapsed() - lastTick > 50) | TRUE | evaluated 3 times by 2 tests Evaluated by:tst_QAbstractAnimationtst_QMainWindow
 |  | FALSE | evaluated 283 times by 26 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidgettst_QWidget_window...
 | 
 | 3-283 | 
| 259 | updateAnimationTimers(-1); executed 3 times by 2 tests:  updateAnimationTimers(-1);Executed by:tst_QAbstractAnimationtst_QMainWindow
 | 3 | 
| 260 | } executed 286 times by 26 tests:  end of blockExecuted by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidgettst_QWidget_window...
 | 286 | 
| 261 |  | - | 
| 262 | qint64 QUnifiedTimer::elapsed() const | - | 
| 263 | { | - | 
| 264 | if (driver->isRunning()) | TRUE | evaluated 2072 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 |  | FALSE | evaluated 398 times by 26 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidgettst_QWidget_window...
 | 
 | 398-2072 | 
| 265 | return driverStartTime + driver->elapsed(); executed 2072 times by 12 tests:  return driverStartTime + driver->elapsed();Executed by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 2072 | 
| 266 | else if (time.isValid()) | TRUE | evaluated 148 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 |  | FALSE | evaluated 250 times by 26 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidgettst_QWidget_window...
 | 
 | 148-250 | 
| 267 | return time.elapsed() + temporalDrift; executed 148 times by 12 tests:  return time.elapsed() + temporalDrift;Executed by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 148 | 
| 268 |  | - | 
| 269 |  | - | 
| 270 |  | - | 
| 271 |  | - | 
| 272 | return 0; executed 250 times by 26 tests:  return 0;Executed by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidgettst_QWidget_window...
 | 250 | 
| 273 | } | - | 
| 274 |  | - | 
| 275 | void QUnifiedTimer::startAnimationDriver() | - | 
| 276 | { | - | 
| 277 | if (driver->isRunning()) { | TRUE | never evaluated |  | FALSE | evaluated 124 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 
 | 0-124 | 
| 278 | qWarning("QUnifiedTimer::startAnimationDriver: driver is already running..."); | - | 
| 279 | return; never executed: return; | 0 | 
| 280 | } | - | 
| 281 |  | - | 
| 282 |  | - | 
| 283 |  | - | 
| 284 | driverStartTime = elapsed(); | - | 
| 285 | driver->start(); | - | 
| 286 | } executed 124 times by 12 tests:  end of blockExecuted by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 124 | 
| 287 |  | - | 
| 288 | void QUnifiedTimer::stopAnimationDriver() | - | 
| 289 | { | - | 
| 290 | if (!driver->isRunning()) { | TRUE | never evaluated |  | FALSE | evaluated 119 times by 10 tests Evaluated by:tst_QColumnViewtst_QLineEdittst_QMainWindowtst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 
 | 0-119 | 
| 291 | qWarning("QUnifiedTimer::stopAnimationDriver: driver is not running"); | - | 
| 292 | return; never executed: return; | 0 | 
| 293 | } | - | 
| 294 |  | - | 
| 295 |  | - | 
| 296 |  | - | 
| 297 | temporalDrift = elapsed() - time.elapsed(); | - | 
| 298 | driver->stop(); | - | 
| 299 | } executed 119 times by 10 tests:  end of blockExecuted by:tst_QColumnViewtst_QLineEdittst_QMainWindowtst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 119 | 
| 300 |  | - | 
| 301 | void QUnifiedTimer::updateAnimationTimers(qint64) | - | 
| 302 | { | - | 
| 303 |  | - | 
| 304 | if(insideTick) | TRUE | never evaluated |  | FALSE | evaluated 1941 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 
 | 0-1941 | 
| 305 | return; never executed: return; | 0 | 
| 306 |  | - | 
| 307 | qint64 totalElapsed = elapsed(); | - | 
| 308 |  | - | 
| 309 |  | - | 
| 310 | qint64 delta = (consistentTiming && !pauseTimer.isActive()) ? | TRUE | evaluated 97 times by 1 test |  | FALSE | evaluated 1844 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 
| TRUE | evaluated 79 times by 1 test |  | FALSE | evaluated 18 times by 1 test | 
 | 18-1844 | 
| 311 | timingInterval : totalElapsed - lastTick; | - | 
| 312 | if (slowMode) { | TRUE | never evaluated |  | FALSE | evaluated 1941 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 
 | 0-1941 | 
| 313 | if (slowdownFactor > 0) | TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 314 | delta = qRound(delta / slowdownFactor); never executed: delta = qRound(delta / slowdownFactor); | 0 | 
| 315 | else | - | 
| 316 | delta = 0; never executed: delta = 0; | 0 | 
| 317 | } | - | 
| 318 |  | - | 
| 319 | lastTick = totalElapsed; | - | 
| 320 |  | - | 
| 321 |  | - | 
| 322 |  | - | 
| 323 |  | - | 
| 324 |  | - | 
| 325 |  | - | 
| 326 | if (delta > 0) { | TRUE | evaluated 1939 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 |  | FALSE | evaluated 2 times by 1 test | 
 | 2-1939 | 
| 327 | insideTick = true; | - | 
| 328 | if (profilerCallback) | TRUE | never evaluated |  | FALSE | evaluated 1939 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 
 | 0-1939 | 
| 329 | profilerCallback(delta); never executed: profilerCallback(delta); | 0 | 
| 330 | for (currentAnimationIdx = 0; currentAnimationIdx < animationTimers.count(); ++currentAnimationIdx) { | TRUE | evaluated 1918 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 |  | FALSE | evaluated 1939 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 
 | 1918-1939 | 
| 331 | QAbstractAnimationTimer *animation = animationTimers.at(currentAnimationIdx); | - | 
| 332 | animation->updateAnimationsTime(delta); | - | 
| 333 | } executed 1918 times by 12 tests:  end of blockExecuted by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 1918 | 
| 334 | insideTick = false; | - | 
| 335 | currentAnimationIdx = 0; | - | 
| 336 | } executed 1939 times by 12 tests:  end of blockExecuted by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 1939 | 
| 337 | } executed 1941 times by 12 tests:  end of blockExecuted by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 1941 | 
| 338 |  | - | 
| 339 | int QUnifiedTimer::runningAnimationCount() | - | 
| 340 | { | - | 
| 341 | int count = 0; | - | 
| 342 | for (int i = 0; i < animationTimers.count(); ++i) | TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 343 | count += animationTimers.at(i)->runningAnimationCount(); never executed: count += animationTimers.at(i)->runningAnimationCount(); | 0 | 
| 344 | return count; never executed: return count; | 0 | 
| 345 | } | - | 
| 346 |  | - | 
| 347 | void QUnifiedTimer::registerProfilerCallback(void (*cb)(qint64)) | - | 
| 348 | { | - | 
| 349 | profilerCallback = cb; | - | 
| 350 | } never executed: end of block | 0 | 
| 351 |  | - | 
| 352 | void QUnifiedTimer::localRestart() | - | 
| 353 | { | - | 
| 354 | if (insideRestart) | TRUE | evaluated 21 times by 2 tests Evaluated by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 |  | FALSE | evaluated 2069 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 
 | 21-2069 | 
| 355 | return; executed 21 times by 2 tests:  return;Executed by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 | 21 | 
| 356 |  | - | 
| 357 | if (!pausedAnimationTimers.isEmpty() && (animationTimers.count() + animationTimersToStart.count() == pausedAnimationTimers.count())) { | TRUE | evaluated 31 times by 2 tests Evaluated by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 |  | FALSE | evaluated 2038 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 
| TRUE | evaluated 31 times by 2 tests Evaluated by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 |  | FALSE | never evaluated | 
 | 0-2038 | 
| 358 | driver->stop(); | - | 
| 359 | int closestTimeToFinish = closestPausedAnimationTimerTimeToFinish(); | - | 
| 360 |  | - | 
| 361 | Qt::TimerType timerType = closestTimeToFinish < PAUSE_TIMER_COARSE_THRESHOLD ? Qt::PreciseTimer : Qt::CoarseTimer; | TRUE | evaluated 31 times by 2 tests Evaluated by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 |  | FALSE | never evaluated | 
 | 0-31 | 
| 362 | pauseTimer.start(closestTimeToFinish, timerType, this); | - | 
| 363 | } else if (!driver->isRunning()) { executed 31 times by 2 tests:  end of blockExecuted by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 | TRUE | evaluated 124 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 |  | FALSE | evaluated 1914 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 
 | 31-1914 | 
| 364 | if (pauseTimer.isActive()) | TRUE | evaluated 11 times by 2 tests Evaluated by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 |  | FALSE | evaluated 113 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 
 | 11-113 | 
| 365 | pauseTimer.stop(); executed 11 times by 2 tests:  pauseTimer.stop();Executed by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 | 11 | 
| 366 | startAnimationDriver(); | - | 
| 367 | } executed 124 times by 12 tests:  end of blockExecuted by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 124 | 
| 368 |  | - | 
| 369 | } executed 2069 times by 12 tests:  end of blockExecuted by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 2069 | 
| 370 |  | - | 
| 371 | void QUnifiedTimer::restart() | - | 
| 372 | { | - | 
| 373 | insideRestart = true; | - | 
| 374 | for (int i = 0; i < animationTimers.count(); ++i) | TRUE | evaluated 1915 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 |  | FALSE | evaluated 1935 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 
 | 1915-1935 | 
| 375 | animationTimers.at(i)->restartAnimationTimer(); executed 1915 times by 12 tests:  animationTimers.at(i)->restartAnimationTimer();Executed by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 1915 | 
| 376 | insideRestart = false; | - | 
| 377 |  | - | 
| 378 | localRestart(); | - | 
| 379 | } executed 1935 times by 12 tests:  end of blockExecuted by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 1935 | 
| 380 |  | - | 
| 381 | void QUnifiedTimer::setTimingInterval(int interval) | - | 
| 382 | { | - | 
| 383 | timingInterval = interval; | - | 
| 384 |  | - | 
| 385 | if (driver->isRunning() && !pauseTimer.isActive()) { | TRUE | never evaluated |  | FALSE | never evaluated | 
| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 386 |  | - | 
| 387 | stopAnimationDriver(); | - | 
| 388 | startAnimationDriver(); | - | 
| 389 | } never executed: end of block | 0 | 
| 390 | } never executed: end of block | 0 | 
| 391 |  | - | 
| 392 | void QUnifiedTimer::startTimers() | - | 
| 393 | { | - | 
| 394 | startTimersPending = false; | - | 
| 395 |  | - | 
| 396 |  | - | 
| 397 | animationTimers += animationTimersToStart; | - | 
| 398 | animationTimersToStart.clear(); | - | 
| 399 | if (!animationTimers.isEmpty()) { | TRUE | evaluated 122 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 |  | FALSE | never evaluated | 
 | 0-122 | 
| 400 | if (!time.isValid()) { | TRUE | evaluated 122 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 |  | FALSE | never evaluated | 
 | 0-122 | 
| 401 | lastTick = 0; | - | 
| 402 | time.start(); | - | 
| 403 | temporalDrift = 0; | - | 
| 404 | driverStartTime = 0; | - | 
| 405 | } executed 122 times by 12 tests:  end of blockExecuted by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 122 | 
| 406 | localRestart(); | - | 
| 407 | } executed 122 times by 12 tests:  end of blockExecuted by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 122 | 
| 408 | } executed 122 times by 12 tests:  end of blockExecuted by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 122 | 
| 409 |  | - | 
| 410 | void QUnifiedTimer::stopTimer() | - | 
| 411 | { | - | 
| 412 | stopTimerPending = false; | - | 
| 413 | if (animationTimers.isEmpty()) { | TRUE | evaluated 119 times by 10 tests Evaluated by:tst_QColumnViewtst_QLineEdittst_QMainWindowtst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 |  | FALSE | never evaluated | 
 | 0-119 | 
| 414 | stopAnimationDriver(); | - | 
| 415 | pauseTimer.stop(); | - | 
| 416 |  | - | 
| 417 | time.invalidate(); | - | 
| 418 | } executed 119 times by 10 tests:  end of blockExecuted by:tst_QColumnViewtst_QLineEdittst_QMainWindowtst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 119 | 
| 419 | } executed 119 times by 10 tests:  end of blockExecuted by:tst_QColumnViewtst_QLineEdittst_QMainWindowtst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 119 | 
| 420 |  | - | 
| 421 | void QUnifiedTimer::timerEvent(QTimerEvent *event) | - | 
| 422 | { | - | 
| 423 |  | - | 
| 424 |  | - | 
| 425 | if (consistentTiming) { | TRUE | evaluated 16 times by 1 test |  | FALSE | evaluated 3 times by 2 tests Evaluated by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 | 
 | 3-16 | 
| 426 | if (stopTimerPending) | TRUE | never evaluated |  | FALSE | evaluated 16 times by 1 test | 
 | 0-16 | 
| 427 | stopTimer(); never executed: stopTimer(); | 0 | 
| 428 | if (startTimersPending) | TRUE | never evaluated |  | FALSE | evaluated 16 times by 1 test | 
 | 0-16 | 
| 429 | startTimers(); never executed: startTimers(); | 0 | 
| 430 | } executed 16 times by 1 test:  end of block | 16 | 
| 431 |  | - | 
| 432 | if (event->timerId() == pauseTimer.timerId()) { | TRUE | evaluated 19 times by 2 tests Evaluated by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 |  | FALSE | never evaluated | 
 | 0-19 | 
| 433 |  | - | 
| 434 | updateAnimationTimers(-1); | - | 
| 435 | restart(); | - | 
| 436 | } executed 19 times by 2 tests:  end of blockExecuted by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 | 19 | 
| 437 | } executed 19 times by 2 tests:  end of blockExecuted by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 | 19 | 
| 438 |  | - | 
| 439 | void QUnifiedTimer::startAnimationTimer(QAbstractAnimationTimer *timer) | - | 
| 440 | { | - | 
| 441 | if (timer->isRegistered) | TRUE | never evaluated |  | FALSE | evaluated 122 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 
 | 0-122 | 
| 442 | return; never executed: return; | 0 | 
| 443 | timer->isRegistered = true; | - | 
| 444 |  | - | 
| 445 | QUnifiedTimer *inst = instance(true); | - | 
| 446 | inst->animationTimersToStart << timer; | - | 
| 447 | if (!inst->startTimersPending) { | TRUE | evaluated 122 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 |  | FALSE | never evaluated | 
 | 0-122 | 
| 448 | inst->startTimersPending = true; | - | 
| 449 | QMetaObject::invokeMethod(inst, "startTimers", Qt::QueuedConnection); | - | 
| 450 | } executed 122 times by 12 tests:  end of blockExecuted by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 122 | 
| 451 | } executed 122 times by 12 tests:  end of blockExecuted by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 122 | 
| 452 |  | - | 
| 453 | void QUnifiedTimer::stopAnimationTimer(QAbstractAnimationTimer *timer) | - | 
| 454 | { | - | 
| 455 | QUnifiedTimer *inst = QUnifiedTimer::instance(false); | - | 
| 456 | if (inst) { | TRUE | evaluated 119 times by 10 tests Evaluated by:tst_QColumnViewtst_QLineEdittst_QMainWindowtst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 |  | FALSE | never evaluated | 
 | 0-119 | 
| 457 |  | - | 
| 458 |  | - | 
| 459 |  | - | 
| 460 | if (!timer->isRegistered) | TRUE | never evaluated |  | FALSE | evaluated 119 times by 10 tests Evaluated by:tst_QColumnViewtst_QLineEdittst_QMainWindowtst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 
 | 0-119 | 
| 461 | return; never executed: return; | 0 | 
| 462 | timer->isRegistered = false; | - | 
| 463 |  | - | 
| 464 | int idx = inst->animationTimers.indexOf(timer); | - | 
| 465 | if (idx != -1) { | TRUE | evaluated 119 times by 10 tests Evaluated by:tst_QColumnViewtst_QLineEdittst_QMainWindowtst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 |  | FALSE | never evaluated | 
 | 0-119 | 
| 466 | inst->animationTimers.removeAt(idx); | - | 
| 467 |  | - | 
| 468 | if (idx <= inst->currentAnimationIdx) | TRUE | evaluated 118 times by 10 tests Evaluated by:tst_QColumnViewtst_QLineEdittst_QMainWindowtst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 |  | FALSE | evaluated 1 time by 1 test | 
 | 1-118 | 
| 469 | --inst->currentAnimationIdx; executed 118 times by 10 tests:  --inst->currentAnimationIdx;Executed by:tst_QColumnViewtst_QLineEdittst_QMainWindowtst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 118 | 
| 470 |  | - | 
| 471 | if (inst->animationTimers.isEmpty() && !inst->stopTimerPending) { | TRUE | evaluated 119 times by 10 tests Evaluated by:tst_QColumnViewtst_QLineEdittst_QMainWindowtst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 |  | FALSE | never evaluated | 
| TRUE | evaluated 119 times by 10 tests Evaluated by:tst_QColumnViewtst_QLineEdittst_QMainWindowtst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 |  | FALSE | never evaluated | 
 | 0-119 | 
| 472 | inst->stopTimerPending = true; | - | 
| 473 | QMetaObject::invokeMethod(inst, "stopTimer", Qt::QueuedConnection); | - | 
| 474 | } executed 119 times by 10 tests:  end of blockExecuted by:tst_QColumnViewtst_QLineEdittst_QMainWindowtst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 119 | 
| 475 | } else { executed 119 times by 10 tests:  end of blockExecuted by:tst_QColumnViewtst_QLineEdittst_QMainWindowtst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 119 | 
| 476 | inst->animationTimersToStart.removeOne(timer); | - | 
| 477 | } never executed: end of block | 0 | 
| 478 | } | - | 
| 479 | } executed 119 times by 10 tests:  end of blockExecuted by:tst_QColumnViewtst_QLineEdittst_QMainWindowtst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 119 | 
| 480 |  | - | 
| 481 | void QUnifiedTimer::pauseAnimationTimer(QAbstractAnimationTimer *timer, int duration) | - | 
| 482 | { | - | 
| 483 | QUnifiedTimer *inst = QUnifiedTimer::instance(); | - | 
| 484 | if (!timer->isRegistered) | TRUE | evaluated 9 times by 2 tests Evaluated by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 |  | FALSE | evaluated 13 times by 2 tests Evaluated by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 | 
 | 9-13 | 
| 485 | inst->startAnimationTimer(timer); executed 9 times by 2 tests:  inst->startAnimationTimer(timer);Executed by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 | 9 | 
| 486 |  | - | 
| 487 | bool timerWasPaused = timer->isPaused; | - | 
| 488 | timer->isPaused = true; | - | 
| 489 | timer->pauseDuration = duration; | - | 
| 490 | if (!timerWasPaused) | TRUE | evaluated 11 times by 2 tests Evaluated by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 |  | FALSE | evaluated 11 times by 2 tests Evaluated by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 | 
 | 11 | 
| 491 | inst->pausedAnimationTimers << timer; executed 11 times by 2 tests:  inst->pausedAnimationTimers << timer;Executed by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 | 11 | 
| 492 | inst->localRestart(); | - | 
| 493 | } executed 22 times by 2 tests:  end of blockExecuted by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 | 22 | 
| 494 |  | - | 
| 495 | void QUnifiedTimer::resumeAnimationTimer(QAbstractAnimationTimer *timer) | - | 
| 496 | { | - | 
| 497 | if (!timer->isPaused) | TRUE | evaluated 119 times by 10 tests Evaluated by:tst_QColumnViewtst_QLineEdittst_QMainWindowtst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 |  | FALSE | evaluated 11 times by 2 tests Evaluated by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 | 
 | 11-119 | 
| 498 | return; executed 119 times by 10 tests:  return;Executed by:tst_QColumnViewtst_QLineEdittst_QMainWindowtst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 119 | 
| 499 |  | - | 
| 500 | timer->isPaused = false; | - | 
| 501 | QUnifiedTimer *inst = QUnifiedTimer::instance(); | - | 
| 502 | inst->pausedAnimationTimers.removeOne(timer); | - | 
| 503 | inst->localRestart(); | - | 
| 504 | } executed 11 times by 2 tests:  end of blockExecuted by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 | 11 | 
| 505 |  | - | 
| 506 | int QUnifiedTimer::closestPausedAnimationTimerTimeToFinish() | - | 
| 507 | { | - | 
| 508 | int closestTimeToFinish = INT_MAX; | - | 
| 509 | for (TimerListConstIt it = pausedAnimationTimers.constBegin(), cend = pausedAnimationTimers.constEnd(); it != cend; ++it) { | TRUE | evaluated 31 times by 2 tests Evaluated by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 |  | FALSE | evaluated 31 times by 2 tests Evaluated by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 | 
 | 31 | 
| 510 | const int timeToFinish = (*it)->pauseDuration; | - | 
| 511 | if (timeToFinish < closestTimeToFinish) | TRUE | evaluated 31 times by 2 tests Evaluated by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 |  | FALSE | never evaluated | 
 | 0-31 | 
| 512 | closestTimeToFinish = timeToFinish; executed 31 times by 2 tests:  closestTimeToFinish = timeToFinish;Executed by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 | 31 | 
| 513 | } executed 31 times by 2 tests:  end of blockExecuted by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 | 31 | 
| 514 | return closestTimeToFinish; executed 31 times by 2 tests:  return closestTimeToFinish;Executed by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 | 31 | 
| 515 | } | - | 
| 516 |  | - | 
| 517 | void QUnifiedTimer::installAnimationDriver(QAnimationDriver *d) | - | 
| 518 | { | - | 
| 519 | if (driver != &defaultDriver) { | TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 520 | qWarning("QUnifiedTimer: animation driver already installed..."); | - | 
| 521 | return; never executed: return; | 0 | 
| 522 | } | - | 
| 523 |  | - | 
| 524 | bool running = driver->isRunning(); | - | 
| 525 | if (running) | TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 526 | stopAnimationDriver(); never executed: stopAnimationDriver(); | 0 | 
| 527 | driver = d; | - | 
| 528 | if (running) | TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 529 | startAnimationDriver(); never executed: startAnimationDriver(); | 0 | 
| 530 | } never executed: end of block | 0 | 
| 531 |  | - | 
| 532 | void QUnifiedTimer::uninstallAnimationDriver(QAnimationDriver *d) | - | 
| 533 | { | - | 
| 534 | if (driver != d) { | TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 535 | qWarning("QUnifiedTimer: trying to uninstall a driver that is not installed..."); | - | 
| 536 | return; never executed: return; | 0 | 
| 537 | } | - | 
| 538 |  | - | 
| 539 | bool running = driver->isRunning(); | - | 
| 540 | if (running) | TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 541 | stopAnimationDriver(); never executed: stopAnimationDriver(); | 0 | 
| 542 | driver = &defaultDriver; | - | 
| 543 | if (running) | TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 544 | startAnimationDriver(); never executed: startAnimationDriver(); | 0 | 
| 545 | } never executed: end of block | 0 | 
| 546 |  | - | 
| 547 |  | - | 
| 548 |  | - | 
| 549 |  | - | 
| 550 |  | - | 
| 551 | bool QUnifiedTimer::canUninstallAnimationDriver(QAnimationDriver *d) | - | 
| 552 | { | - | 
| 553 | return d == driver && driver != &defaultDriver; never executed: return d == driver && driver != &defaultDriver; | 0 | 
| 554 | } | - | 
| 555 |  | - | 
| 556 | #ifndef QT_NO_THREAD | - | 
| 557 | Q_GLOBAL_STATIC(QThreadStorage<QAnimationTimer *>, animationTimer) executed 28 times by 28 tests:  end of blockExecuted by:tst_gestures - unknown statustst_qabstractanimation - unknown statustst_qaccessibility - unknown statustst_qanimationgroup - unknown statustst_qcolumnview - unknown statustst_qdockwidget - unknown statustst_qgraphicsproxywidget - unknown statustst_qlineedit - unknown statustst_qmainwindow - unknown statustst_qmdiarea - unknown statustst_qmdisubwindow - unknown statustst_qmenu - unknown statustst_qparallelanimationgroup - unknown statustst_qpauseanimation - unknown statustst_qprinter - unknown statustst_qprogressbar - unknown statustst_qpropertyanimation - unknown statustst_qscroller - unknown statustst_qsequentialanimationgroup - unknown statustst_qshortcut - unknown statustst_qstatemachine - unknown statustst_qstylesheetstyle - unknown statustst_qtoolbar - unknown statustst_qtreeview - unknown statustst_qtreewidget - unknown status...
 executed 28 times by 28 tests:  guard.store(QtGlobalStatic::Destroyed);Executed by:tst_gestures - unknown statustst_qabstractanimation - unknown statustst_qaccessibility - unknown statustst_qanimationgroup - unknown statustst_qcolumnview - unknown statustst_qdockwidget - unknown statustst_qgraphicsproxywidget - unknown statustst_qlineedit - unknown statustst_qmainwindow - unknown statustst_qmdiarea - unknown statustst_qmdisubwindow - unknown statustst_qmenu - unknown statustst_qparallelanimationgroup - unknown statustst_qpauseanimation - unknown statustst_qprinter - unknown statustst_qprogressbar - unknown statustst_qpropertyanimation - unknown statustst_qscroller - unknown statustst_qsequentialanimationgroup - unknown statustst_qshortcut - unknown statustst_qstatemachine - unknown statustst_qstylesheetstyle - unknown statustst_qtoolbar - unknown statustst_qtreeview - unknown statustst_qtreewidget - unknown status...
 executed 9988 times by 28 tests:  return &holder.value;Executed by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | TRUE | evaluated 28 times by 28 tests Evaluated by:tst_gestures - unknown statustst_qabstractanimation - unknown statustst_qaccessibility - unknown statustst_qanimationgroup - unknown statustst_qcolumnview - unknown statustst_qdockwidget - unknown statustst_qgraphicsproxywidget - unknown statustst_qlineedit - unknown statustst_qmainwindow - unknown statustst_qmdiarea - unknown statustst_qmdisubwindow - unknown statustst_qmenu - unknown statustst_qparallelanimationgroup - unknown statustst_qpauseanimation - unknown statustst_qprinter - unknown statustst_qprogressbar - unknown statustst_qpropertyanimation - unknown statustst_qscroller - unknown statustst_qsequentialanimationgroup - unknown statustst_qshortcut - unknown statustst_qstatemachine - unknown statustst_qstylesheetstyle - unknown statustst_qtoolbar - unknown statustst_qtreeview - unknown statustst_qtreewidget - unknown status...
 |  | FALSE | never evaluated | 
 | 0-9988 | 
| 558 | #endif | - | 
| 559 |  | - | 
| 560 | QAnimationTimer::QAnimationTimer() : | - | 
| 561 | QAbstractAnimationTimer(), lastTick(0), | - | 
| 562 | currentAnimationIdx(0), insideTick(false), | - | 
| 563 | startAnimationPending(false), stopTimerPending(false), | - | 
| 564 | runningLeafAnimations(0) | - | 
| 565 | { | - | 
| 566 | } executed 28 times by 28 tests:  end of blockExecuted by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 28 | 
| 567 |  | - | 
| 568 | QAnimationTimer *QAnimationTimer::instance(bool create) | - | 
| 569 | { | - | 
| 570 | QAnimationTimer *inst; | - | 
| 571 | #ifndef QT_NO_THREAD | - | 
| 572 | if (create && !animationTimer()->hasLocalData()) { | TRUE | evaluated 1538 times by 28 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 |  | FALSE | evaluated 2701 times by 28 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 
| TRUE | evaluated 28 times by 28 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 |  | FALSE | evaluated 1510 times by 27 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidget...
 | 
 | 28-2701 | 
| 573 | inst = new QAnimationTimer; | - | 
| 574 | animationTimer()->setLocalData(inst); | - | 
| 575 | } else { executed 28 times by 28 tests:  end of blockExecuted by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 28 | 
| 576 | inst = animationTimer() ? animationTimer()->localData() : 0; | TRUE | evaluated 4211 times by 28 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 |  | FALSE | never evaluated | 
 | 0-4211 | 
| 577 | } executed 4211 times by 28 tests:  end of blockExecuted by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 4211 | 
| 578 | #else | - | 
| 579 | static QAnimationTimer animationTimer; | - | 
| 580 | inst = &animationTimer; | - | 
| 581 | #endif | - | 
| 582 | return inst; executed 4239 times by 28 tests:  return inst;Executed by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 4239 | 
| 583 | } | - | 
| 584 |  | - | 
| 585 | QAnimationTimer *QAnimationTimer::instance() | - | 
| 586 | { | - | 
| 587 | return instance(true); never executed: return instance(true); | 0 | 
| 588 | } | - | 
| 589 |  | - | 
| 590 | void QAnimationTimer::ensureTimerUpdate() | - | 
| 591 | { | - | 
| 592 | QAnimationTimer *inst = QAnimationTimer::instance(false); | - | 
| 593 | QUnifiedTimer *instU = QUnifiedTimer::instance(false); | - | 
| 594 | if (instU && inst && inst->isPaused) | TRUE | evaluated 760 times by 23 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QColumnViewtst_QDockWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidgettst_QWindowContainer
 |  | FALSE | evaluated 393 times by 27 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidgettst_QWidget...
 | 
| TRUE | evaluated 760 times by 23 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QColumnViewtst_QDockWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidgettst_QWindowContainer
 |  | FALSE | never evaluated | 
| TRUE | evaluated 3 times by 1 test |  | FALSE | evaluated 757 times by 23 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QColumnViewtst_QDockWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidgettst_QWindowContainer
 | 
 | 0-760 | 
| 595 | instU->updateAnimationTimers(-1); executed 3 times by 1 test:  instU->updateAnimationTimers(-1); | 3 | 
| 596 | } executed 1153 times by 28 tests:  end of blockExecuted by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 1153 | 
| 597 |  | - | 
| 598 | void QAnimationTimer::updateAnimationsTime(qint64 delta) | - | 
| 599 | { | - | 
| 600 |  | - | 
| 601 | if (insideTick) | TRUE | never evaluated |  | FALSE | evaluated 1918 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 
 | 0-1918 | 
| 602 | return; never executed: return; | 0 | 
| 603 |  | - | 
| 604 | lastTick += delta; | - | 
| 605 |  | - | 
| 606 |  | - | 
| 607 |  | - | 
| 608 |  | - | 
| 609 | if (delta) { | TRUE | evaluated 1918 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 |  | FALSE | never evaluated | 
 | 0-1918 | 
| 610 | insideTick = true; | - | 
| 611 | for (currentAnimationIdx = 0; currentAnimationIdx < animations.count(); ++currentAnimationIdx) { | TRUE | evaluated 2102 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 |  | FALSE | evaluated 1918 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 
 | 1918-2102 | 
| 612 | QAbstractAnimation *animation = animations.at(currentAnimationIdx); | - | 
| 613 | int elapsed = QAbstractAnimationPrivate::get(animation)->totalCurrentTime | - | 
| 614 | + (animation->direction() == QAbstractAnimation::Forward ? delta : -delta); | TRUE | evaluated 2047 times by 11 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachine
 |  | FALSE | evaluated 55 times by 3 tests Evaluated by:tst_QPauseAnimationtst_QPropertyAnimationtst_QTreeView
 | 
 | 55-2047 | 
| 615 | animation->setCurrentTime(elapsed); | - | 
| 616 | } executed 2102 times by 12 tests:  end of blockExecuted by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 2102 | 
| 617 | insideTick = false; | - | 
| 618 | currentAnimationIdx = 0; | - | 
| 619 | } executed 1918 times by 12 tests:  end of blockExecuted by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 1918 | 
| 620 | } executed 1918 times by 12 tests:  end of blockExecuted by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 1918 | 
| 621 |  | - | 
| 622 | void QAnimationTimer::updateAnimationTimer() | - | 
| 623 | { | - | 
| 624 | QAnimationTimer *inst = QAnimationTimer::instance(false); | - | 
| 625 | if (inst) | TRUE | evaluated 10 times by 2 tests Evaluated by:tst_QPauseAnimationtst_QTreeView
 |  | FALSE | never evaluated | 
 | 0-10 | 
| 626 | inst->restartAnimationTimer(); executed 10 times by 2 tests:  inst->restartAnimationTimer();Executed by:tst_QPauseAnimationtst_QTreeView
 | 10 | 
| 627 | } executed 10 times by 2 tests:  end of blockExecuted by:tst_QPauseAnimationtst_QTreeView
 | 10 | 
| 628 |  | - | 
| 629 | void QAnimationTimer::restartAnimationTimer() | - | 
| 630 | { | - | 
| 631 | if (runningLeafAnimations == 0 && !runningPauseAnimations.isEmpty()) | TRUE | evaluated 139 times by 9 tests Evaluated by:tst_QColumnViewtst_QLineEdittst_QMainWindowtst_QPauseAnimationtst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 |  | FALSE | evaluated 1929 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 
| TRUE | evaluated 22 times by 2 tests Evaluated by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 |  | FALSE | evaluated 117 times by 9 tests Evaluated by:tst_QColumnViewtst_QLineEdittst_QMainWindowtst_QPauseAnimationtst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 
 | 22-1929 | 
| 632 | QUnifiedTimer::pauseAnimationTimer(this, closestPauseAnimationTimeToFinish()); executed 22 times by 2 tests:  QUnifiedTimer::pauseAnimationTimer(this, closestPauseAnimationTimeToFinish());Executed by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 | 22 | 
| 633 | else if (isPaused) | TRUE | evaluated 11 times by 2 tests Evaluated by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 |  | FALSE | evaluated 2035 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 
 | 11-2035 | 
| 634 | QUnifiedTimer::resumeAnimationTimer(this); executed 11 times by 2 tests:  QUnifiedTimer::resumeAnimationTimer(this);Executed by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 | 11 | 
| 635 | else if (!isRegistered) | TRUE | evaluated 113 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 |  | FALSE | evaluated 1922 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 
 | 113-1922 | 
| 636 | QUnifiedTimer::startAnimationTimer(this); executed 113 times by 12 tests:  QUnifiedTimer::startAnimationTimer(this);Executed by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 113 | 
| 637 | } executed 2068 times by 12 tests:  end of blockExecuted by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 2068 | 
| 638 |  | - | 
| 639 | void QAnimationTimer::startAnimations() | - | 
| 640 | { | - | 
| 641 | if (!startAnimationPending) | TRUE | never evaluated |  | FALSE | evaluated 286 times by 26 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidgettst_QWidget_window...
 | 
 | 0-286 | 
| 642 | return; never executed: return; | 0 | 
| 643 | startAnimationPending = false; | - | 
| 644 |  | - | 
| 645 |  | - | 
| 646 | QUnifiedTimer::instance()->maybeUpdateAnimationsToCurrentTime(); | - | 
| 647 |  | - | 
| 648 |  | - | 
| 649 | animations += animationsToStart; | - | 
| 650 | animationsToStart.clear(); | - | 
| 651 | if (!animations.isEmpty()) | TRUE | evaluated 143 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 |  | FALSE | evaluated 143 times by 18 tests Evaluated by:tst_Gesturestst_QAccessibilitytst_QDockWidgettst_QGraphicsProxyWidgettst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QPauseAnimationtst_QPrintertst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidgettst_QWidget_windowtst_QWindowContainer
 | 
 | 143 | 
| 652 | restartAnimationTimer(); executed 143 times by 12 tests:  restartAnimationTimer();Executed by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 143 | 
| 653 | } executed 286 times by 26 tests:  end of blockExecuted by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidgettst_QWidget_window...
 | 286 | 
| 654 |  | - | 
| 655 | void QAnimationTimer::stopTimer() | - | 
| 656 | { | - | 
| 657 | stopTimerPending = false; | - | 
| 658 | bool pendingStart = startAnimationPending && animationsToStart.size() > 0; | TRUE | evaluated 32 times by 7 tests Evaluated by:tst_QAbstractAnimationtst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QStateMachine
 |  | FALSE | evaluated 106 times by 9 tests Evaluated by:tst_QColumnViewtst_QLineEdittst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 
| TRUE | evaluated 18 times by 6 tests Evaluated by:tst_QAbstractAnimationtst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QStateMachine
 |  | FALSE | evaluated 14 times by 2 tests Evaluated by:tst_QMainWindowtst_QStateMachine
 | 
 | 14-106 | 
| 659 | if (animations.isEmpty() && !pendingStart) { | TRUE | evaluated 137 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 |  | FALSE | evaluated 1 time by 1 test | 
| TRUE | evaluated 119 times by 10 tests Evaluated by:tst_QColumnViewtst_QLineEdittst_QMainWindowtst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 |  | FALSE | evaluated 18 times by 6 tests Evaluated by:tst_QAbstractAnimationtst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QStateMachine
 | 
 | 1-137 | 
| 660 | QUnifiedTimer::resumeAnimationTimer(this); | - | 
| 661 | QUnifiedTimer::stopAnimationTimer(this); | - | 
| 662 |  | - | 
| 663 | lastTick = 0; | - | 
| 664 | } executed 119 times by 10 tests:  end of blockExecuted by:tst_QColumnViewtst_QLineEdittst_QMainWindowtst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 119 | 
| 665 | } executed 138 times by 12 tests:  end of blockExecuted by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 138 | 
| 666 |  | - | 
| 667 | void QAnimationTimer::registerAnimation(QAbstractAnimation *animation, bool isTopLevel) | - | 
| 668 | { | - | 
| 669 | QAnimationTimer *inst = instance(true); | - | 
| 670 | inst->registerRunningAnimation(animation); | - | 
| 671 | if (isTopLevel) { | TRUE | evaluated 1121 times by 28 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 |  | FALSE | evaluated 417 times by 6 tests Evaluated by:tst_QAnimationGrouptst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QStateMachine
 | 
 | 417-1121 | 
| 672 | Q_ASSERT(!QAbstractAnimationPrivate::get(animation)->hasRegisteredTimer); | - | 
| 673 | QAbstractAnimationPrivate::get(animation)->hasRegisteredTimer = true; | - | 
| 674 | inst->animationsToStart << animation; | - | 
| 675 | if (!inst->startAnimationPending) { | TRUE | evaluated 291 times by 28 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 |  | FALSE | evaluated 830 times by 22 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QDockWidgettst_QGraphicsProxyWidgettst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QWidgettst_QWidget_windowtst_QWindowContainer
 | 
 | 291-830 | 
| 676 | inst->startAnimationPending = true; | - | 
| 677 | QMetaObject::invokeMethod(inst, "startAnimations", Qt::QueuedConnection); | - | 
| 678 | } executed 291 times by 28 tests:  end of blockExecuted by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 291 | 
| 679 | } executed 1121 times by 28 tests:  end of blockExecuted by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 1121 | 
| 680 | } executed 1538 times by 28 tests:  end of blockExecuted by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 1538 | 
| 681 |  | - | 
| 682 | void QAnimationTimer::unregisterAnimation(QAbstractAnimation *animation) | - | 
| 683 | { | - | 
| 684 | QAnimationTimer *inst = QAnimationTimer::instance(false); | - | 
| 685 | if (inst) { | TRUE | evaluated 1538 times by 28 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 |  | FALSE | never evaluated | 
 | 0-1538 | 
| 686 |  | - | 
| 687 |  | - | 
| 688 |  | - | 
| 689 | inst->unregisterRunningAnimation(animation); | - | 
| 690 |  | - | 
| 691 | if (!QAbstractAnimationPrivate::get(animation)->hasRegisteredTimer) | TRUE | evaluated 417 times by 6 tests Evaluated by:tst_QAnimationGrouptst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QStateMachine
 |  | FALSE | evaluated 1121 times by 28 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 
 | 417-1121 | 
| 692 | return; executed 417 times by 6 tests:  return;Executed by:tst_QAnimationGrouptst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QStateMachine
 | 417 | 
| 693 |  | - | 
| 694 | int idx = inst->animations.indexOf(animation); | - | 
| 695 | if (idx != -1) { | TRUE | evaluated 157 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 |  | FALSE | evaluated 964 times by 23 tests Evaluated by:tst_Gesturestst_QAccessibilitytst_QAnimationGrouptst_QDockWidgettst_QGraphicsProxyWidgettst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidgettst_QWidgettst_QWidget_windowtst_QWindowContainer
 | 
 | 157-964 | 
| 696 | inst->animations.removeAt(idx); | - | 
| 697 |  | - | 
| 698 | if (idx <= inst->currentAnimationIdx) | TRUE | evaluated 150 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 |  | FALSE | evaluated 7 times by 3 tests Evaluated by:tst_QAbstractAnimationtst_QPropertyAnimationtst_QStateMachine
 | 
 | 7-150 | 
| 699 | --inst->currentAnimationIdx; executed 150 times by 12 tests:  --inst->currentAnimationIdx;Executed by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 150 | 
| 700 |  | - | 
| 701 | if (inst->animations.isEmpty() && !inst->stopTimerPending) { | TRUE | evaluated 141 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 |  | FALSE | evaluated 16 times by 4 tests Evaluated by:tst_QAbstractAnimationtst_QPauseAnimationtst_QPropertyAnimationtst_QStateMachine
 | 
| TRUE | evaluated 141 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 |  | FALSE | never evaluated | 
 | 0-141 | 
| 702 | inst->stopTimerPending = true; | - | 
| 703 | QMetaObject::invokeMethod(inst, "stopTimer", Qt::QueuedConnection); | - | 
| 704 | } executed 141 times by 12 tests:  end of blockExecuted by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 141 | 
| 705 | } else { executed 157 times by 12 tests:  end of blockExecuted by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 157 | 
| 706 | inst->animationsToStart.removeOne(animation); | - | 
| 707 | } executed 964 times by 23 tests:  end of blockExecuted by:tst_Gesturestst_QAccessibilitytst_QAnimationGrouptst_QDockWidgettst_QGraphicsProxyWidgettst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidgettst_QWidgettst_QWidget_windowtst_QWindowContainer
 | 964 | 
| 708 | } | - | 
| 709 | QAbstractAnimationPrivate::get(animation)->hasRegisteredTimer = false; | - | 
| 710 | } executed 1121 times by 28 tests:  end of blockExecuted by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 1121 | 
| 711 |  | - | 
| 712 | void QAnimationTimer::registerRunningAnimation(QAbstractAnimation *animation) | - | 
| 713 | { | - | 
| 714 | if (QAbstractAnimationPrivate::get(animation)->isGroup) | TRUE | evaluated 112 times by 6 tests Evaluated by:tst_QAnimationGrouptst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QStateMachine
 |  | FALSE | evaluated 1426 times by 28 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 
 | 112-1426 | 
| 715 | return; executed 112 times by 6 tests:  return;Executed by:tst_QAnimationGrouptst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QStateMachine
 | 112 | 
| 716 |  | - | 
| 717 | if (QAbstractAnimationPrivate::get(animation)->isPause) { | TRUE | evaluated 27 times by 2 tests Evaluated by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 |  | FALSE | evaluated 1399 times by 28 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 
 | 27-1399 | 
| 718 | runningPauseAnimations << animation; | - | 
| 719 | } else executed 27 times by 2 tests:  end of blockExecuted by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 | 27 | 
| 720 | runningLeafAnimations++; executed 1399 times by 28 tests:  runningLeafAnimations++;Executed by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 1399 | 
| 721 | } | - | 
| 722 |  | - | 
| 723 | void QAnimationTimer::unregisterRunningAnimation(QAbstractAnimation *animation) | - | 
| 724 | { | - | 
| 725 | if (QAbstractAnimationPrivate::get(animation)->isGroup) | TRUE | evaluated 112 times by 6 tests Evaluated by:tst_QAnimationGrouptst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QStateMachine
 |  | FALSE | evaluated 1426 times by 28 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 
 | 112-1426 | 
| 726 | return; executed 112 times by 6 tests:  return;Executed by:tst_QAnimationGrouptst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QStateMachine
 | 112 | 
| 727 |  | - | 
| 728 | if (QAbstractAnimationPrivate::get(animation)->isPause) | TRUE | evaluated 27 times by 2 tests Evaluated by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 |  | FALSE | evaluated 1399 times by 28 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 
 | 27-1399 | 
| 729 | runningPauseAnimations.removeOne(animation); executed 27 times by 2 tests:  runningPauseAnimations.removeOne(animation);Executed by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 | 27 | 
| 730 | else | - | 
| 731 | runningLeafAnimations--; executed 1399 times by 28 tests:  runningLeafAnimations--;Executed by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 1399 | 
| 732 | Q_ASSERT(runningLeafAnimations >= 0); | - | 
| 733 | } executed 1426 times by 28 tests:  end of blockExecuted by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 1426 | 
| 734 |  | - | 
| 735 | int QAnimationTimer::closestPauseAnimationTimeToFinish() | - | 
| 736 | { | - | 
| 737 | int closestTimeToFinish = INT_MAX; | - | 
| 738 | for (AnimationListConstIt it = runningPauseAnimations.constBegin(), cend = runningPauseAnimations.constEnd(); it != cend; ++it) { | TRUE | evaluated 39 times by 2 tests Evaluated by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 |  | FALSE | evaluated 22 times by 2 tests Evaluated by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 | 
 | 22-39 | 
| 739 | const QAbstractAnimation *animation = *it; | - | 
| 740 | int timeToFinish; | - | 
| 741 |  | - | 
| 742 | if (animation->direction() == QAbstractAnimation::Forward) | TRUE | evaluated 38 times by 2 tests Evaluated by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 |  | FALSE | evaluated 1 time by 1 test | 
 | 1-38 | 
| 743 | timeToFinish = animation->duration() - animation->currentLoopTime(); executed 38 times by 2 tests:  timeToFinish = animation->duration() - animation->currentLoopTime();Executed by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 | 38 | 
| 744 | else | - | 
| 745 | timeToFinish = animation->currentLoopTime(); executed 1 time by 1 test:  timeToFinish = animation->currentLoopTime(); | 1 | 
| 746 |  | - | 
| 747 | if (timeToFinish < closestTimeToFinish) | TRUE | evaluated 26 times by 2 tests Evaluated by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 |  | FALSE | evaluated 13 times by 1 test | 
 | 13-26 | 
| 748 | closestTimeToFinish = timeToFinish; executed 26 times by 2 tests:  closestTimeToFinish = timeToFinish;Executed by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 | 26 | 
| 749 | } executed 39 times by 2 tests:  end of blockExecuted by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 | 39 | 
| 750 | return closestTimeToFinish; executed 22 times by 2 tests:  return closestTimeToFinish;Executed by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 | 22 | 
| 751 | } | - | 
| 752 |  | - | 
| 753 |  | - | 
| 754 |  | - | 
| 755 |  | - | 
| 756 |  | - | 
| 757 |  | - | 
| 758 |  | - | 
| 759 |  | - | 
| 760 |  | - | 
| 761 |  | - | 
| 762 |  | - | 
| 763 |  | - | 
| 764 |  | - | 
| 765 |  | - | 
| 766 | QAnimationDriver::QAnimationDriver(QObject *parent) | - | 
| 767 | : QObject(*(new QAnimationDriverPrivate), parent) | - | 
| 768 | { | - | 
| 769 | } executed 26 times by 26 tests:  end of blockExecuted by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidgettst_QWidget_window...
 | 26 | 
| 770 |  | - | 
| 771 | QAnimationDriver::QAnimationDriver(QAnimationDriverPrivate &dd, QObject *parent) | - | 
| 772 | : QObject(dd, parent) | - | 
| 773 | { | - | 
| 774 | } never executed: end of block | 0 | 
| 775 |  | - | 
| 776 | QAnimationDriver::~QAnimationDriver() | - | 
| 777 | { | - | 
| 778 | QUnifiedTimer *timer = QUnifiedTimer::instance(false); | - | 
| 779 | if (timer && timer->canUninstallAnimationDriver(this)) | TRUE | never evaluated |  | FALSE | evaluated 26 times by 26 tests Evaluated by:tst_gestures - unknown statustst_qabstractanimation - unknown statustst_qaccessibility - unknown statustst_qcolumnview - unknown statustst_qdockwidget - unknown statustst_qgraphicsproxywidget - unknown statustst_qlineedit - unknown statustst_qmainwindow - unknown statustst_qmdiarea - unknown statustst_qmdisubwindow - unknown statustst_qmenu - unknown statustst_qparallelanimationgroup - unknown statustst_qpauseanimation - unknown statustst_qprinter - unknown statustst_qprogressbar - unknown statustst_qpropertyanimation - unknown statustst_qscroller - unknown statustst_qsequentialanimationgroup - unknown statustst_qshortcut - unknown statustst_qstatemachine - unknown statustst_qstylesheetstyle - unknown statustst_qtoolbar - unknown statustst_qtreeview - unknown statustst_qwidget - unknown statustst_qwidget_window - unknown status...
 | 
| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0-26 | 
| 780 | uninstall(); never executed: uninstall(); | 0 | 
| 781 | } executed 26 times by 26 tests:  end of blockExecuted by:tst_gestures - unknown statustst_qabstractanimation - unknown statustst_qaccessibility - unknown statustst_qcolumnview - unknown statustst_qdockwidget - unknown statustst_qgraphicsproxywidget - unknown statustst_qlineedit - unknown statustst_qmainwindow - unknown statustst_qmdiarea - unknown statustst_qmdisubwindow - unknown statustst_qmenu - unknown statustst_qparallelanimationgroup - unknown statustst_qpauseanimation - unknown statustst_qprinter - unknown statustst_qprogressbar - unknown statustst_qpropertyanimation - unknown statustst_qscroller - unknown statustst_qsequentialanimationgroup - unknown statustst_qshortcut - unknown statustst_qstatemachine - unknown statustst_qstylesheetstyle - unknown statustst_qtoolbar - unknown statustst_qtreeview - unknown statustst_qwidget - unknown statustst_qwidget_window - unknown status...
 | 26 | 
| 782 |  | - | 
| 783 |  | - | 
| 784 |  | - | 
| 785 |  | - | 
| 786 |  | - | 
| 787 |  | - | 
| 788 |  | - | 
| 789 |  | - | 
| 790 |  | - | 
| 791 |  | - | 
| 792 |  | - | 
| 793 |  | - | 
| 794 |  | - | 
| 795 | void QAnimationDriver::setStartTime(qint64) | - | 
| 796 | { | - | 
| 797 | } | - | 
| 798 |  | - | 
| 799 |  | - | 
| 800 |  | - | 
| 801 |  | - | 
| 802 |  | - | 
| 803 |  | - | 
| 804 |  | - | 
| 805 |  | - | 
| 806 | qint64 QAnimationDriver::startTime() const | - | 
| 807 | { | - | 
| 808 | return 0; never executed: return 0; | 0 | 
| 809 | } | - | 
| 810 |  | - | 
| 811 |  | - | 
| 812 |  | - | 
| 813 |  | - | 
| 814 |  | - | 
| 815 |  | - | 
| 816 |  | - | 
| 817 |  | - | 
| 818 |  | - | 
| 819 |  | - | 
| 820 |  | - | 
| 821 |  | - | 
| 822 |  | - | 
| 823 |  | - | 
| 824 | void QAnimationDriver::advanceAnimation(qint64 timeStep) | - | 
| 825 | { | - | 
| 826 | QUnifiedTimer *instance = QUnifiedTimer::instance(); | - | 
| 827 |  | - | 
| 828 |  | - | 
| 829 | instance->updateAnimationTimers(timeStep); | - | 
| 830 | instance->restart(); | - | 
| 831 | } executed 1916 times by 12 tests:  end of blockExecuted by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 1916 | 
| 832 |  | - | 
| 833 |  | - | 
| 834 |  | - | 
| 835 |  | - | 
| 836 |  | - | 
| 837 |  | - | 
| 838 |  | - | 
| 839 |  | - | 
| 840 | void QAnimationDriver::advance() | - | 
| 841 | { | - | 
| 842 | advanceAnimation(-1); | - | 
| 843 | } executed 1916 times by 12 tests:  end of blockExecuted by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 1916 | 
| 844 |  | - | 
| 845 |  | - | 
| 846 |  | - | 
| 847 |  | - | 
| 848 |  | - | 
| 849 |  | - | 
| 850 |  | - | 
| 851 |  | - | 
| 852 | void QAnimationDriver::install() | - | 
| 853 | { | - | 
| 854 | QUnifiedTimer *timer = QUnifiedTimer::instance(true); | - | 
| 855 | timer->installAnimationDriver(this); | - | 
| 856 | } never executed: end of block | 0 | 
| 857 |  | - | 
| 858 |  | - | 
| 859 |  | - | 
| 860 |  | - | 
| 861 |  | - | 
| 862 |  | - | 
| 863 |  | - | 
| 864 | void QAnimationDriver::uninstall() | - | 
| 865 | { | - | 
| 866 | QUnifiedTimer *timer = QUnifiedTimer::instance(true); | - | 
| 867 | timer->uninstallAnimationDriver(this); | - | 
| 868 | } never executed: end of block | 0 | 
| 869 |  | - | 
| 870 | bool QAnimationDriver::isRunning() const | - | 
| 871 | { | - | 
| 872 | return d_func()->running; executed 4751 times by 26 tests:  return d_func()->running;Executed by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidgettst_QWidget_window...
 | 4751 | 
| 873 | } | - | 
| 874 |  | - | 
| 875 |  | - | 
| 876 | void QAnimationDriver::start() | - | 
| 877 | { | - | 
| 878 | Q_D(QAnimationDriver); | - | 
| 879 | if (!d->running) { | TRUE | evaluated 124 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 |  | FALSE | never evaluated | 
 | 0-124 | 
| 880 | d->running = true; | - | 
| 881 | d->timer.start(); | - | 
| 882 | emit started(); | - | 
| 883 | } executed 124 times by 12 tests:  end of blockExecuted by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 124 | 
| 884 | } executed 124 times by 12 tests:  end of blockExecuted by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 124 | 
| 885 |  | - | 
| 886 |  | - | 
| 887 | void QAnimationDriver::stop() | - | 
| 888 | { | - | 
| 889 | Q_D(QAnimationDriver); | - | 
| 890 | if (d->running) { | TRUE | evaluated 121 times by 10 tests Evaluated by:tst_QColumnViewtst_QLineEdittst_QMainWindowtst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 |  | FALSE | evaluated 29 times by 2 tests Evaluated by:tst_QPauseAnimationtst_QSequentialAnimationGroup
 | 
 | 29-121 | 
| 891 | d->running = false; | - | 
| 892 | emit stopped(); | - | 
| 893 | } executed 121 times by 10 tests:  end of blockExecuted by:tst_QColumnViewtst_QLineEdittst_QMainWindowtst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 121 | 
| 894 | } executed 150 times by 10 tests:  end of blockExecuted by:tst_QColumnViewtst_QLineEdittst_QMainWindowtst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 150 | 
| 895 |  | - | 
| 896 |  | - | 
| 897 |  | - | 
| 898 |  | - | 
| 899 |  | - | 
| 900 |  | - | 
| 901 |  | - | 
| 902 |  | - | 
| 903 | qint64 QAnimationDriver::elapsed() const | - | 
| 904 | { | - | 
| 905 | Q_D(const QAnimationDriver); | - | 
| 906 | return d->running ? d->timer.elapsed() : 0; executed 2072 times by 12 tests:  return d->running ? d->timer.elapsed() : 0;Executed by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 2072 | 
| 907 | } | - | 
| 908 |  | - | 
| 909 |  | - | 
| 910 |  | - | 
| 911 |  | - | 
| 912 |  | - | 
| 913 |  | - | 
| 914 |  | - | 
| 915 |  | - | 
| 916 |  | - | 
| 917 |  | - | 
| 918 |  | - | 
| 919 |  | - | 
| 920 |  | - | 
| 921 |  | - | 
| 922 |  | - | 
| 923 |  | - | 
| 924 |  | - | 
| 925 |  | - | 
| 926 |  | - | 
| 927 |  | - | 
| 928 |  | - | 
| 929 |  | - | 
| 930 | QDefaultAnimationDriver::QDefaultAnimationDriver(QUnifiedTimer *timer) | - | 
| 931 | : QAnimationDriver(0), m_unified_timer(timer) | - | 
| 932 | { | - | 
| 933 | connect(this, SIGNAL(started()), this, SLOT(startTimer())); | - | 
| 934 | connect(this, SIGNAL(stopped()), this, SLOT(stopTimer())); | - | 
| 935 | } executed 26 times by 26 tests:  end of blockExecuted by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidgettst_QWidget_window...
 | 26 | 
| 936 |  | - | 
| 937 | void QDefaultAnimationDriver::timerEvent(QTimerEvent *e) | - | 
| 938 | { | - | 
| 939 | Q_ASSERT(e->timerId() == m_timer.timerId()); | - | 
| 940 | Q_UNUSED(e); | - | 
| 941 | advance(); | - | 
| 942 | } executed 1916 times by 12 tests:  end of blockExecuted by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 1916 | 
| 943 |  | - | 
| 944 | void QDefaultAnimationDriver::startTimer() | - | 
| 945 | { | - | 
| 946 |  | - | 
| 947 | m_timer.start(m_unified_timer->timingInterval, Qt::PreciseTimer, this); | - | 
| 948 | } executed 124 times by 12 tests:  end of blockExecuted by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 124 | 
| 949 |  | - | 
| 950 | void QDefaultAnimationDriver::stopTimer() | - | 
| 951 | { | - | 
| 952 | m_timer.stop(); | - | 
| 953 | } executed 121 times by 10 tests:  end of blockExecuted by:tst_QColumnViewtst_QLineEdittst_QMainWindowtst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 121 | 
| 954 |  | - | 
| 955 |  | - | 
| 956 |  | - | 
| 957 | void QAbstractAnimationPrivate::setState(QAbstractAnimation::State newState) | - | 
| 958 | { | - | 
| 959 | Q_Q(QAbstractAnimation); | - | 
| 960 | if (state == newState) | TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 3037 times by 28 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 
 | 1-3037 | 
| 961 | return; executed 1 time by 1 test:  return; | 1 | 
| 962 |  | - | 
| 963 | if (loopCount == 0) | TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 3036 times by 28 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 
 | 1-3036 | 
| 964 | return; executed 1 time by 1 test:  return; | 1 | 
| 965 |  | - | 
| 966 | QAbstractAnimation::State oldState = state; | - | 
| 967 | int oldCurrentTime = currentTime; | - | 
| 968 | int oldCurrentLoop = currentLoop; | - | 
| 969 | QAbstractAnimation::Direction oldDirection = direction; | - | 
| 970 |  | - | 
| 971 |  | - | 
| 972 | if ((newState == QAbstractAnimation::Paused || newState == QAbstractAnimation::Running) | TRUE | evaluated 58 times by 4 tests Evaluated by:tst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGroup
 |  | FALSE | evaluated 2978 times by 28 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 
| TRUE | evaluated 1538 times by 28 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 |  | FALSE | evaluated 1440 times by 26 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidgettst_QWidget_window...
 | 
 | 58-2978 | 
| 973 | && oldState == QAbstractAnimation::Stopped) { | TRUE | evaluated 1526 times by 28 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 |  | FALSE | evaluated 70 times by 4 tests Evaluated by:tst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGroup
 | 
 | 70-1526 | 
| 974 |  | - | 
| 975 |  | - | 
| 976 |  | - | 
| 977 | totalCurrentTime = currentTime = (direction == QAbstractAnimation::Forward) ? | TRUE | evaluated 1407 times by 27 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidget...
 |  | FALSE | evaluated 119 times by 3 tests Evaluated by:tst_QParallelAnimationGrouptst_QPropertyAnimationtst_QTreeWidget
 | 
 | 119-1407 | 
| 978 | 0 : (loopCount == -1 ? q->duration() : q->totalDuration()); | TRUE | evaluated 3 times by 1 test Evaluated by:tst_QParallelAnimationGroup
 |  | FALSE | evaluated 116 times by 3 tests Evaluated by:tst_QParallelAnimationGrouptst_QPropertyAnimationtst_QTreeWidget
 | 
 | 3-116 | 
| 979 | } executed 1526 times by 28 tests:  end of blockExecuted by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 1526 | 
| 980 |  | - | 
| 981 | state = newState; | - | 
| 982 | QPointer<QAbstractAnimation> guard(q); | - | 
| 983 |  | - | 
| 984 |  | - | 
| 985 |  | - | 
| 986 | bool isTopLevel = !group || group->state() == QAbstractAnimation::Stopped; | TRUE | evaluated 2218 times by 28 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 |  | FALSE | evaluated 818 times by 6 tests Evaluated by:tst_QAnimationGrouptst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QStateMachine
 | 
| TRUE | evaluated 37 times by 3 tests Evaluated by:tst_QAnimationGrouptst_QParallelAnimationGrouptst_QSequentialAnimationGroup
 |  | FALSE | evaluated 781 times by 6 tests Evaluated by:tst_QAnimationGrouptst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QStateMachine
 | 
 | 37-2218 | 
| 987 | if (oldState == QAbstractAnimation::Running) { | TRUE | evaluated 1456 times by 26 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidgettst_QWidget_window...
 |  | FALSE | evaluated 1580 times by 28 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 
 | 1456-1580 | 
| 988 | if (newState == QAbstractAnimation::Paused && hasRegisteredTimer) | TRUE | evaluated 58 times by 4 tests Evaluated by:tst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGroup
 |  | FALSE | evaluated 1398 times by 26 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidgettst_QWidget_window...
 | 
| TRUE | evaluated 29 times by 4 tests Evaluated by:tst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGroup
 |  | FALSE | evaluated 29 times by 2 tests Evaluated by:tst_QParallelAnimationGrouptst_QSequentialAnimationGroup
 | 
 | 29-1398 | 
| 989 | QAnimationTimer::ensureTimerUpdate(); executed 29 times by 4 tests:  QAnimationTimer::ensureTimerUpdate();Executed by:tst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGroup
 | 29 | 
| 990 |  | - | 
| 991 | QAnimationTimer::unregisterAnimation(q); | - | 
| 992 | } else if (newState == QAbstractAnimation::Running) { executed 1456 times by 26 tests:  end of blockExecuted by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidgettst_QWidget_window...
 | TRUE | evaluated 1538 times by 28 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 |  | FALSE | evaluated 42 times by 3 tests Evaluated by:tst_QParallelAnimationGrouptst_QPropertyAnimationtst_QSequentialAnimationGroup
 | 
 | 42-1538 | 
| 993 | QAnimationTimer::registerAnimation(q, isTopLevel); | - | 
| 994 | } executed 1538 times by 28 tests:  end of blockExecuted by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 1538 | 
| 995 |  | - | 
| 996 | q->updateState(newState, oldState); | - | 
| 997 | if (!guard || newState != state) | TRUE | never evaluated |  | FALSE | evaluated 3036 times by 28 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 
| TRUE | never evaluated |  | FALSE | evaluated 3036 times by 28 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 
 | 0-3036 | 
| 998 | return; never executed: return; | 0 | 
| 999 |  | - | 
| 1000 |  | - | 
| 1001 | emit q->stateChanged(newState, oldState); | - | 
| 1002 | if (!guard || newState != state) | TRUE | never evaluated |  | FALSE | evaluated 3036 times by 28 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 
| TRUE | never evaluated |  | FALSE | evaluated 3036 times by 28 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 
 | 0-3036 | 
| 1003 | return; never executed: return; | 0 | 
| 1004 |  | - | 
| 1005 | switch (state) { | - | 
| 1006 | case QAbstractAnimation::Paused: executed 58 times by 4 tests:  case QAbstractAnimation::Paused:Executed by:tst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGroup
 | 58 | 
| 1007 | break; executed 58 times by 4 tests:  break;Executed by:tst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGroup
 | 58 | 
| 1008 | case QAbstractAnimation::Running: executed 1538 times by 28 tests:  case QAbstractAnimation::Running:Executed by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 1538 | 
| 1009 | { | - | 
| 1010 |  | - | 
| 1011 |  | - | 
| 1012 | if (oldState == QAbstractAnimation::Stopped) { | TRUE | evaluated 1526 times by 28 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 |  | FALSE | evaluated 12 times by 4 tests Evaluated by:tst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGroup
 | 
 | 12-1526 | 
| 1013 | if (isTopLevel) { | TRUE | evaluated 1114 times by 28 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 |  | FALSE | evaluated 412 times by 6 tests Evaluated by:tst_QAnimationGrouptst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QStateMachine
 | 
 | 412-1114 | 
| 1014 |  | - | 
| 1015 | QAnimationTimer::ensureTimerUpdate(); | - | 
| 1016 | q->setCurrentTime(totalCurrentTime); | - | 
| 1017 | } executed 1114 times by 28 tests:  end of blockExecuted by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 1114 | 
| 1018 | } executed 1526 times by 28 tests:  end of blockExecuted by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 1526 | 
| 1019 | } | - | 
| 1020 | break; executed 1538 times by 28 tests:  break;Executed by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 1538 | 
| 1021 | case QAbstractAnimation::Stopped: executed 1440 times by 26 tests:  case QAbstractAnimation::Stopped:Executed by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidgettst_QWidget_window...
 | 1440 | 
| 1022 |  | - | 
| 1023 | int dura = q->duration(); | - | 
| 1024 |  | - | 
| 1025 | if (deleteWhenStopped) | TRUE | evaluated 855 times by 17 tests Evaluated by:tst_Gesturestst_QAccessibilitytst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QPrintertst_QPropertyAnimationtst_QShortcuttst_QStyleSheetStyletst_QToolBartst_QWidgettst_QWidget_windowtst_QWindowContainer
 |  | FALSE | evaluated 585 times by 10 tests Evaluated by:tst_QAbstractAnimationtst_QAnimationGrouptst_QColumnViewtst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 
 | 585-855 | 
| 1026 | q->deleteLater(); executed 855 times by 17 tests:  q->deleteLater();Executed by:tst_Gesturestst_QAccessibilitytst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QPrintertst_QPropertyAnimationtst_QShortcuttst_QStyleSheetStyletst_QToolBartst_QWidgettst_QWidget_windowtst_QWindowContainer
 | 855 | 
| 1027 |  | - | 
| 1028 | if (dura == -1 || loopCount < 0 | TRUE | evaluated 16 times by 3 tests Evaluated by:tst_QParallelAnimationGrouptst_QScrollertst_QSequentialAnimationGroup
 |  | FALSE | evaluated 1424 times by 25 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidgettst_QWidget_windowtst_QWindowContainer
 | 
| TRUE | evaluated 9 times by 3 tests Evaluated by:tst_QAnimationGrouptst_QParallelAnimationGrouptst_QSequentialAnimationGroup
 |  | FALSE | evaluated 1415 times by 25 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidgettst_QWidget_windowtst_QWindowContainer
 | 
 | 9-1424 | 
| 1029 | || (oldDirection == QAbstractAnimation::Forward && (oldCurrentTime * (oldCurrentLoop + 1)) == (dura * loopCount)) | TRUE | evaluated 1323 times by 24 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QWidgettst_QWidget_windowtst_QWindowContainer
 |  | FALSE | evaluated 92 times by 4 tests Evaluated by:tst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QTreeView
 | 
| TRUE | evaluated 1222 times by 23 tests Evaluated by:tst_Gesturestst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QWidgettst_QWidget_windowtst_QWindowContainer
 |  | FALSE | evaluated 101 times by 8 tests Evaluated by:tst_QAbstractAnimationtst_QAnimationGrouptst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QStateMachine
 | 
 | 92-1323 | 
| 1030 | || (oldDirection == QAbstractAnimation::Backward && oldCurrentTime == 0)) { | TRUE | evaluated 92 times by 4 tests Evaluated by:tst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QTreeView
 |  | FALSE | evaluated 101 times by 8 tests Evaluated by:tst_QAbstractAnimationtst_QAnimationGrouptst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QStateMachine
 | 
| TRUE | evaluated 87 times by 4 tests Evaluated by:tst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QTreeView
 |  | FALSE | evaluated 5 times by 2 tests Evaluated by:tst_QParallelAnimationGrouptst_QPropertyAnimation
 | 
 | 5-101 | 
| 1031 | emit q->finished(); | - | 
| 1032 | } executed 1334 times by 25 tests:  end of blockExecuted by:tst_Gesturestst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidgettst_QWidget_windowtst_QWindowContainer
 | 1334 | 
| 1033 | break; executed 1440 times by 26 tests:  break;Executed by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidgettst_QWidget_window...
 | 1440 | 
| 1034 | } | - | 
| 1035 | } executed 3036 times by 28 tests:  end of blockExecuted by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 3036 | 
| 1036 |  | - | 
| 1037 |  | - | 
| 1038 |  | - | 
| 1039 |  | - | 
| 1040 |  | - | 
| 1041 |  | - | 
| 1042 |  | - | 
| 1043 | QAbstractAnimation::QAbstractAnimation(QObject *parent) | - | 
| 1044 | : QObject(*new QAbstractAnimationPrivate, 0) | - | 
| 1045 | { | - | 
| 1046 |  | - | 
| 1047 | setParent(parent); | - | 
| 1048 | } executed 27 times by 3 tests:  end of blockExecuted by:tst_QAbstractAnimationtst_QProgressBartst_QScroller
 | 27 | 
| 1049 |  | - | 
| 1050 |  | - | 
| 1051 |  | - | 
| 1052 |  | - | 
| 1053 | QAbstractAnimation::QAbstractAnimation(QAbstractAnimationPrivate &dd, QObject *parent) | - | 
| 1054 | : QObject(dd, 0) | - | 
| 1055 | { | - | 
| 1056 |  | - | 
| 1057 | setParent(parent); | - | 
| 1058 | } executed 2166 times by 43 tests:  end of blockExecuted by:tst_Gesturestst_ModelTesttst_QAbstractAnimationtst_QAbstractItemViewtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QComboBoxtst_QDirModeltst_QDockWidgettst_QFileDialog2tst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QHeaderViewtst_QItemModeltst_QItemViewtst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrinter...
 | 2166 | 
| 1059 |  | - | 
| 1060 |  | - | 
| 1061 |  | - | 
| 1062 |  | - | 
| 1063 |  | - | 
| 1064 |  | - | 
| 1065 | QAbstractAnimation::~QAbstractAnimation() | - | 
| 1066 | { | - | 
| 1067 | Q_D(QAbstractAnimation); | - | 
| 1068 |  | - | 
| 1069 | if (d->state != Stopped) { | TRUE | evaluated 86 times by 6 tests Evaluated by:tst_QAbstractAnimationtst_QParallelAnimationGrouptst_QProgressBartst_QSequentialAnimationGrouptst_QTreeViewtst_QTreeWidget
 |  | FALSE | evaluated 1982 times by 44 tests Evaluated by:tst_Gesturestst_ModelTesttst_QAbstractAnimationtst_QAbstractItemViewtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QComboBoxtst_QDirModeltst_QDockWidgettst_QFileDialog2tst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QHeaderViewtst_QItemViewtst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QPropertyAnimation...
 | 
 | 86-1982 | 
| 1070 | QAbstractAnimation::State oldState = d->state; | - | 
| 1071 | d->state = Stopped; | - | 
| 1072 | emit stateChanged(oldState, d->state); | - | 
| 1073 | if (oldState == QAbstractAnimation::Running) | TRUE | evaluated 82 times by 6 tests Evaluated by:tst_QAbstractAnimationtst_QParallelAnimationGrouptst_QProgressBartst_QSequentialAnimationGrouptst_QTreeViewtst_QTreeWidget
 |  | FALSE | evaluated 4 times by 2 tests Evaluated by:tst_QParallelAnimationGrouptst_QSequentialAnimationGroup
 | 
 | 4-82 | 
| 1074 | QAnimationTimer::unregisterAnimation(this); executed 82 times by 6 tests:  QAnimationTimer::unregisterAnimation(this);Executed by:tst_QAbstractAnimationtst_QParallelAnimationGrouptst_QProgressBartst_QSequentialAnimationGrouptst_QTreeViewtst_QTreeWidget
 | 82 | 
| 1075 | } executed 86 times by 6 tests:  end of blockExecuted by:tst_QAbstractAnimationtst_QParallelAnimationGrouptst_QProgressBartst_QSequentialAnimationGrouptst_QTreeViewtst_QTreeWidget
 | 86 | 
| 1076 | } executed 2068 times by 45 tests:  end of blockExecuted by:tst_Gesturestst_ModelTesttst_QAbstractAnimationtst_QAbstractItemViewtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QComboBoxtst_QDirModeltst_QDockWidgettst_QFileDialog2tst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QHeaderViewtst_QItemViewtst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBar...
 | 2068 | 
| 1077 |  | - | 
| 1078 |  | - | 
| 1079 |  | - | 
| 1080 |  | - | 
| 1081 |  | - | 
| 1082 |  | - | 
| 1083 |  | - | 
| 1084 |  | - | 
| 1085 |  | - | 
| 1086 | QAbstractAnimation::State QAbstractAnimation::state() const | - | 
| 1087 | { | - | 
| 1088 | Q_D(const QAbstractAnimation); | - | 
| 1089 | return d->state; executed 3997 times by 10 tests:  return d->state;Executed by:tst_QAbstractAnimationtst_QAnimationGrouptst_QColumnViewtst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeViewtst_QTreeWidget
 | 3997 | 
| 1090 | } | - | 
| 1091 |  | - | 
| 1092 |  | - | 
| 1093 |  | - | 
| 1094 |  | - | 
| 1095 |  | - | 
| 1096 |  | - | 
| 1097 |  | - | 
| 1098 | QAnimationGroup *QAbstractAnimation::group() const | - | 
| 1099 | { | - | 
| 1100 | Q_D(const QAbstractAnimation); | - | 
| 1101 | return d->group; executed 701 times by 7 tests:  return d->group;Executed by:tst_QAbstractAnimationtst_QAnimationGrouptst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QStateMachine
 | 701 | 
| 1102 | } | - | 
| 1103 |  | - | 
| 1104 |  | - | 
| 1105 |  | - | 
| 1106 |  | - | 
| 1107 |  | - | 
| 1108 |  | - | 
| 1109 |  | - | 
| 1110 |  | - | 
| 1111 |  | - | 
| 1112 |  | - | 
| 1113 |  | - | 
| 1114 |  | - | 
| 1115 |  | - | 
| 1116 |  | - | 
| 1117 |  | - | 
| 1118 |  | - | 
| 1119 |  | - | 
| 1120 |  | - | 
| 1121 |  | - | 
| 1122 |  | - | 
| 1123 |  | - | 
| 1124 |  | - | 
| 1125 |  | - | 
| 1126 |  | - | 
| 1127 |  | - | 
| 1128 |  | - | 
| 1129 |  | - | 
| 1130 |  | - | 
| 1131 |  | - | 
| 1132 |  | - | 
| 1133 |  | - | 
| 1134 |  | - | 
| 1135 |  | - | 
| 1136 |  | - | 
| 1137 |  | - | 
| 1138 |  | - | 
| 1139 |  | - | 
| 1140 |  | - | 
| 1141 |  | - | 
| 1142 |  | - | 
| 1143 |  | - | 
| 1144 |  | - | 
| 1145 |  | - | 
| 1146 |  | - | 
| 1147 |  | - | 
| 1148 |  | - | 
| 1149 | QAbstractAnimation::Direction QAbstractAnimation::direction() const | - | 
| 1150 | { | - | 
| 1151 | Q_D(const QAbstractAnimation); | - | 
| 1152 | return d->direction; executed 2165 times by 13 tests:  return d->direction;Executed by:tst_QAbstractAnimationtst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeViewtst_QTreeWidget
 | 2165 | 
| 1153 | } | - | 
| 1154 | void QAbstractAnimation::setDirection(Direction direction) | - | 
| 1155 | { | - | 
| 1156 | Q_D(QAbstractAnimation); | - | 
| 1157 | if (d->direction == direction) | TRUE | evaluated 232 times by 7 tests Evaluated by:tst_QAnimationGrouptst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 |  | FALSE | evaluated 100 times by 7 tests Evaluated by:tst_QAbstractAnimationtst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QTreeViewtst_QTreeWidget
 | 
 | 100-232 | 
| 1158 | return; executed 232 times by 7 tests:  return;Executed by:tst_QAnimationGrouptst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 232 | 
| 1159 |  | - | 
| 1160 | if (state() == Stopped) { | TRUE | evaluated 90 times by 5 tests Evaluated by:tst_QAbstractAnimationtst_QParallelAnimationGrouptst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QTreeWidget
 |  | FALSE | evaluated 10 times by 2 tests Evaluated by:tst_QPauseAnimationtst_QTreeView
 | 
 | 10-90 | 
| 1161 | if (direction == Backward) { | TRUE | evaluated 88 times by 5 tests Evaluated by:tst_QAbstractAnimationtst_QParallelAnimationGrouptst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QTreeWidget
 |  | FALSE | evaluated 2 times by 2 tests Evaluated by:tst_QAbstractAnimationtst_QPropertyAnimation
 | 
 | 2-88 | 
| 1162 | d->currentTime = duration(); | - | 
| 1163 | d->currentLoop = d->loopCount - 1; | - | 
| 1164 | } else { executed 88 times by 5 tests:  end of blockExecuted by:tst_QAbstractAnimationtst_QParallelAnimationGrouptst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QTreeWidget
 | 88 | 
| 1165 | d->currentTime = 0; | - | 
| 1166 | d->currentLoop = 0; | - | 
| 1167 | } executed 2 times by 2 tests:  end of blockExecuted by:tst_QAbstractAnimationtst_QPropertyAnimation
 | 2 | 
| 1168 | } | - | 
| 1169 |  | - | 
| 1170 |  | - | 
| 1171 |  | - | 
| 1172 | if (d->hasRegisteredTimer) | TRUE | evaluated 10 times by 2 tests Evaluated by:tst_QPauseAnimationtst_QTreeView
 |  | FALSE | evaluated 90 times by 5 tests Evaluated by:tst_QAbstractAnimationtst_QParallelAnimationGrouptst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QTreeWidget
 | 
 | 10-90 | 
| 1173 | QAnimationTimer::ensureTimerUpdate(); executed 10 times by 2 tests:  QAnimationTimer::ensureTimerUpdate();Executed by:tst_QPauseAnimationtst_QTreeView
 | 10 | 
| 1174 |  | - | 
| 1175 | d->direction = direction; | - | 
| 1176 | updateDirection(direction); | - | 
| 1177 |  | - | 
| 1178 | if (d->hasRegisteredTimer) | TRUE | evaluated 10 times by 2 tests Evaluated by:tst_QPauseAnimationtst_QTreeView
 |  | FALSE | evaluated 90 times by 5 tests Evaluated by:tst_QAbstractAnimationtst_QParallelAnimationGrouptst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QTreeWidget
 | 
 | 10-90 | 
| 1179 |  | - | 
| 1180 | QAnimationTimer::updateAnimationTimer(); executed 10 times by 2 tests:  QAnimationTimer::updateAnimationTimer();Executed by:tst_QPauseAnimationtst_QTreeView
 | 10 | 
| 1181 |  | - | 
| 1182 | emit directionChanged(direction); | - | 
| 1183 | } executed 100 times by 7 tests:  end of blockExecuted by:tst_QAbstractAnimationtst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QTreeViewtst_QTreeWidget
 | 100 | 
| 1184 |  | - | 
| 1185 |  | - | 
| 1186 |  | - | 
| 1187 |  | - | 
| 1188 |  | - | 
| 1189 |  | - | 
| 1190 |  | - | 
| 1191 |  | - | 
| 1192 |  | - | 
| 1193 |  | - | 
| 1194 |  | - | 
| 1195 |  | - | 
| 1196 |  | - | 
| 1197 |  | - | 
| 1198 |  | - | 
| 1199 |  | - | 
| 1200 |  | - | 
| 1201 |  | - | 
| 1202 |  | - | 
| 1203 |  | - | 
| 1204 |  | - | 
| 1205 |  | - | 
| 1206 | int QAbstractAnimation::loopCount() const | - | 
| 1207 | { | - | 
| 1208 | Q_D(const QAbstractAnimation); | - | 
| 1209 | return d->loopCount; executed 8171 times by 8 tests:  return d->loopCount;Executed by:tst_QAbstractAnimationtst_QAnimationGrouptst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeWidget
 | 8171 | 
| 1210 | } | - | 
| 1211 | void QAbstractAnimation::setLoopCount(int loopCount) | - | 
| 1212 | { | - | 
| 1213 | Q_D(QAbstractAnimation); | - | 
| 1214 | d->loopCount = loopCount; | - | 
| 1215 | } executed 146 times by 6 tests:  end of blockExecuted by:tst_QAbstractAnimationtst_QAnimationGrouptst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGroup
 | 146 | 
| 1216 |  | - | 
| 1217 |  | - | 
| 1218 |  | - | 
| 1219 |  | - | 
| 1220 |  | - | 
| 1221 |  | - | 
| 1222 |  | - | 
| 1223 |  | - | 
| 1224 |  | - | 
| 1225 |  | - | 
| 1226 |  | - | 
| 1227 |  | - | 
| 1228 |  | - | 
| 1229 |  | - | 
| 1230 | int QAbstractAnimation::currentLoop() const | - | 
| 1231 | { | - | 
| 1232 | Q_D(const QAbstractAnimation); | - | 
| 1233 | return d->currentLoop; executed 138 times by 7 tests:  return d->currentLoop;Executed by:tst_QAbstractAnimationtst_QAnimationGrouptst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QStateMachine
 | 138 | 
| 1234 | } | - | 
| 1235 |  | - | 
| 1236 |  | - | 
| 1237 |  | - | 
| 1238 |  | - | 
| 1239 |  | - | 
| 1240 |  | - | 
| 1241 |  | - | 
| 1242 |  | - | 
| 1243 |  | - | 
| 1244 |  | - | 
| 1245 |  | - | 
| 1246 |  | - | 
| 1247 |  | - | 
| 1248 |  | - | 
| 1249 |  | - | 
| 1250 |  | - | 
| 1251 |  | - | 
| 1252 |  | - | 
| 1253 |  | - | 
| 1254 |  | - | 
| 1255 |  | - | 
| 1256 |  | - | 
| 1257 |  | - | 
| 1258 |  | - | 
| 1259 |  | - | 
| 1260 | int QAbstractAnimation::totalDuration() const | - | 
| 1261 | { | - | 
| 1262 | int dura = duration(); | - | 
| 1263 | if (dura <= 0) | TRUE | evaluated 1192 times by 5 tests Evaluated by:tst_QAnimationGrouptst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGroup
 |  | FALSE | evaluated 8001 times by 8 tests Evaluated by:tst_QAbstractAnimationtst_QAnimationGrouptst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeWidget
 | 
 | 1192-8001 | 
| 1264 | return dura; executed 1192 times by 5 tests:  return dura;Executed by:tst_QAnimationGrouptst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGroup
 | 1192 | 
| 1265 | int loopcount = loopCount(); | - | 
| 1266 | if (loopcount < 0) | TRUE | evaluated 32 times by 4 tests Evaluated by:tst_QAnimationGrouptst_QParallelAnimationGrouptst_QPropertyAnimationtst_QSequentialAnimationGroup
 |  | FALSE | evaluated 7969 times by 8 tests Evaluated by:tst_QAbstractAnimationtst_QAnimationGrouptst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeWidget
 | 
 | 32-7969 | 
| 1267 | return -1; executed 32 times by 4 tests:  return -1;Executed by:tst_QAnimationGrouptst_QParallelAnimationGrouptst_QPropertyAnimationtst_QSequentialAnimationGroup
 | 32 | 
| 1268 | return dura * loopcount; executed 7969 times by 8 tests:  return dura * loopcount;Executed by:tst_QAbstractAnimationtst_QAnimationGrouptst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeWidget
 | 7969 | 
| 1269 | } | - | 
| 1270 |  | - | 
| 1271 |  | - | 
| 1272 |  | - | 
| 1273 |  | - | 
| 1274 |  | - | 
| 1275 |  | - | 
| 1276 |  | - | 
| 1277 | int QAbstractAnimation::currentLoopTime() const | - | 
| 1278 | { | - | 
| 1279 | Q_D(const QAbstractAnimation); | - | 
| 1280 | return d->currentTime; executed 483 times by 6 tests:  return d->currentTime;Executed by:tst_QAbstractAnimationtst_QAnimationGrouptst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGroup
 | 483 | 
| 1281 | } | - | 
| 1282 |  | - | 
| 1283 |  | - | 
| 1284 |  | - | 
| 1285 |  | - | 
| 1286 |  | - | 
| 1287 |  | - | 
| 1288 |  | - | 
| 1289 |  | - | 
| 1290 |  | - | 
| 1291 |  | - | 
| 1292 |  | - | 
| 1293 |  | - | 
| 1294 |  | - | 
| 1295 |  | - | 
| 1296 | int QAbstractAnimation::currentTime() const | - | 
| 1297 | { | - | 
| 1298 | Q_D(const QAbstractAnimation); | - | 
| 1299 | return d->totalCurrentTime; executed 142 times by 8 tests:  return d->totalCurrentTime;Executed by:tst_QAbstractAnimationtst_QAnimationGrouptst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QStateMachine
 | 142 | 
| 1300 | } | - | 
| 1301 | void QAbstractAnimation::setCurrentTime(int msecs) | - | 
| 1302 | { | - | 
| 1303 | Q_D(QAbstractAnimation); | - | 
| 1304 | msecs = qMax(msecs, 0); | - | 
| 1305 |  | - | 
| 1306 |  | - | 
| 1307 | int dura = duration(); | - | 
| 1308 | int totalDura = dura <= 0 ? dura : ((d->loopCount < 0) ? -1 : dura * d->loopCount); | TRUE | evaluated 1306 times by 22 tests Evaluated by:tst_Gesturestst_QAccessibilitytst_QAnimationGrouptst_QDockWidgettst_QGraphicsProxyWidgettst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStyleSheetStyletst_QToolBartst_QWidgettst_QWidget_windowtst_QWindowContainer
 |  | FALSE | evaluated 3855 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QAnimationGrouptst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeViewtst_QTreeWidget
 | 
| TRUE | evaluated 37 times by 4 tests Evaluated by:tst_QAnimationGrouptst_QParallelAnimationGrouptst_QPropertyAnimationtst_QSequentialAnimationGroup
 |  | FALSE | evaluated 3818 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QAnimationGrouptst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeViewtst_QTreeWidget
 | 
 | 37-3855 | 
| 1309 | if (totalDura != -1) | TRUE | evaluated 4819 times by 26 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidgettst_QWidgettst_QWidget_window...
 |  | FALSE | evaluated 342 times by 6 tests Evaluated by:tst_QAnimationGrouptst_QParallelAnimationGrouptst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGroup
 | 
 | 342-4819 | 
| 1310 | msecs = qMin(totalDura, msecs); executed 4819 times by 26 tests:  msecs = qMin(totalDura, msecs);Executed by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidgettst_QWidgettst_QWidget_window...
 | 4819 | 
| 1311 | d->totalCurrentTime = msecs; | - | 
| 1312 |  | - | 
| 1313 |  | - | 
| 1314 | int oldLoop = d->currentLoop; | - | 
| 1315 | d->currentLoop = ((dura <= 0) ? 0 : (msecs / dura)); | TRUE | evaluated 1306 times by 22 tests Evaluated by:tst_Gesturestst_QAccessibilitytst_QAnimationGrouptst_QDockWidgettst_QGraphicsProxyWidgettst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStyleSheetStyletst_QToolBartst_QWidgettst_QWidget_windowtst_QWindowContainer
 |  | FALSE | evaluated 3855 times by 12 tests Evaluated by:tst_QAbstractAnimationtst_QAnimationGrouptst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeViewtst_QTreeWidget
 | 
 | 1306-3855 | 
| 1316 | if (d->currentLoop == d->loopCount) { | TRUE | evaluated 415 times by 11 tests Evaluated by:tst_QAbstractAnimationtst_QAnimationGrouptst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeWidget
 |  | FALSE | evaluated 4746 times by 27 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidget...
 | 
 | 415-4746 | 
| 1317 |  | - | 
| 1318 | d->currentTime = qMax(0, dura); | - | 
| 1319 | d->currentLoop = qMax(0, d->loopCount - 1); | - | 
| 1320 | } else { executed 415 times by 11 tests:  end of blockExecuted by:tst_QAbstractAnimationtst_QAnimationGrouptst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeWidget
 | 415 | 
| 1321 | if (d->direction == Forward) { | TRUE | evaluated 4513 times by 27 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidget...
 |  | FALSE | evaluated 233 times by 5 tests Evaluated by:tst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QTreeView
 | 
 | 233-4513 | 
| 1322 | d->currentTime = (dura <= 0) ? msecs : (msecs % dura); | TRUE | evaluated 1276 times by 22 tests Evaluated by:tst_Gesturestst_QAccessibilitytst_QAnimationGrouptst_QDockWidgettst_QGraphicsProxyWidgettst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStyleSheetStyletst_QToolBartst_QWidgettst_QWidget_windowtst_QWindowContainer
 |  | FALSE | evaluated 3237 times by 11 tests Evaluated by:tst_QAbstractAnimationtst_QAnimationGrouptst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 
 | 1276-3237 | 
| 1323 | } else { executed 4513 times by 27 tests:  end of blockExecuted by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidget...
 | 4513 | 
| 1324 | d->currentTime = (dura <= 0) ? msecs : ((msecs - 1) % dura) + 1; | TRUE | evaluated 30 times by 2 tests Evaluated by:tst_QParallelAnimationGrouptst_QPropertyAnimation
 |  | FALSE | evaluated 203 times by 5 tests Evaluated by:tst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QTreeView
 | 
 | 30-203 | 
| 1325 | if (d->currentTime == dura) | TRUE | evaluated 46 times by 2 tests Evaluated by:tst_QParallelAnimationGrouptst_QPropertyAnimation
 |  | FALSE | evaluated 187 times by 5 tests Evaluated by:tst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QTreeView
 | 
 | 46-187 | 
| 1326 | --d->currentLoop; executed 46 times by 2 tests:  --d->currentLoop;Executed by:tst_QParallelAnimationGrouptst_QPropertyAnimation
 | 46 | 
| 1327 | } executed 233 times by 5 tests:  end of blockExecuted by:tst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QTreeView
 | 233 | 
| 1328 | } | - | 
| 1329 |  | - | 
| 1330 | updateCurrentTime(d->currentTime); | - | 
| 1331 | if (d->currentLoop != oldLoop) | TRUE | evaluated 237 times by 5 tests Evaluated by:tst_QAnimationGrouptst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGroup
 |  | FALSE | evaluated 4924 times by 28 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 
 | 237-4924 | 
| 1332 | emit currentLoopChanged(d->currentLoop); executed 237 times by 5 tests:  currentLoopChanged(d->currentLoop);Executed by:tst_QAnimationGrouptst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGroup
 | 237 | 
| 1333 |  | - | 
| 1334 |  | - | 
| 1335 |  | - | 
| 1336 |  | - | 
| 1337 | if ((d->direction == Forward && d->totalCurrentTime == totalDura) | TRUE | evaluated 4851 times by 27 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidget...
 |  | FALSE | evaluated 310 times by 6 tests Evaluated by:tst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QTreeViewtst_QTreeWidget
 | 
| TRUE | evaluated 1307 times by 24 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QWidgettst_QWidget_windowtst_QWindowContainer
 |  | FALSE | evaluated 3544 times by 13 tests Evaluated by:tst_QAbstractAnimationtst_QAnimationGrouptst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 
 | 310-4851 | 
| 1338 | || (d->direction == Backward && d->totalCurrentTime == 0)) { | TRUE | evaluated 310 times by 6 tests Evaluated by:tst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QTreeViewtst_QTreeWidget
 |  | FALSE | evaluated 3544 times by 13 tests Evaluated by:tst_QAbstractAnimationtst_QAnimationGrouptst_QColumnViewtst_QLineEdittst_QMainWindowtst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 
| TRUE | evaluated 74 times by 5 tests Evaluated by:tst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QTreeView
 |  | FALSE | evaluated 236 times by 4 tests Evaluated by:tst_QParallelAnimationGrouptst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QTreeWidget
 | 
 | 74-3544 | 
| 1339 | stop(); | - | 
| 1340 | } executed 1381 times by 25 tests:  end of blockExecuted by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidgettst_QWidget_windowtst_QWindowContainer
 | 1381 | 
| 1341 | } executed 5161 times by 28 tests:  end of blockExecuted by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 5161 | 
| 1342 |  | - | 
| 1343 |  | - | 
| 1344 |  | - | 
| 1345 |  | - | 
| 1346 |  | - | 
| 1347 |  | - | 
| 1348 |  | - | 
| 1349 |  | - | 
| 1350 |  | - | 
| 1351 |  | - | 
| 1352 |  | - | 
| 1353 |  | - | 
| 1354 |  | - | 
| 1355 |  | - | 
| 1356 |  | - | 
| 1357 |  | - | 
| 1358 |  | - | 
| 1359 | void QAbstractAnimation::start(DeletionPolicy policy) | - | 
| 1360 | { | - | 
| 1361 | Q_D(QAbstractAnimation); | - | 
| 1362 | if (d->state == Running) | TRUE | evaluated 476 times by 7 tests Evaluated by:tst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 |  | FALSE | evaluated 1534 times by 28 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 
 | 476-1534 | 
| 1363 | return; executed 476 times by 7 tests:  return;Executed by:tst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachinetst_QTreeView
 | 476 | 
| 1364 | d->deleteWhenStopped = policy; | - | 
| 1365 | d->setState(Running); | - | 
| 1366 | } executed 1534 times by 28 tests:  end of blockExecuted by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QTreeWidget...
 | 1534 | 
| 1367 |  | - | 
| 1368 |  | - | 
| 1369 |  | - | 
| 1370 |  | - | 
| 1371 |  | - | 
| 1372 |  | - | 
| 1373 |  | - | 
| 1374 |  | - | 
| 1375 |  | - | 
| 1376 |  | - | 
| 1377 |  | - | 
| 1378 | void QAbstractAnimation::stop() | - | 
| 1379 | { | - | 
| 1380 | Q_D(QAbstractAnimation); | - | 
| 1381 |  | - | 
| 1382 | if (d->state == Stopped) | TRUE | evaluated 2742 times by 26 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QWidgettst_QWidget_windowtst_QWindowContainer...
 |  | FALSE | evaluated 1440 times by 26 tests Evaluated by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidgettst_QWidget_window...
 | 
 | 1440-2742 | 
| 1383 | return; executed 2742 times by 26 tests:  return;Executed by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QWidgettst_QWidget_windowtst_QWindowContainer...
 | 2742 | 
| 1384 |  | - | 
| 1385 | d->setState(Stopped); | - | 
| 1386 | } executed 1440 times by 26 tests:  end of blockExecuted by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QColumnViewtst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QTreeViewtst_QWidgettst_QWidget_window...
 | 1440 | 
| 1387 |  | - | 
| 1388 |  | - | 
| 1389 |  | - | 
| 1390 |  | - | 
| 1391 |  | - | 
| 1392 |  | - | 
| 1393 |  | - | 
| 1394 |  | - | 
| 1395 | void QAbstractAnimation::pause() | - | 
| 1396 | { | - | 
| 1397 | Q_D(QAbstractAnimation); | - | 
| 1398 | if (d->state == Stopped) { | TRUE | evaluated 2 times by 2 tests Evaluated by:tst_QAnimationGrouptst_QPropertyAnimation
 |  | FALSE | evaluated 59 times by 4 tests Evaluated by:tst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGroup
 | 
 | 2-59 | 
| 1399 | qWarning("QAbstractAnimation::pause: Cannot pause a stopped animation"); | - | 
| 1400 | return; executed 2 times by 2 tests:  return;Executed by:tst_QAnimationGrouptst_QPropertyAnimation
 | 2 | 
| 1401 | } | - | 
| 1402 |  | - | 
| 1403 | d->setState(Paused); | - | 
| 1404 | } executed 59 times by 4 tests:  end of blockExecuted by:tst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QSequentialAnimationGroup
 | 59 | 
| 1405 |  | - | 
| 1406 |  | - | 
| 1407 |  | - | 
| 1408 |  | - | 
| 1409 |  | - | 
| 1410 |  | - | 
| 1411 |  | - | 
| 1412 |  | - | 
| 1413 | void QAbstractAnimation::resume() | - | 
| 1414 | { | - | 
| 1415 | Q_D(QAbstractAnimation); | - | 
| 1416 | if (d->state != Paused) { | TRUE | evaluated 2 times by 1 test |  | FALSE | evaluated 5 times by 3 tests Evaluated by:tst_QParallelAnimationGrouptst_QPropertyAnimationtst_QSequentialAnimationGroup
 | 
 | 2-5 | 
| 1417 | qWarning("QAbstractAnimation::resume: " | - | 
| 1418 | "Cannot resume an animation that is not paused"); | - | 
| 1419 | return; executed 2 times by 1 test:  return; | 2 | 
| 1420 | } | - | 
| 1421 |  | - | 
| 1422 | d->setState(Running); | - | 
| 1423 | } executed 5 times by 3 tests:  end of blockExecuted by:tst_QParallelAnimationGrouptst_QPropertyAnimationtst_QSequentialAnimationGroup
 | 5 | 
| 1424 |  | - | 
| 1425 |  | - | 
| 1426 |  | - | 
| 1427 |  | - | 
| 1428 |  | - | 
| 1429 |  | - | 
| 1430 |  | - | 
| 1431 | void QAbstractAnimation::setPaused(bool paused) | - | 
| 1432 | { | - | 
| 1433 | if (paused) | TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 1434 | pause(); never executed: pause(); | 0 | 
| 1435 | else | - | 
| 1436 | resume(); never executed: resume(); | 0 | 
| 1437 | } | - | 
| 1438 |  | - | 
| 1439 |  | - | 
| 1440 |  | - | 
| 1441 |  | - | 
| 1442 |  | - | 
| 1443 | bool QAbstractAnimation::event(QEvent *event) | - | 
| 1444 | { | - | 
| 1445 | return QObject::event(event); executed 1235 times by 23 tests:  return QObject::event(event);Executed by:tst_Gesturestst_QAbstractAnimationtst_QAccessibilitytst_QAnimationGrouptst_QDockWidgettst_QGraphicsProxyWidgettst_QLineEdittst_QMainWindowtst_QMdiAreatst_QMdiSubWindowtst_QMenutst_QParallelAnimationGrouptst_QPauseAnimationtst_QPrintertst_QPropertyAnimationtst_QSequentialAnimationGrouptst_QShortcuttst_QStateMachinetst_QStyleSheetStyletst_QToolBartst_QWidgettst_QWidget_windowtst_QWindowContainer
 | 1235 | 
| 1446 | } | - | 
| 1447 |  | - | 
| 1448 |  | - | 
| 1449 |  | - | 
| 1450 |  | - | 
| 1451 |  | - | 
| 1452 |  | - | 
| 1453 |  | - | 
| 1454 |  | - | 
| 1455 |  | - | 
| 1456 |  | - | 
| 1457 |  | - | 
| 1458 |  | - | 
| 1459 |  | - | 
| 1460 |  | - | 
| 1461 |  | - | 
| 1462 |  | - | 
| 1463 | void QAbstractAnimation::updateState(QAbstractAnimation::State newState, | - | 
| 1464 | QAbstractAnimation::State oldState) | - | 
| 1465 | { | - | 
| 1466 | Q_UNUSED(oldState); | - | 
| 1467 | Q_UNUSED(newState); | - | 
| 1468 | } executed 304 times by 9 tests:  end of blockExecuted by:tst_QAbstractAnimationtst_QAnimationGrouptst_QParallelAnimationGrouptst_QPauseAnimationtst_QProgressBartst_QPropertyAnimationtst_QScrollertst_QSequentialAnimationGrouptst_QStateMachine
 | 304 | 
| 1469 |  | - | 
| 1470 |  | - | 
| 1471 |  | - | 
| 1472 |  | - | 
| 1473 |  | - | 
| 1474 |  | - | 
| 1475 |  | - | 
| 1476 | void QAbstractAnimation::updateDirection(QAbstractAnimation::Direction direction) | - | 
| 1477 | { | - | 
| 1478 | Q_UNUSED(direction); | - | 
| 1479 | } executed 79 times by 6 tests:  end of blockExecuted by:tst_QAbstractAnimationtst_QParallelAnimationGrouptst_QPauseAnimationtst_QPropertyAnimationtst_QTreeViewtst_QTreeWidget
 | 79 | 
| 1480 |  | - | 
| 1481 |  | - | 
| 1482 | QT_END_NAMESPACE | - | 
| 1483 |  | - | 
| 1484 | #include "moc_qabstractanimation.cpp" | - | 
| 1485 |  | - | 
| 1486 | #endif //QT_NO_ANIMATION | - | 
|  |  |  |