OpenCoverage

qabstractanimationjob.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/animations/qabstractanimationjob.cpp
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2**-
3** Copyright (C) 2016 The Qt Company Ltd.-
4** Contact: https://www.qt.io/licensing/-
5**-
6** This file is part of the QtQml module of the Qt Toolkit.-
7**-
8** $QT_BEGIN_LICENSE:LGPL$-
9** Commercial License Usage-
10** Licensees holding valid commercial Qt licenses may use this file in-
11** accordance with the commercial license agreement provided with the-
12** Software or, alternatively, in accordance with the terms contained in-
13** a written agreement between you and The Qt Company. For licensing terms-
14** and conditions see https://www.qt.io/terms-conditions. For further-
15** information use the contact form at https://www.qt.io/contact-us.-
16**-
17** GNU Lesser General Public License Usage-
18** Alternatively, this file may be used under the terms of the GNU Lesser-
19** General Public License version 3 as published by the Free Software-
20** Foundation and appearing in the file LICENSE.LGPL3 included in the-
21** packaging of this file. Please review the following information to-
22** ensure the GNU Lesser General Public License version 3 requirements-
23** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.-
24**-
25** GNU General Public License Usage-
26** Alternatively, this file may be used under the terms of the GNU-
27** General Public License version 2.0 or (at your option) the GNU General-
28** Public license version 3 or any later version approved by the KDE Free-
29** Qt Foundation. The licenses are as published by the Free Software-
30** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3-
31** included in the packaging of this file. Please review the following-
32** information to ensure the GNU General Public License requirements will-
33** be met: https://www.gnu.org/licenses/gpl-2.0.html and-
34** https://www.gnu.org/licenses/gpl-3.0.html.-
35**-
36** $QT_END_LICENSE$-
37**-
38****************************************************************************/-
39-
40#include <QtCore/qthreadstorage.h>-
41-
42#include "private/qabstractanimationjob_p.h"-
43#include "private/qanimationgroupjob_p.h"-
44#include "private/qanimationjobutil_p.h"-
45#include "private/qqmlengine_p.h"-
46#include "private/qqmlglobal_p.h"-
47-
48#define DEFAULT_TIMER_INTERVAL 16-
49-
50QT_BEGIN_NAMESPACE-
51-
52#ifndef QT_NO_THREAD-
53Q_GLOBAL_STATIC(QThreadStorage<QQmlAnimationTimer *>, animationTimer)
executed 104 times by 43 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
executed 104 times by 43 tests: guard.store(QtGlobalStatic::Destroyed);
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
executed 340714 times by 43 tests: return &holder.value;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
guard.load() =...c::InitializedDescription
TRUEevaluated 104 times by 43 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
FALSEnever evaluated
0-340714
54#endif-
55-
56DEFINE_BOOL_CONFIG_OPTION(animationTickDump, QML_ANIMATION_TICK_DUMP);
never executed: status = Yes;
never executed: end of block
executed 70 times by 33 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • ...
executed 36448 times by 33 tests: return status == Yes;
Executed by:
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • ...
status == UnknownDescription
TRUEevaluated 70 times by 33 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • ...
FALSEevaluated 36378 times by 28 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • ...
__builtin_expe...UMP")), false)Description
TRUEnever evaluated
FALSEevaluated 70 times by 33 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • ...
v != "0"Description
TRUEnever evaluated
FALSEnever evaluated
v != "false"Description
TRUEnever evaluated
FALSEnever evaluated
0-36448
57-
58QAnimationJobChangeListener::~QAnimationJobChangeListener()-
59{-
60}-
61-
62QQmlAnimationTimer::QQmlAnimationTimer() :-
63 QAbstractAnimationTimer(), lastTick(0),-
64 currentAnimationIdx(0), insideTick(false),-
65 startAnimationPending(false), stopTimerPending(false),-
66 runningLeafAnimations(0)-
67{-
68}
executed 104 times by 43 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
104
69-
70QQmlAnimationTimer *QQmlAnimationTimer::instance(bool create)-
71{-
72 QQmlAnimationTimer *inst;-
73#ifndef QT_NO_THREAD-
74 if (create && !animationTimer()->hasLocalData()) {
createDescription
TRUEevaluated 113606 times by 43 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
FALSEnever evaluated
!animationTime...hasLocalData()Description
TRUEevaluated 104 times by 43 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
FALSEevaluated 113502 times by 35 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmldebugjs
  • tst_qqmllistmodel
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • ...
0-113606
75 inst = new QQmlAnimationTimer;-
76 animationTimer()->setLocalData(inst);-
77 } else {
executed 104 times by 43 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
104
78 inst = animationTimer() ? animationTimer()->localData() : 0;
animationTimer()Description
TRUEevaluated 113502 times by 35 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmldebugjs
  • tst_qqmllistmodel
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • ...
FALSEnever evaluated
0-113502
79 }
executed 113502 times by 35 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmldebugjs
  • tst_qqmllistmodel
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • ...
113502
80#else-
81 static QQmlAnimationTimer unifiedTimer;-
82 inst = &unifiedTimer;-
83#endif-
84 return inst;
executed 113606 times by 43 tests: return inst;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
113606
85}-
86-
87QQmlAnimationTimer *QQmlAnimationTimer::instance()-
88{-
89 return instance(true);
executed 113606 times by 43 tests: return instance(true);
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
113606
90}-
91-
92void QQmlAnimationTimer::ensureTimerUpdate()-
93{-
94 QUnifiedTimer *instU = QUnifiedTimer::instance(false);-
95 if (instU && isPaused)
instUDescription
TRUEevaluated 30348 times by 30 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmldebugjs
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquicksmoothedanimation
  • ...
FALSEevaluated 136 times by 32 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlpropertymap
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickimage
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • ...
isPausedDescription
TRUEevaluated 4807 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qpauseanimationjob
  • tst_qqmltimer
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickspringanimation
  • tst_qquicktaphandler
FALSEevaluated 25541 times by 29 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmldebugjs
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • ...
136-30348
96 instU->updateAnimationTimers(-1);
executed 4807 times by 8 tests: instU->updateAnimationTimers(-1);
Executed by:
  • tst_examples
  • tst_qpauseanimationjob
  • tst_qqmltimer
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickspringanimation
  • tst_qquicktaphandler
4807
97}
executed 30484 times by 40 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
30484
98-
99void QQmlAnimationTimer::updateAnimationsTime(qint64 delta)-
100{-
101 //setCurrentTime can get this called again while we're the for loop. At least with pauseAnimations-
102 if (insideTick)
insideTickDescription
TRUEnever evaluated
FALSEevaluated 36448 times by 33 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • ...
0-36448
103 return;
never executed: return;
0
104-
105 lastTick += delta;-
106-
107 //we make sure we only call update time if the time has actually changed-
108 //it might happen in some cases that the time doesn't change because events are delayed-
109 //when the CPU load is high-
110 if (delta) {
deltaDescription
TRUEevaluated 36448 times by 33 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • ...
FALSEnever evaluated
0-36448
111 insideTick = true;-
112 for (currentAnimationIdx = 0; currentAnimationIdx < animations.count(); ++currentAnimationIdx) {
currentAnimati...ations.count()Description
TRUEevaluated 71218 times by 33 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • ...
FALSEevaluated 36448 times by 33 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • ...
36448-71218
113 QAbstractAnimationJob *animation = animations.at(currentAnimationIdx);-
114 int elapsed = animation->m_totalCurrentTime-
115 + (animation->direction() == QAbstractAnimationJob::Forward ? delta : -delta);
animation->dir...onJob::ForwardDescription
TRUEevaluated 71178 times by 33 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • ...
FALSEevaluated 40 times by 2 tests
Evaluated by:
  • tst_qpauseanimationjob
  • tst_qquickanimations
40-71178
116 animation->setCurrentTime(elapsed);-
117 }
executed 71218 times by 33 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • ...
71218
118 if (animationTickDump()) {
animationTickDump()Description
TRUEnever evaluated
FALSEevaluated 36448 times by 33 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • ...
0-36448
119 qDebug() << "***** Dumping Animation Tree ***** ( tick:" << lastTick << "delta:" << delta << ")";-
120 for (int i = 0; i < animations.count(); ++i)
i < animations.count()Description
TRUEnever evaluated
FALSEnever evaluated
0
121 qDebug() << animations.at(i);
never executed: QMessageLogger(__FILE__, 121, __PRETTY_FUNCTION__).debug() << animations.at(i);
0
122 }
never executed: end of block
0
123 insideTick = false;-
124 currentAnimationIdx = 0;-
125 }
executed 36448 times by 33 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • ...
36448
126}
executed 36448 times by 33 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • ...
36448
127-
128void QQmlAnimationTimer::updateAnimationTimer()-
129{-
130 restartAnimationTimer();-
131}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qpauseanimationjob
2
132-
133void QQmlAnimationTimer::restartAnimationTimer()-
134{-
135 if (runningLeafAnimations == 0 && !runningPauseAnimations.isEmpty())
runningLeafAnimations == 0Description
TRUEevaluated 2624 times by 32 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • tst_qquickpositioners
  • ...
FALSEevaluated 42104 times by 23 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquickvisualdatamodel
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
!runningPauseA...ions.isEmpty()Description
TRUEevaluated 693 times by 24 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • tst_qquickvisualdatamodel
  • tst_qsequentialanimationgroupjob
FALSEevaluated 1931 times by 28 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquicksmoothedanimation
  • ...
693-42104
136 QUnifiedTimer::pauseAnimationTimer(this, closestPauseAnimationTimeToFinish());
executed 693 times by 24 tests: QUnifiedTimer::pauseAnimationTimer(this, closestPauseAnimationTimeToFinish());
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • tst_qquickvisualdatamodel
  • tst_qsequentialanimationgroupjob
693
137 else if (isPaused)
isPausedDescription
TRUEevaluated 158 times by 17 tests
Evaluated by:
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickparticlesystem
  • tst_qquickrepeater
  • tst_qquickspringanimation
  • tst_qsequentialanimationgroupjob
FALSEevaluated 43877 times by 23 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquickvisualdatamodel
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
158-43877
138 QUnifiedTimer::resumeAnimationTimer(this);
executed 158 times by 17 tests: QUnifiedTimer::resumeAnimationTimer(this);
Executed by:
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickparticlesystem
  • tst_qquickrepeater
  • tst_qquickspringanimation
  • tst_qsequentialanimationgroupjob
158
139 else if (!isRegistered)
!isRegisteredDescription
TRUEevaluated 2315 times by 23 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquickvisualdatamodel
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
FALSEevaluated 41562 times by 22 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquickvisualdatamodel
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
2315-41562
140 QUnifiedTimer::startAnimationTimer(this);
executed 2315 times by 23 tests: QUnifiedTimer::startAnimationTimer(this);
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquickvisualdatamodel
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
2315
141}
executed 44728 times by 35 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • ...
44728
142-
143void QQmlAnimationTimer::startAnimations()-
144{-
145 if (!startAnimationPending)
!startAnimationPendingDescription
TRUEevaluated 32 times by 3 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmultipointtoucharea
FALSEevaluated 12574 times by 35 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • ...
32-12574
146 return;
executed 32 times by 3 tests: return;
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmultipointtoucharea
32
147 startAnimationPending = false;-
148 //force timer to update, which prevents large deltas for our newly added animations-
149 QUnifiedTimer::instance()->maybeUpdateAnimationsToCurrentTime();-
150-
151 //we transfer the waiting animations into the "really running" state-
152 animations += animationsToStart;-
153 animationsToStart.clear();-
154 if (!animations.isEmpty())
!animations.isEmpty()Description
TRUEevaluated 8683 times by 35 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • ...
FALSEevaluated 3891 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_qpauseanimationjob
  • tst_qqmltypeloader
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquickvisualdatamodel
3891-8683
155 restartAnimationTimer();
executed 8683 times by 35 tests: restartAnimationTimer();
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • ...
8683
156}
executed 12574 times by 35 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • ...
12574
157-
158void QQmlAnimationTimer::stopTimer()-
159{-
160 stopTimerPending = false;-
161 bool pendingStart = startAnimationPending && animationsToStart.size() > 0;
startAnimationPendingDescription
TRUEevaluated 3470 times by 23 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquickvisualdatamodel
  • tst_qsequentialanimationgroupjob
FALSEevaluated 2121 times by 31 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • tst_qquickpositioners
  • ...
animationsToStart.size() > 0Description
TRUEevaluated 2504 times by 19 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmltimer
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qsequentialanimationgroupjob
FALSEevaluated 966 times by 9 tests
Evaluated by:
  • tst_examples
  • tst_qqmltypeloader
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickvisualdatamodel
966-3470
162 if (animations.isEmpty() && !pendingStart) {
animations.isEmpty()Description
TRUEevaluated 5232 times by 34 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickparticlesystem
  • ...
FALSEevaluated 359 times by 5 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
!pendingStartDescription
TRUEevaluated 2728 times by 32 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • tst_qquickpositioners
  • ...
FALSEevaluated 2504 times by 19 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmltimer
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qsequentialanimationgroupjob
359-5232
163 QUnifiedTimer::resumeAnimationTimer(this);-
164 QUnifiedTimer::stopAnimationTimer(this);-
165 // invalidate the start reference time-
166 lastTick = 0;-
167 }
executed 2728 times by 32 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • tst_qquickpositioners
  • ...
2728
168}
executed 5591 times by 34 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickparticlesystem
  • ...
5591
169-
170void QQmlAnimationTimer::registerAnimation(QAbstractAnimationJob *animation, bool isTopLevel)-
171{-
172 if (animation->userControlDisabled())
animation->use...trolDisabled()Description
TRUEevaluated 154 times by 1 test
Evaluated by:
  • tst_qquickanimationcontroller
FALSEevaluated 139344 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
154-139344
173 return;
executed 154 times by 1 test: return;
Executed by:
  • tst_qquickanimationcontroller
154
174-
175 registerRunningAnimation(animation);-
176 if (isTopLevel) {
isTopLevelDescription
TRUEevaluated 68710 times by 39 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • ...
FALSEevaluated 70634 times by 18 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
68710-70634
177 Q_ASSERT(!animation->m_hasRegisteredTimer);-
178 animation->m_hasRegisteredTimer = true;-
179 animationsToStart << animation;-
180 if (!startAnimationPending) {
!startAnimationPendingDescription
TRUEevaluated 12594 times by 39 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • ...
FALSEevaluated 56116 times by 24 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmllistmodel
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquickvisualdatamodel
  • tst_qsequentialanimationgroupjob
12594-56116
181 startAnimationPending = true;-
182 QMetaObject::invokeMethod(this, "startAnimations", Qt::QueuedConnection);-
183 }
executed 12594 times by 39 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • ...
12594
184 }
executed 68710 times by 39 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • ...
68710
185}
executed 139344 times by 40 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
139344
186-
187void QQmlAnimationTimer::unregisterAnimation(QAbstractAnimationJob *animation)-
188{-
189 unregisterRunningAnimation(animation);-
190-
191 if (!animation->m_hasRegisteredTimer)
!animation->m_...egisteredTimerDescription
TRUEevaluated 70898 times by 18 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
FALSEevaluated 68704 times by 38 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • ...
68704-70898
192 return;
executed 70898 times by 18 tests: return;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
70898
193-
194 int idx = animations.indexOf(animation);-
195 if (idx != -1) {
idx != -1Description
TRUEevaluated 18907 times by 35 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • ...
FALSEevaluated 49797 times by 24 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmllistmodel
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquickvisualdatamodel
  • tst_qsequentialanimationgroupjob
18907-49797
196 animations.removeAt(idx);-
197 // this is needed if we unregister an animation while its running-
198 if (idx <= currentAnimationIdx)
idx <= currentAnimationIdxDescription
TRUEevaluated 13536 times by 35 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • ...
FALSEevaluated 5371 times by 15 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qquickanimations
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquicktaphandler
  • tst_qquickvisualdatamodel
5371-13536
199 --currentAnimationIdx;
executed 13536 times by 35 tests: --currentAnimationIdx;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • ...
13536
200-
201 if (animations.isEmpty() && !stopTimerPending) {
animations.isEmpty()Description
TRUEevaluated 5619 times by 35 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • ...
FALSEevaluated 13288 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_qabstractanimationjob
  • tst_qpauseanimationjob
  • tst_qqmltimer
  • tst_qquickanimations
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • tst_qquickvisualdatamodel
!stopTimerPendingDescription
TRUEevaluated 5612 times by 35 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • ...
FALSEevaluated 7 times by 3 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmultipointtoucharea
7-13288
202 stopTimerPending = true;-
203 QMetaObject::invokeMethod(this, "stopTimer", Qt::QueuedConnection);-
204 }
executed 5612 times by 35 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • ...
5612
205 } else {
executed 18907 times by 35 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • ...
18907
206 animationsToStart.removeOne(animation);-
207 }
executed 49797 times by 24 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmllistmodel
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquickvisualdatamodel
  • tst_qsequentialanimationgroupjob
49797
208 animation->m_hasRegisteredTimer = false;-
209}
executed 68704 times by 38 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • ...
68704
210-
211void QQmlAnimationTimer::registerRunningAnimation(QAbstractAnimationJob *animation)-
212{-
213 Q_ASSERT(!animation->userControlDisabled());-
214-
215 if (animation->m_isGroup)
animation->m_isGroupDescription
TRUEevaluated 33788 times by 18 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
FALSEevaluated 105556 times by 39 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • ...
33788-105556
216 return;
executed 33788 times by 18 tests: return;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
33788
217-
218 if (animation->m_isPause) {
animation->m_isPauseDescription
TRUEevaluated 2814 times by 28 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickspringanimation
  • ...
FALSEevaluated 102742 times by 30 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmllistmodel
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • ...
2814-102742
219 runningPauseAnimations << animation;-
220 } else
executed 2814 times by 28 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickspringanimation
  • ...
2814
221 runningLeafAnimations++;
executed 102742 times by 30 tests: runningLeafAnimations++;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmllistmodel
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • ...
102742
222}-
223-
224void QQmlAnimationTimer::unregisterRunningAnimation(QAbstractAnimationJob *animation)-
225{-
226 if (animation->userControlDisabled())
animation->use...trolDisabled()Description
TRUEevaluated 266 times by 1 test
Evaluated by:
  • tst_qquickanimationcontroller
FALSEevaluated 139336 times by 39 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • ...
266-139336
227 return;
executed 266 times by 1 test: return;
Executed by:
  • tst_qquickanimationcontroller
266
228-
229 if (animation->m_isGroup)
animation->m_isGroupDescription
TRUEevaluated 33786 times by 18 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
FALSEevaluated 105550 times by 38 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • ...
33786-105550
230 return;
executed 33786 times by 18 tests: return;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
33786
231-
232 if (animation->m_isPause)
animation->m_isPauseDescription
TRUEevaluated 2810 times by 27 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • ...
FALSEevaluated 102740 times by 30 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmllistmodel
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • ...
2810-102740
233 runningPauseAnimations.removeOne(animation);
executed 2810 times by 27 tests: runningPauseAnimations.removeOne(animation);
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • ...
2810
234 else-
235 runningLeafAnimations--;
executed 102740 times by 30 tests: runningLeafAnimations--;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmllistmodel
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • ...
102740
236 Q_ASSERT(runningLeafAnimations >= 0);-
237}
executed 105550 times by 38 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • ...
105550
238-
239int QQmlAnimationTimer::closestPauseAnimationTimeToFinish()-
240{-
241 int closestTimeToFinish = INT_MAX;-
242 for (int i = 0; i < runningPauseAnimations.size(); ++i) {
i < runningPau...mations.size()Description
TRUEevaluated 778 times by 24 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • tst_qquickvisualdatamodel
  • tst_qsequentialanimationgroupjob
FALSEevaluated 693 times by 24 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • tst_qquickvisualdatamodel
  • tst_qsequentialanimationgroupjob
693-778
243 QAbstractAnimationJob *animation = runningPauseAnimations.at(i);-
244 int timeToFinish;-
245-
246 if (animation->direction() == QAbstractAnimationJob::Forward)
animation->dir...onJob::ForwardDescription
TRUEevaluated 776 times by 24 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • tst_qquickvisualdatamodel
  • tst_qsequentialanimationgroupjob
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qpauseanimationjob
2-776
247 timeToFinish = animation->duration() - animation->currentLoopTime();
executed 776 times by 24 tests: timeToFinish = animation->duration() - animation->currentLoopTime();
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • tst_qquickvisualdatamodel
  • tst_qsequentialanimationgroupjob
776
248 else-
249 timeToFinish = animation->currentLoopTime();
executed 2 times by 1 test: timeToFinish = animation->currentLoopTime();
Executed by:
  • tst_qpauseanimationjob
2
250-
251 if (timeToFinish < closestTimeToFinish)
timeToFinish <...stTimeToFinishDescription
TRUEevaluated 708 times by 24 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • tst_qquickvisualdatamodel
  • tst_qsequentialanimationgroupjob
FALSEevaluated 70 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qpauseanimationjob
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquicktaphandler
70-708
252 closestTimeToFinish = timeToFinish;
executed 708 times by 24 tests: closestTimeToFinish = timeToFinish;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • tst_qquickvisualdatamodel
  • tst_qsequentialanimationgroupjob
708
253 }
executed 778 times by 24 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • tst_qquickvisualdatamodel
  • tst_qsequentialanimationgroupjob
778
254 return closestTimeToFinish;
executed 693 times by 24 tests: return closestTimeToFinish;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • tst_qquickvisualdatamodel
  • tst_qsequentialanimationgroupjob
693
255}-
256-
257/////////////////////////////////////////////////////////////////////////////////////////////////////////-
258-
259QAbstractAnimationJob::QAbstractAnimationJob()-
260 : m_loopCount(1)-
261 , m_group(nullptr)-
262 , m_direction(QAbstractAnimationJob::Forward)-
263 , m_state(QAbstractAnimationJob::Stopped)-
264 , m_totalCurrentTime(0)-
265 , m_currentTime(0)-
266 , m_currentLoop(0)-
267 , m_uncontrolledFinishTime(-1)-
268 , m_currentLoopStartTime(0)-
269 , m_nextSibling(nullptr)-
270 , m_previousSibling(nullptr)-
271 , m_wasDeleted(nullptr)-
272 , m_hasRegisteredTimer(false)-
273 , m_isPause(false)-
274 , m_isGroup(false)-
275 , m_disableUserControl(false)-
276 , m_hasCurrentTimeChangeListeners(false)-
277 , m_isRenderThreadJob(false)-
278 , m_isRenderThreadProxy(false)-
279-
280{-
281}
executed 117323 times by 44 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
117323
282-
283QAbstractAnimationJob::~QAbstractAnimationJob()-
284{-
285 if (m_wasDeleted)
m_wasDeletedDescription
TRUEevaluated 123 times by 5 tests
Evaluated by:
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquicksmoothedanimation
FALSEevaluated 117024 times by 41 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • ...
123-117024
286 *m_wasDeleted = true;
executed 123 times by 5 tests: *m_wasDeleted = true;
Executed by:
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquicksmoothedanimation
123
287-
288 //we can't call stop here. Otherwise we get pure virtual calls-
289 if (m_state != Stopped) {
m_state != StoppedDescription
TRUEevaluated 13584 times by 24 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qqmldebugjs
  • tst_qqmllistmodel
  • tst_qqmltimer
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquicktaphandler
  • tst_qquickvisualdatamodel
  • tst_qsequentialanimationgroupjob
FALSEevaluated 103563 times by 38 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • ...
13584-103563
290 State oldState = m_state;-
291 m_state = Stopped;-
292 stateChanged(oldState, m_state);-
293-
294 Q_ASSERT(m_state == Stopped);-
295 if (oldState == Running) {
oldState == RunningDescription
TRUEevaluated 13558 times by 24 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qqmldebugjs
  • tst_qqmllistmodel
  • tst_qqmltimer
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquicktaphandler
  • tst_qquickvisualdatamodel
  • tst_qsequentialanimationgroupjob
FALSEevaluated 26 times by 3 tests
Evaluated by:
  • tst_qparallelanimationgroupjob
  • tst_qquickanimations
  • tst_qsequentialanimationgroupjob
26-13558
296 Q_ASSERT(QQmlAnimationTimer::instance() == m_timer);-
297 m_timer->unregisterAnimation(this);-
298 }
executed 13558 times by 24 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qqmldebugjs
  • tst_qqmllistmodel
  • tst_qqmltimer
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquicktaphandler
  • tst_qquickvisualdatamodel
  • tst_qsequentialanimationgroupjob
13558
299 Q_ASSERT(!m_hasRegisteredTimer);-
300 }
executed 13584 times by 24 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qqmldebugjs
  • tst_qqmllistmodel
  • tst_qqmltimer
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquicktaphandler
  • tst_qquickvisualdatamodel
  • tst_qsequentialanimationgroupjob
13584
301-
302 if (m_group)
m_groupDescription
TRUEevaluated 364 times by 3 tests
Evaluated by:
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qsequentialanimationgroupjob
FALSEevaluated 116783 times by 41 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • ...
364-116783
303 m_group->removeAnimation(this);
executed 364 times by 3 tests: m_group->removeAnimation(this);
Executed by:
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qsequentialanimationgroupjob
364
304}
executed 117147 times by 41 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklistview
  • ...
117147
305-
306void QAbstractAnimationJob::fireTopLevelAnimationLoopChanged()-
307{-
308 m_uncontrolledFinishTime = -1;-
309 if (m_group)
m_groupDescription
TRUEevaluated 78773 times by 18 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
FALSEevaluated 68940 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
68940-78773
310 m_currentLoopStartTime = 0;
executed 78773 times by 18 tests: m_currentLoopStartTime = 0;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
78773
311 topLevelAnimationLoopChanged();-
312}
executed 147713 times by 40 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
147713
313-
314void QAbstractAnimationJob::setState(QAbstractAnimationJob::State newState)-
315{-
316 if (m_state == newState)
m_state == newStateDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qquickanimations
FALSEevaluated 265502 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
4-265502
317 return;
executed 4 times by 1 test: return;
Executed by:
  • tst_qquickanimations
4
318-
319 if (m_loopCount == 0)
m_loopCount == 0Description
TRUEnever evaluated
FALSEevaluated 265502 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
0-265502
320 return;
never executed: return;
0
321-
322 if (!m_timer)
!m_timerDescription
TRUEevaluated 99634 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
FALSEevaluated 165868 times by 36 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • ...
99634-165868
323 m_timer = QQmlAnimationTimer::instance();
executed 99634 times by 40 tests: m_timer = QQmlAnimationTimer::instance();
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
99634
324-
325 State oldState = m_state;-
326 int oldCurrentTime = m_currentTime;-
327 int oldCurrentLoop = m_currentLoop;-
328 Direction oldDirection = m_direction;-
329-
330 // check if we should Rewind-
331 if ((newState == Paused || newState == Running) && oldState == Stopped) {
newState == PausedDescription
TRUEevaluated 512 times by 6 tests
Evaluated by:
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquicksmoothedanimation
  • tst_qsequentialanimationgroupjob
FALSEevaluated 264990 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
newState == RunningDescription
TRUEevaluated 139498 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
FALSEevaluated 125492 times by 36 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • ...
oldState == StoppedDescription
TRUEevaluated 139088 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
FALSEevaluated 922 times by 6 tests
Evaluated by:
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquicksmoothedanimation
  • tst_qsequentialanimationgroupjob
512-264990
332 //here we reset the time if needed-
333 //we don't call setCurrentTime because this might change the way the animation-
334 //behaves: changing the state or changing the current value-
335 m_totalCurrentTime = m_currentTime = (m_direction == Forward) ?
(m_direction == Forward)Description
TRUEevaluated 138864 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
FALSEevaluated 224 times by 2 tests
Evaluated by:
  • tst_qparallelanimationgroupjob
  • tst_qquickanimations
224-138864
336 0 : (m_loopCount == -1 ? duration() : totalDuration());
m_loopCount == -1Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tst_qparallelanimationgroupjob
FALSEevaluated 218 times by 2 tests
Evaluated by:
  • tst_qparallelanimationgroupjob
  • tst_qquickanimations
6-218
337-
338 // Reset uncontrolled finish time and currentLoopStartTime for this run.-
339 m_uncontrolledFinishTime = -1;-
340 if (!m_group)
!m_groupDescription
TRUEevaluated 68694 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
FALSEevaluated 70394 times by 18 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
68694-70394
341 m_currentLoopStartTime = m_totalCurrentTime;
executed 68694 times by 40 tests: m_currentLoopStartTime = m_totalCurrentTime;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
68694
342 }
executed 139088 times by 40 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
139088
343-
344 m_state = newState;-
345 //(un)registration of the animation must always happen before calls to-
346 //virtual function (updateState) to ensure a correct state of the timer-
347 bool isTopLevel = !m_group || m_group->isStopped();
!m_groupDescription
TRUEevaluated 129538 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
FALSEevaluated 135964 times by 18 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
m_group->isStopped()Description
TRUEevaluated 1141 times by 9 tests
Evaluated by:
  • tst_examples
  • tst_qparallelanimationgroupjob
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qsequentialanimationgroupjob
FALSEevaluated 134823 times by 18 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
1141-135964
348 if (oldState == Running) {
oldState == RunningDescription
TRUEevaluated 125932 times by 36 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • ...
FALSEevaluated 139570 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
125932-139570
349 if (newState == Paused && m_hasRegisteredTimer)
newState == PausedDescription
TRUEevaluated 512 times by 6 tests
Evaluated by:
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquicksmoothedanimation
  • tst_qsequentialanimationgroupjob
FALSEevaluated 125420 times by 36 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • ...
m_hasRegisteredTimerDescription
TRUEevaluated 64 times by 5 tests
Evaluated by:
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qquickanimations
  • tst_qquicksmoothedanimation
  • tst_qsequentialanimationgroupjob
FALSEevaluated 448 times by 5 tests
Evaluated by:
  • tst_qparallelanimationgroupjob
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquicksmoothedanimation
  • tst_qsequentialanimationgroupjob
64-125420
350 m_timer->ensureTimerUpdate();
executed 64 times by 5 tests: m_timer->ensureTimerUpdate();
Executed by:
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qquickanimations
  • tst_qquicksmoothedanimation
  • tst_qsequentialanimationgroupjob
64
351 //the animation, is not running any more-
352 m_timer->unregisterAnimation(this);-
353 } else if (newState == Running) {
executed 125932 times by 36 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • ...
newState == RunningDescription
TRUEevaluated 139498 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
FALSEevaluated 72 times by 3 tests
Evaluated by:
  • tst_qparallelanimationgroupjob
  • tst_qquickanimations
  • tst_qsequentialanimationgroupjob
72-139498
354 m_timer->registerAnimation(this, isTopLevel);-
355 }
executed 139498 times by 40 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
139498
356-
357 //starting an animation qualifies as a top level loop change-
358 if (newState == Running && oldState == Stopped && !m_group)
newState == RunningDescription
TRUEevaluated 139498 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
FALSEevaluated 126004 times by 36 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • ...
oldState == StoppedDescription
TRUEevaluated 139088 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
FALSEevaluated 410 times by 5 tests
Evaluated by:
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qsequentialanimationgroupjob
!m_groupDescription
TRUEevaluated 68694 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
FALSEevaluated 70394 times by 18 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
410-139498
359 fireTopLevelAnimationLoopChanged();
executed 68694 times by 40 tests: fireTopLevelAnimationLoopChanged();
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
68694
360-
361 RETURN_IF_DELETED(updateState(newState, oldState));
executed 94 times by 3 tests: return;
Executed by:
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquicklistview
executed 86 times by 2 tests: *prevWasDeleted = true;
Executed by:
  • tst_qquickgridview
  • tst_qquicklistview
wasDeletedDescription
TRUEevaluated 94 times by 3 tests
Evaluated by:
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquicklistview
FALSEevaluated 265408 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
prevWasDeletedDescription
TRUEevaluated 86 times by 2 tests
Evaluated by:
  • tst_qquickgridview
  • tst_qquicklistview
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tst_qquickanimations
8-265408
362-
363 if (newState != m_state) //this is to be safe if updateState changes the state
newState != m_stateDescription
TRUEevaluated 38302 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_qqmllistmodel
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquickvisualdatamodel
FALSEevaluated 227106 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
38302-227106
364 return;
executed 38302 times by 12 tests: return;
Executed by:
  • tst_examples
  • tst_qqmllistmodel
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquickvisualdatamodel
38302
365-
366 // Notify state change-
367 RETURN_IF_DELETED(stateChanged(newState, oldState));
never executed: return;
never executed: *prevWasDeleted = true;
wasDeletedDescription
TRUEnever evaluated
FALSEevaluated 227106 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
prevWasDeletedDescription
TRUEnever evaluated
FALSEnever evaluated
0-227106
368 if (newState != m_state) //this is to be safe if updateState changes the state
newState != m_stateDescription
TRUEnever evaluated
FALSEevaluated 227106 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
0-227106
369 return;
never executed: return;
0
370-
371 switch (m_state) {-
372 case Paused:
executed 512 times by 6 tests: case Paused:
Executed by:
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquicksmoothedanimation
  • tst_qsequentialanimationgroupjob
512
373 break;
executed 512 times by 6 tests: break;
Executed by:
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquicksmoothedanimation
  • tst_qsequentialanimationgroupjob
512
374 case Running:
executed 101188 times by 40 tests: case Running:
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
101188
375 {-
376 // this ensures that the value is updated now that the animation is running-
377 if (oldState == Stopped) {
oldState == StoppedDescription
TRUEevaluated 100778 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
FALSEevaluated 410 times by 5 tests
Evaluated by:
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qsequentialanimationgroupjob
410-100778
378 m_currentLoop = 0;-
379 if (isTopLevel) {
isTopLevelDescription
TRUEevaluated 30418 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
FALSEevaluated 70360 times by 18 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
30418-70360
380 // currentTime needs to be updated if pauseTimer is active-
381 RETURN_IF_DELETED(m_timer->ensureTimerUpdate());
never executed: return;
never executed: *prevWasDeleted = true;
wasDeletedDescription
TRUEnever evaluated
FALSEevaluated 30418 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
prevWasDeletedDescription
TRUEnever evaluated
FALSEnever evaluated
0-30418
382 RETURN_IF_DELETED(setCurrentTime(m_totalCurrentTime));
never executed: return;
never executed: *prevWasDeleted = true;
wasDeletedDescription
TRUEnever evaluated
FALSEevaluated 30418 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
prevWasDeletedDescription
TRUEnever evaluated
FALSEnever evaluated
0-30418
383 }
executed 30418 times by 40 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
30418
384 }
executed 100778 times by 40 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
100778
385 }-
386 break;
executed 101188 times by 40 tests: break;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
101188
387 case Stopped:
executed 125406 times by 36 tests: case Stopped:
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • ...
125406
388 // Leave running state.-
389 int dura = duration();-
390-
391 if (dura == -1 || m_loopCount < 0
dura == -1Description
TRUEevaluated 49129 times by 19 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qparallelanimationgroupjob
  • tst_qqmllistmodel
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquickvisualdatamodel
  • tst_qsequentialanimationgroupjob
FALSEevaluated 76277 times by 30 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickparticlesystem
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
m_loopCount < 0Description
TRUEevaluated 40 times by 5 tests
Evaluated by:
  • tst_qparallelanimationgroupjob
  • tst_qqmltimer
  • tst_qquickanimations
  • tst_qquickrepeater
  • tst_qsequentialanimationgroupjob
FALSEevaluated 76237 times by 30 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickparticlesystem
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
40-76277
392 || (oldDirection == Forward && (oldCurrentTime * (oldCurrentLoop + 1)) == (dura * m_loopCount))
oldDirection == ForwardDescription
TRUEevaluated 76067 times by 30 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickparticlesystem
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
FALSEevaluated 170 times by 3 tests
Evaluated by:
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qquickanimations
(oldCurrentTim...* m_loopCount)Description
TRUEevaluated 72993 times by 26 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickparticlesystem
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquicktaphandler
  • tst_qsequentialanimationgroupjob
  • ...
FALSEevaluated 3074 times by 15 tests
Evaluated by:
  • tst_examples
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qqmltypeloader
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickspringanimation
  • tst_qquickvisualdatamodel
  • tst_qsequentialanimationgroupjob
170-76067
393 || (oldDirection == Backward && oldCurrentTime == 0)) {
oldDirection == BackwardDescription
TRUEevaluated 170 times by 3 tests
Evaluated by:
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qquickanimations
FALSEevaluated 3074 times by 15 tests
Evaluated by:
  • tst_examples
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qqmltypeloader
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickspringanimation
  • tst_qquickvisualdatamodel
  • tst_qsequentialanimationgroupjob
oldCurrentTime == 0Description
TRUEevaluated 156 times by 3 tests
Evaluated by:
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qquickanimations
FALSEevaluated 14 times by 1 test
Evaluated by:
  • tst_qparallelanimationgroupjob
14-3074
394 finished();-
395 }
executed 122318 times by 35 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • ...
122318
396 break;
executed 125406 times by 36 tests: break;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • ...
125406
397 }-
398}
executed 227106 times by 40 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
227106
399-
400void QAbstractAnimationJob::setDirection(Direction direction)-
401{-
402 if (m_direction == direction)
m_direction == directionDescription
TRUEevaluated 80886 times by 18 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
FALSEevaluated 166 times by 5 tests
Evaluated by:
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qquickanimations
  • tst_qsequentialanimationgroupjob
166-80886
403 return;
executed 80886 times by 18 tests: return;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
80886
404-
405 if (m_state == Stopped) {
m_state == StoppedDescription
TRUEevaluated 164 times by 4 tests
Evaluated by:
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qquickanimations
  • tst_qsequentialanimationgroupjob
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qpauseanimationjob
2-164
406 if (m_direction == Backward) {
m_direction == BackwardDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qabstractanimationjob
FALSEevaluated 162 times by 4 tests
Evaluated by:
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qquickanimations
  • tst_qsequentialanimationgroupjob
2-162
407 m_currentTime = duration();-
408 m_currentLoop = m_loopCount - 1;-
409 } else {
executed 2 times by 1 test: end of block
Executed by:
  • tst_qabstractanimationjob
2
410 m_currentTime = 0;-
411 m_currentLoop = 0;-
412 }
executed 162 times by 4 tests: end of block
Executed by:
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qquickanimations
  • tst_qsequentialanimationgroupjob
162
413 }-
414-
415 // the commands order below is important: first we need to setCurrentTime with the old direction,-
416 // then update the direction on this and all children and finally restart the pauseTimer if needed-
417 if (m_hasRegisteredTimer)
m_hasRegisteredTimerDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qpauseanimationjob
FALSEevaluated 164 times by 4 tests
Evaluated by:
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qquickanimations
  • tst_qsequentialanimationgroupjob
2-164
418 m_timer->ensureTimerUpdate();
executed 2 times by 1 test: m_timer->ensureTimerUpdate();
Executed by:
  • tst_qpauseanimationjob
2
419-
420 m_direction = direction;-
421 updateDirection(direction);-
422-
423 if (m_hasRegisteredTimer)
m_hasRegisteredTimerDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qpauseanimationjob
FALSEevaluated 164 times by 4 tests
Evaluated by:
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qquickanimations
  • tst_qsequentialanimationgroupjob
2-164
424 // needed to update the timer interval in case of a pause animation-
425 m_timer->updateAnimationTimer();
executed 2 times by 1 test: m_timer->updateAnimationTimer();
Executed by:
  • tst_qpauseanimationjob
2
426}
executed 166 times by 5 tests: end of block
Executed by:
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qquickanimations
  • tst_qsequentialanimationgroupjob
166
427-
428void QAbstractAnimationJob::setLoopCount(int loopCount)-
429{-
430 m_loopCount = loopCount;-
431}
executed 87079 times by 38 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • ...
87079
432-
433int QAbstractAnimationJob::totalDuration() const-
434{-
435 int dura = duration();-
436 if (dura <= 0)
dura <= 0Description
TRUEevaluated 528418 times by 16 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
FALSEevaluated 1469010 times by 18 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquicktaphandler
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
528418-1469010
437 return dura;
executed 528418 times by 16 tests: return dura;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
528418
438 int loopcount = loopCount();-
439 if (loopcount < 0)
loopcount < 0Description
TRUEevaluated 347 times by 3 tests
Evaluated by:
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qsequentialanimationgroupjob
FALSEevaluated 1468663 times by 18 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquicktaphandler
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
347-1468663
440 return -1;
executed 347 times by 3 tests: return -1;
Executed by:
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qsequentialanimationgroupjob
347
441 return dura * loopcount;
executed 1468663 times by 18 tests: return dura * loopcount;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquicktaphandler
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
1468663
442}-
443-
444void QAbstractAnimationJob::setCurrentTime(int msecs)-
445{-
446 msecs = qMax(msecs, 0);-
447 // Calculate new time and loop.-
448 int dura = duration();-
449 int totalDura;-
450 int oldLoop = m_currentLoop;-
451-
452 if (dura < 0 && m_direction == Forward) {
dura < 0Description
TRUEevaluated 43483 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquickvisualdatamodel
  • tst_qsequentialanimationgroupjob
FALSEevaluated 247201 times by 36 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • ...
m_direction == ForwardDescription
TRUEevaluated 43483 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquickvisualdatamodel
  • tst_qsequentialanimationgroupjob
FALSEnever evaluated
0-247201
453 totalDura = -1;-
454 if (m_uncontrolledFinishTime >= 0 && msecs >= m_uncontrolledFinishTime) {
m_uncontrolledFinishTime >= 0Description
TRUEevaluated 64 times by 2 tests
Evaluated by:
  • tst_qparallelanimationgroupjob
  • tst_qsequentialanimationgroupjob
FALSEevaluated 43419 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquickvisualdatamodel
  • tst_qsequentialanimationgroupjob
msecs >= m_unc...lledFinishTimeDescription
TRUEevaluated 12 times by 2 tests
Evaluated by:
  • tst_qparallelanimationgroupjob
  • tst_qsequentialanimationgroupjob
FALSEevaluated 52 times by 2 tests
Evaluated by:
  • tst_qparallelanimationgroupjob
  • tst_qsequentialanimationgroupjob
12-43419
455 msecs = m_uncontrolledFinishTime;-
456 if (m_currentLoop == m_loopCount - 1) {
m_currentLoop ..._loopCount - 1Description
TRUEevaluated 8 times by 2 tests
Evaluated by:
  • tst_qparallelanimationgroupjob
  • tst_qsequentialanimationgroupjob
FALSEevaluated 4 times by 2 tests
Evaluated by:
  • tst_qparallelanimationgroupjob
  • tst_qsequentialanimationgroupjob
4-8
457 totalDura = m_uncontrolledFinishTime;-
458 } else {
executed 8 times by 2 tests: end of block
Executed by:
  • tst_qparallelanimationgroupjob
  • tst_qsequentialanimationgroupjob
8
459 ++m_currentLoop;-
460 m_currentLoopStartTime = msecs;-
461 m_uncontrolledFinishTime = -1;-
462 }
executed 4 times by 2 tests: end of block
Executed by:
  • tst_qparallelanimationgroupjob
  • tst_qsequentialanimationgroupjob
4
463 }-
464 m_totalCurrentTime = msecs;-
465 m_currentTime = msecs - m_currentLoopStartTime;-
466 } else {
executed 43483 times by 17 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquickvisualdatamodel
  • tst_qsequentialanimationgroupjob
43483
467 totalDura = dura <= 0 ? dura : ((m_loopCount < 0) ? -1 : dura * m_loopCount);
dura <= 0Description
TRUEevaluated 19368 times by 16 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquicktaphandler
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
FALSEevaluated 227833 times by 36 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • ...
(m_loopCount < 0)Description
TRUEevaluated 4438 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qqmlnativeconnector
  • tst_qqmltimer
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qsequentialanimationgroupjob
FALSEevaluated 223395 times by 36 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • ...
4438-227833
468 if (totalDura != -1)
totalDura != -1Description
TRUEevaluated 242763 times by 36 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • ...
FALSEevaluated 4438 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qqmlnativeconnector
  • tst_qqmltimer
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qsequentialanimationgroupjob
4438-242763
469 msecs = qMin(totalDura, msecs);
executed 242763 times by 36 tests: msecs = qMin(totalDura, msecs);
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • ...
242763
470 m_totalCurrentTime = msecs;-
471-
472 // Update new values.-
473 m_currentLoop = ((dura <= 0) ? 0 : (msecs / dura));
(dura <= 0)Description
TRUEevaluated 19368 times by 16 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquicktaphandler
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
FALSEevaluated 227833 times by 36 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • ...
19368-227833
474 if (m_currentLoop == m_loopCount) {
m_currentLoop == m_loopCountDescription
TRUEevaluated 54061 times by 24 tests
Evaluated by:
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickparticlesystem
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
FALSEevaluated 193140 times by 36 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • ...
54061-193140
475 //we're at the end-
476 m_currentTime = qMax(0, dura);-
477 m_currentLoop = qMax(0, m_loopCount - 1);-
478 } else {
executed 54061 times by 24 tests: end of block
Executed by:
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickparticlesystem
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
54061
479 if (m_direction == Forward) {
m_direction == ForwardDescription
TRUEevaluated 192720 times by 36 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • ...
FALSEevaluated 420 times by 4 tests
Evaluated by:
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qquickanimations
  • tst_qsequentialanimationgroupjob
420-192720
480 m_currentTime = (dura <= 0) ? msecs : (msecs % dura);
(dura <= 0)Description
TRUEevaluated 19322 times by 16 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquicktaphandler
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
FALSEevaluated 173398 times by 36 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • ...
19322-173398
481 } else {
executed 192720 times by 36 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • ...
192720
482 m_currentTime = (dura <= 0) ? msecs : ((msecs - 1) % dura) + 1;
(dura <= 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • tst_qparallelanimationgroupjob
FALSEevaluated 374 times by 4 tests
Evaluated by:
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qquickanimations
  • tst_qsequentialanimationgroupjob
46-374
483 if (m_currentTime == dura)
m_currentTime == duraDescription
TRUEevaluated 78 times by 1 test
Evaluated by:
  • tst_qparallelanimationgroupjob
FALSEevaluated 342 times by 4 tests
Evaluated by:
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qquickanimations
  • tst_qsequentialanimationgroupjob
78-342
484 --m_currentLoop;
executed 78 times by 1 test: --m_currentLoop;
Executed by:
  • tst_qparallelanimationgroupjob
78
485 }
executed 420 times by 4 tests: end of block
Executed by:
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qquickanimations
  • tst_qsequentialanimationgroupjob
420
486 }-
487 }-
488-
489-
490 if (m_currentLoop != oldLoop && !m_group) //### verify Running as well?
m_currentLoop != oldLoopDescription
TRUEevaluated 560 times by 8 tests
Evaluated by:
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmltimer
  • tst_qquickanimations
  • tst_qquickimage
  • tst_qquickrepeater
  • tst_qsequentialanimationgroupjob
FALSEevaluated 290124 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
!m_groupDescription
TRUEevaluated 246 times by 7 tests
Evaluated by:
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmltimer
  • tst_qquickanimations
  • tst_qquickimage
  • tst_qquickrepeater
  • tst_qsequentialanimationgroupjob
FALSEevaluated 314 times by 4 tests
Evaluated by:
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qquickanimations
  • tst_qsequentialanimationgroupjob
246-290124
491 fireTopLevelAnimationLoopChanged();
executed 246 times by 7 tests: fireTopLevelAnimationLoopChanged();
Executed by:
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmltimer
  • tst_qquickanimations
  • tst_qquickimage
  • tst_qquickrepeater
  • tst_qsequentialanimationgroupjob
246
492-
493 RETURN_IF_DELETED(updateCurrentTime(m_currentTime));
executed 29 times by 3 tests: return;
Executed by:
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquicksmoothedanimation
never executed: *prevWasDeleted = true;
wasDeletedDescription
TRUEevaluated 29 times by 3 tests
Evaluated by:
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquicksmoothedanimation
FALSEevaluated 290655 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
prevWasDeletedDescription
TRUEnever evaluated
FALSEevaluated 29 times by 3 tests
Evaluated by:
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquicksmoothedanimation
0-290655
494-
495 if (m_currentLoop != oldLoop)
m_currentLoop != oldLoopDescription
TRUEevaluated 560 times by 8 tests
Evaluated by:
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmltimer
  • tst_qquickanimations
  • tst_qquickimage
  • tst_qquickrepeater
  • tst_qsequentialanimationgroupjob
FALSEevaluated 290095 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
560-290095
496 currentLoopChanged();
executed 560 times by 8 tests: currentLoopChanged();
Executed by:
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmltimer
  • tst_qquickanimations
  • tst_qquickimage
  • tst_qquickrepeater
  • tst_qsequentialanimationgroupjob
560
497-
498 // All animations are responsible for stopping the animation when their-
499 // own end state is reached; in this case the animation is time driven,-
500 // and has reached the end.-
501 if ((m_direction == Forward && m_totalCurrentTime == totalDura)
m_direction == ForwardDescription
TRUEevaluated 290075 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
FALSEevaluated 580 times by 4 tests
Evaluated by:
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qquickanimations
  • tst_qsequentialanimationgroupjob
m_totalCurrent...e == totalDuraDescription
TRUEevaluated 73215 times by 27 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickparticlesystem
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquicktaphandler
  • ...
FALSEevaluated 216860 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
580-290075
502 || (m_direction == Backward && m_totalCurrentTime == 0)) {
m_direction == BackwardDescription
TRUEevaluated 580 times by 4 tests
Evaluated by:
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qquickanimations
  • tst_qsequentialanimationgroupjob
FALSEevaluated 216860 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
m_totalCurrentTime == 0Description
TRUEevaluated 130 times by 4 tests
Evaluated by:
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qquickanimations
  • tst_qsequentialanimationgroupjob
FALSEevaluated 450 times by 3 tests
Evaluated by:
  • tst_qparallelanimationgroupjob
  • tst_qquickanimations
  • tst_qsequentialanimationgroupjob
130-216860
503 RETURN_IF_DELETED(stop());
executed 86 times by 2 tests: return;
Executed by:
  • tst_qquickgridview
  • tst_qquicklistview
never executed: *prevWasDeleted = true;
wasDeletedDescription
TRUEevaluated 86 times by 2 tests
Evaluated by:
  • tst_qquickgridview
  • tst_qquicklistview
FALSEevaluated 73259 times by 27 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickparticlesystem
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquicktaphandler
  • ...
prevWasDeletedDescription
TRUEnever evaluated
FALSEevaluated 86 times by 2 tests
Evaluated by:
  • tst_qquickgridview
  • tst_qquicklistview
0-73259
504 }
executed 73259 times by 27 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickparticlesystem
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquicktaphandler
  • ...
73259
505-
506 if (m_hasCurrentTimeChangeListeners)
m_hasCurrentTi...hangeListenersDescription
TRUEnever evaluated
FALSEevaluated 290569 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
0-290569
507 currentTimeChanged(m_currentTime);
never executed: currentTimeChanged(m_currentTime);
0
508}
executed 290569 times by 40 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
290569
509-
510void QAbstractAnimationJob::start()-
511{-
512 if (m_state == Running)
m_state == RunningDescription
TRUEevaluated 84575 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
FALSEevaluated 139486 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
84575-139486
513 return;
executed 84575 times by 14 tests: return;
Executed by:
  • tst_examples
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
84575
514-
515 if (QQmlEnginePrivate::designerMode()) {
QQmlEnginePriv...designerMode()Description
TRUEnever evaluated
FALSEevaluated 139486 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
0-139486
516 if (state() != Stopped) {
state() != StoppedDescription
TRUEnever evaluated
FALSEnever evaluated
0
517 m_currentTime = duration();-
518 m_totalCurrentTime = totalDuration();-
519 setState(Running);-
520 setState(Stopped);-
521 }
never executed: end of block
0
522 } else {
never executed: end of block
0
523 setState(Running);-
524 }
executed 139486 times by 40 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
139486
525}-
526-
527void QAbstractAnimationJob::stop()-
528{-
529 if (m_state == Stopped)
m_state == StoppedDescription
TRUEevaluated 194344 times by 39 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • ...
FALSEevaluated 125492 times by 36 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • ...
125492-194344
530 return;
executed 194344 times by 39 tests: return;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • ...
194344
531 setState(Stopped);-
532}
executed 125492 times by 36 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • ...
125492
533-
534void QAbstractAnimationJob::pause()-
535{-
536 if (m_state == Stopped) {
m_state == StoppedDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qanimationgroupjob
FALSEevaluated 516 times by 6 tests
Evaluated by:
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquicksmoothedanimation
  • tst_qsequentialanimationgroupjob
2-516
537 qWarning("QAbstractAnimationJob::pause: Cannot pause a stopped animation");-
538 return;
executed 2 times by 1 test: return;
Executed by:
  • tst_qanimationgroupjob
2
539 }-
540-
541 setState(Paused);-
542}
executed 516 times by 6 tests: end of block
Executed by:
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquicksmoothedanimation
  • tst_qsequentialanimationgroupjob
516
543-
544void QAbstractAnimationJob::resume()-
545{-
546 if (m_state != Paused) {
m_state != PausedDescription
TRUEnever evaluated
FALSEevaluated 12 times by 3 tests
Evaluated by:
  • tst_qparallelanimationgroupjob
  • tst_qquickanimations
  • tst_qsequentialanimationgroupjob
0-12
547 qWarning("QAbstractAnimationJob::resume: "-
548 "Cannot resume an animation that is not paused");-
549 return;
never executed: return;
0
550 }-
551 setState(Running);-
552}
executed 12 times by 3 tests: end of block
Executed by:
  • tst_qparallelanimationgroupjob
  • tst_qquickanimations
  • tst_qsequentialanimationgroupjob
12
553-
554void QAbstractAnimationJob::setEnableUserControl()-
555{-
556 m_disableUserControl = false;-
557}
never executed: end of block
0
558-
559bool QAbstractAnimationJob::userControlDisabled() const-
560{-
561 return m_disableUserControl;
executed 418444 times by 40 tests: return m_disableUserControl;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
418444
562}-
563-
564void QAbstractAnimationJob::setDisableUserControl()-
565{-
566 m_disableUserControl = true;-
567 start();-
568 pause();-
569}
executed 122 times by 1 test: end of block
Executed by:
  • tst_qquickanimationcontroller
122
570-
571void QAbstractAnimationJob::updateState(QAbstractAnimationJob::State newState,-
572 QAbstractAnimationJob::State oldState)-
573{-
574 Q_UNUSED(oldState);-
575 Q_UNUSED(newState);-
576}
executed 145830 times by 40 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
145830
577-
578void QAbstractAnimationJob::updateDirection(QAbstractAnimationJob::Direction direction)-
579{-
580 Q_UNUSED(direction);-
581}
executed 124 times by 4 tests: end of block
Executed by:
  • tst_qabstractanimationjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qquickanimations
124
582-
583void QAbstractAnimationJob::finished()-
584{-
585 //TODO: update this code so it is valid to delete the animation in animationFinished-
586 for (const auto &change : changeListeners) {-
587 if (change.types & QAbstractAnimationJob::Completion) {
change.types &...ob::CompletionDescription
TRUEevaluated 435 times by 20 tests
Evaluated by:
  • tst_examples
  • tst_qparallelanimationgroupjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickparticlesystem
  • tst_qquickrepeater
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
FALSEevaluated 9058 times by 12 tests
Evaluated by:
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qsequentialanimationgroupjob
435-9058
588 RETURN_IF_DELETED(change.listener->animationFinished(this));
never executed: return;
never executed: *prevWasDeleted = true;
wasDeletedDescription
TRUEnever evaluated
FALSEevaluated 435 times by 20 tests
Evaluated by:
  • tst_examples
  • tst_qparallelanimationgroupjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickparticlesystem
  • tst_qquickrepeater
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
prevWasDeletedDescription
TRUEnever evaluated
FALSEnever evaluated
0-435
589 }
executed 435 times by 20 tests: end of block
Executed by:
  • tst_examples
  • tst_qparallelanimationgroupjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickparticlesystem
  • tst_qquickrepeater
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
435
590 }
executed 9493 times by 24 tests: end of block
Executed by:
  • tst_examples
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickparticlesystem
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
9493
591-
592 if (m_group && (duration() == -1 || loopCount() < 0)) {
m_groupDescription
TRUEevaluated 63836 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
FALSEevaluated 58482 times by 34 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • ...
duration() == -1Description
TRUEevaluated 73 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qparallelanimationgroupjob
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquicklistview
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qsequentialanimationgroupjob
FALSEevaluated 63763 times by 15 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquicktaphandler
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
loopCount() < 0Description
TRUEevaluated 14 times by 2 tests
Evaluated by:
  • tst_qparallelanimationgroupjob
  • tst_qsequentialanimationgroupjob
FALSEevaluated 63749 times by 15 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquicktaphandler
  • tst_qsequentialanimationgroupjob
  • tst_scenegraph
14-63836
593 //this is an uncontrolled animation, need to notify the group animation we are finished-
594 m_group->uncontrolledAnimationFinished(this);-
595 }
executed 87 times by 8 tests: end of block
Executed by:
  • tst_examples
  • tst_qparallelanimationgroupjob
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquicklistview
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qsequentialanimationgroupjob
87
596}
executed 122318 times by 35 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • ...
122318
597-
598void QAbstractAnimationJob::stateChanged(QAbstractAnimationJob::State newState, QAbstractAnimationJob::State oldState)-
599{-
600 for (const auto &change : changeListeners) {-
601 if (change.types & QAbstractAnimationJob::StateChange) {
change.types &...b::StateChangeDescription
TRUEevaluated 20478 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qsequentialanimationgroupjob
FALSEevaluated 14626 times by 29 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qparallelanimationgroupjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickparticlesystem
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • ...
14626-20478
602 RETURN_IF_DELETED(change.listener->animationStateChanged(this, newState, oldState));
never executed: return;
never executed: *prevWasDeleted = true;
wasDeletedDescription
TRUEnever evaluated
FALSEevaluated 20478 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qsequentialanimationgroupjob
prevWasDeletedDescription
TRUEnever evaluated
FALSEnever evaluated
0-20478
603 }
executed 20478 times by 14 tests: end of block
Executed by:
  • tst_examples
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquicksmoothedanimation
  • tst_qquickspringanimation
  • tst_qsequentialanimationgroupjob
20478
604 }
executed 35104 times by 34 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickparticlesystem
  • ...
35104
605}
executed 240690 times by 40 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qabstractanimationjob
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
240690
606-
607void QAbstractAnimationJob::currentLoopChanged()-
608{-
609 for (const auto &change : changeListeners) {-
610 if (change.types & QAbstractAnimationJob::CurrentLoop) {
change.types &...b::CurrentLoopDescription
TRUEevaluated 48 times by 4 tests
Evaluated by:
  • tst_qparallelanimationgroupjob
  • tst_qqmltimer
  • tst_qquickrepeater
  • tst_qsequentialanimationgroupjob
FALSEevaluated 38 times by 3 tests
Evaluated by:
  • tst_qquickanimations
  • tst_qquickimage
  • tst_qsequentialanimationgroupjob
38-48
611 RETURN_IF_DELETED(change.listener->animationCurrentLoopChanged(this));
never executed: return;
never executed: *prevWasDeleted = true;
wasDeletedDescription
TRUEnever evaluated
FALSEevaluated 48 times by 4 tests
Evaluated by:
  • tst_qparallelanimationgroupjob
  • tst_qqmltimer
  • tst_qquickrepeater
  • tst_qsequentialanimationgroupjob
prevWasDeletedDescription
TRUEnever evaluated
FALSEnever evaluated
0-48
612 }
executed 48 times by 4 tests: end of block
Executed by:
  • tst_qparallelanimationgroupjob
  • tst_qqmltimer
  • tst_qquickrepeater
  • tst_qsequentialanimationgroupjob
48
613 }
executed 86 times by 6 tests: end of block
Executed by:
  • tst_qparallelanimationgroupjob
  • tst_qqmltimer
  • tst_qquickanimations
  • tst_qquickimage
  • tst_qquickrepeater
  • tst_qsequentialanimationgroupjob
86
614}
executed 560 times by 8 tests: end of block
Executed by:
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qpauseanimationjob
  • tst_qqmltimer
  • tst_qquickanimations
  • tst_qquickimage
  • tst_qquickrepeater
  • tst_qsequentialanimationgroupjob
560
615-
616void QAbstractAnimationJob::currentTimeChanged(int currentTime)-
617{-
618 Q_ASSERT(m_hasCurrentTimeChangeListeners);-
619-
620 for (const auto &change : changeListeners) {-
621 if (change.types & QAbstractAnimationJob::CurrentTime) {
change.types &...b::CurrentTimeDescription
TRUEnever evaluated
FALSEnever evaluated
0
622 RETURN_IF_DELETED(change.listener->animationCurrentTimeChanged(this, currentTime));
never executed: return;
never executed: *prevWasDeleted = true;
wasDeletedDescription
TRUEnever evaluated
FALSEnever evaluated
prevWasDeletedDescription
TRUEnever evaluated
FALSEnever evaluated
0
623 }
never executed: end of block
0
624 }
never executed: end of block
0
625}
never executed: end of block
0
626-
627void QAbstractAnimationJob::addAnimationChangeListener(QAnimationJobChangeListener *listener, QAbstractAnimationJob::ChangeTypes changes)-
628{-
629 if (changes & QAbstractAnimationJob::CurrentTime)
changes & QAbs...b::CurrentTimeDescription
TRUEnever evaluated
FALSEevaluated 19805 times by 35 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickparticlesystem
  • ...
0-19805
630 m_hasCurrentTimeChangeListeners = true;
never executed: m_hasCurrentTimeChangeListeners = true;
0
631-
632 changeListeners.push_back(ChangeListener(listener, changes));-
633}
executed 19805 times by 35 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qanimationgroupjob
  • tst_qparallelanimationgroupjob
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnativeconnector
  • tst_qqmlprofilerservice
  • tst_qqmlpropertymap
  • tst_qqmltimer
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickparticlesystem
  • ...
19805
634-
635void QAbstractAnimationJob::removeAnimationChangeListener(QAnimationJobChangeListener *listener, QAbstractAnimationJob::ChangeTypes changes)-
636{-
637 m_hasCurrentTimeChangeListeners = false;-
638-
639 const auto it = std::find(changeListeners.begin(), changeListeners.end(), ChangeListener(listener, changes));-
640 if (it != changeListeners.end())
it != changeListeners.end()Description
TRUEevaluated 10636 times by 9 tests
Evaluated by:
  • tst_examples
  • tst_qparallelanimationgroupjob
  • tst_qquickanimations
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickspringanimation
  • tst_qsequentialanimationgroupjob
FALSEnever evaluated
0-10636
641 changeListeners.erase(it);
executed 10636 times by 9 tests: changeListeners.erase(it);
Executed by:
  • tst_examples
  • tst_qparallelanimationgroupjob
  • tst_qquickanimations
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickspringanimation
  • tst_qsequentialanimationgroupjob
10636
642-
643 for (const auto &change: changeListeners) {-
644 if (change.types & QAbstractAnimationJob::CurrentTime) {
change.types &...b::CurrentTimeDescription
TRUEnever evaluated
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tst_qparallelanimationgroupjob
0-6
645 m_hasCurrentTimeChangeListeners = true;-
646 break;
never executed: break;
0
647 }-
648 }
executed 6 times by 1 test: end of block
Executed by:
  • tst_qparallelanimationgroupjob
6
649}
executed 10636 times by 9 tests: end of block
Executed by:
  • tst_examples
  • tst_qparallelanimationgroupjob
  • tst_qquickanimations
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickspringanimation
  • tst_qsequentialanimationgroupjob
10636
650-
651void QAbstractAnimationJob::debugAnimation(QDebug d) const-
652{-
653 d << "AbstractAnimationJob(" << hex << (const void *) this << dec << ") state:"-
654 << m_state << "duration:" << duration();-
655}
never executed: end of block
0
656-
657QDebug operator<<(QDebug d, const QAbstractAnimationJob *job)-
658{-
659 if (!job) {
!jobDescription
TRUEnever evaluated
FALSEnever evaluated
0
660 d << "AbstractAnimationJob(null)";-
661 return d;
never executed: return d;
0
662 }-
663 job->debugAnimation(d);-
664 return d;
never executed: return d;
0
665}-
666-
667QT_END_NAMESPACE-
668-
669//#include "moc_qabstractanimation2_p.cpp"-
670#include "moc_qabstractanimationjob_p.cpp"-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.0