Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | QQuickAbstractAnimation::QQuickAbstractAnimation(QObject *parent) | - |
8 | : QObject(*(new QQuickAbstractAnimationPrivate), parent) | - |
9 | { | - |
10 | }executed 2 times by 1 test: end of block | 2 |
11 | | - |
12 | QQuickAbstractAnimation::~QQuickAbstractAnimation() | - |
13 | { | - |
14 | QQuickAbstractAnimationPrivate * const d = d_func(); | - |
15 | if (d->groupTRUE | never evaluated | FALSE | evaluated 27396 times by 19 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlenginedebugservice
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
|
) | 0-27396 |
16 | setGroup(nullptr); never executed: setGroup(nullptr); | 0 |
17 | delete d->animationInstance; | - |
18 | }executed 27396 times by 19 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlenginedebugservice
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
| 27396 |
19 | | - |
20 | QQuickAbstractAnimation::QQuickAbstractAnimation(QQuickAbstractAnimationPrivate &dd, QObject *parent) | - |
21 | : QObject(dd, parent) | - |
22 | { | - |
23 | }executed 27494 times by 19 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlenginedebugservice
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
| 27494 |
24 | | - |
25 | QAbstractAnimationJob* QQuickAbstractAnimation::qtAnimation() | - |
26 | { | - |
27 | QQuickAbstractAnimationPrivate * const d = d_func(); | - |
28 | returnexecuted 45 times by 2 tests: return d->animationInstance; Executed by:- tst_qquickanimations
- tst_qquickbehaviors
d->animationInstance;executed 45 times by 2 tests: return d->animationInstance; Executed by:- tst_qquickanimations
- tst_qquickbehaviors
| 45 |
29 | } | - |
30 | bool QQuickAbstractAnimation::isRunning() const | - |
31 | { | - |
32 | const QQuickAbstractAnimationPrivate * const d = d_func(); | - |
33 | returnexecuted 1026 times by 12 tests: return d->running; Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlenginedebugservice
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
d->running;executed 1026 times by 12 tests: return d->running; Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlenginedebugservice
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
| 1026 |
34 | } | - |
35 | | - |
36 | | - |
37 | void QQuickAbstractAnimation::notifyRunningChanged(bool running) | - |
38 | { | - |
39 | QQuickAbstractAnimationPrivate * const d = d_func(); | - |
40 | if (d->disableUserControlTRUE | evaluated 444 times by 7 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
| FALSE | never evaluated |
&& d->running != runningTRUE | evaluated 396 times by 7 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
| FALSE | evaluated 48 times by 3 testsEvaluated by:- tst_examples
- tst_qquickbehaviors
- tst_qquicklistview
|
) { | 0-444 |
41 | d->running = running; | - |
42 | runningChanged(running); | - |
43 | }executed 396 times by 7 tests: end of block Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
| 396 |
44 | }executed 444 times by 7 tests: end of block Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
| 444 |
45 | | - |
46 | | - |
47 | | - |
48 | void QQuickAbstractAnimationPrivate::commence() | - |
49 | { | - |
50 | QQuickAbstractAnimation * const q = q_func(); | - |
51 | | - |
52 | QQuickStateActions actions; | - |
53 | QQmlProperties properties; | - |
54 | | - |
55 | QAbstractAnimationJob *oldInstance = animationInstance; | - |
56 | animationInstance = q->transition(actions, properties, QQuickAbstractAnimation::Forward); | - |
57 | if (oldInstanceTRUE | evaluated 39 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquicksmoothedanimation
| FALSE | evaluated 4886 times by 11 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
|
&& oldInstance != animationInstanceTRUE | evaluated 39 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquicksmoothedanimation
| FALSE | never evaluated |
) | 0-4886 |
58 | delete oldInstance;executed 39 times by 2 tests: delete oldInstance; Executed by:- tst_qquickanimations
- tst_qquicksmoothedanimation
| 39 |
59 | | - |
60 | if (animationInstanceTRUE | evaluated 4925 times by 11 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
| FALSE | never evaluated |
) { | 0-4925 |
61 | if (oldInstance != animationInstanceTRUE | evaluated 4925 times by 11 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
| FALSE | never evaluated |
) { | 0-4925 |
62 | if (q->threadingModel() == QQuickAbstractAnimation::RenderThreadTRUE | evaluated 26 times by 2 testsEvaluated by:- tst_examples
- tst_qquickanimations
| FALSE | evaluated 4899 times by 11 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
|
) | 26-4899 |
63 | animationInstance = new QQuickAnimatorProxyJob(animationInstance, q);executed 26 times by 2 tests: animationInstance = new QQuickAnimatorProxyJob(animationInstance, q); Executed by:- tst_examples
- tst_qquickanimations
| 26 |
64 | animationInstance->addAnimationChangeListener(this, QAbstractAnimationJob::Completion); | - |
65 | }executed 4925 times by 11 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
| 4925 |
66 | animationInstance->start(); | - |
67 | if (animationInstance->isStopped()TRUE | evaluated 6 times by 3 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
- tst_qquicksmoothedanimation
| FALSE | evaluated 4919 times by 11 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
|
) { | 6-4919 |
68 | running = false; | - |
69 | q->stopped(); | - |
70 | }executed 6 times by 3 tests: end of block Executed by:- tst_qquickgridview
- tst_qquicklistview
- tst_qquicksmoothedanimation
| 6 |
71 | }executed 4925 times by 11 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
| 4925 |
72 | }executed 4925 times by 11 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
| 4925 |
73 | | - |
74 | QQmlProperty QQuickAbstractAnimationPrivate::createProperty(QObject *obj, const QString &str, QObject *infoObj, QString *errorMessage) | - |
75 | { | - |
76 | QQmlProperty prop(obj, str, qmlContext(infoObj)); | - |
77 | if (!prop.isValid()TRUE | evaluated 4 times by 1 test | FALSE | evaluated 21397 times by 13 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
|
) { | 4-21397 |
78 | const QString message = QQuickAbstractAnimation::tr("Cannot animate non-existent property \"%1\"").arg(str); | - |
79 | if (errorMessageTRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
) | 0-4 |
80 | *executed 4 times by 1 test: *errorMessage = message; errorMessage = message;executed 4 times by 1 test: *errorMessage = message; | 4 |
81 | else | - |
82 | qmlWarning(infoObj) << message; never executed: qmlWarning(infoObj) << message; | 0 |
83 | returnexecuted 4 times by 1 test: return QQmlProperty(); QQmlProperty();executed 4 times by 1 test: return QQmlProperty(); | 4 |
84 | } else if (!prop.isWritable()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 21395 times by 13 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
|
) { | 2-21395 |
85 | const QString message = QQuickAbstractAnimation::tr("Cannot animate read-only property \"%1\"").arg(str); | - |
86 | if (errorMessageTRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) | 0-2 |
87 | *executed 2 times by 1 test: *errorMessage = message; errorMessage = message;executed 2 times by 1 test: *errorMessage = message; | 2 |
88 | else | - |
89 | qmlWarning(infoObj) << message; never executed: qmlWarning(infoObj) << message; | 0 |
90 | returnexecuted 2 times by 1 test: return QQmlProperty(); QQmlProperty();executed 2 times by 1 test: return QQmlProperty(); | 2 |
91 | } | - |
92 | returnexecuted 21395 times by 13 tests: return prop; Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
prop;executed 21395 times by 13 tests: return prop; Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
| 21395 |
93 | } | - |
94 | void QQuickAbstractAnimation::setRunning(bool r) | - |
95 | { | - |
96 | QQuickAbstractAnimationPrivate * const d = d_func(); | - |
97 | if (!d->componentCompleteTRUE | evaluated 9194 times by 11 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
| FALSE | evaluated 5201 times by 12 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
|
) { | 5201-9194 |
98 | d->running = r; | - |
99 | if (r == falseTRUE | evaluated 486 times by 6 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickspringanimation
- tst_qquicktaphandler
| FALSE | evaluated 8708 times by 8 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
|
) | 486-8708 |
100 | d->avoidPropertyValueSourceStart = true;executed 486 times by 6 tests: d->avoidPropertyValueSourceStart = true; Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickspringanimation
- tst_qquicktaphandler
| 486 |
101 | else if (!d->registeredTRUE | evaluated 4688 times by 8 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
| FALSE | evaluated 4020 times by 2 testsEvaluated by:- tst_examples
- tst_qquickanimations
|
) { | 4020-4688 |
102 | d->registered = true; | - |
103 | QQmlEnginePrivate *engPriv = QQmlEnginePrivate::get(qmlEngine(this)); | - |
104 | static int finalizedIdx = -1; | - |
105 | if (finalizedIdx < 0TRUE | evaluated 16 times by 8 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
| FALSE | evaluated 4672 times by 6 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
|
) | 16-4672 |
106 | finalizedIdx = metaObject()->indexOfSlot("componentFinalized()");executed 16 times by 8 tests: finalizedIdx = metaObject()->indexOfSlot("componentFinalized()"); Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
| 16 |
107 | engPriv->registerFinalizeCallback(this, finalizedIdx); | - |
108 | }executed 4688 times by 8 tests: end of block Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
| 4688 |
109 | return;executed 9194 times by 11 tests: return; Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
| 9194 |
110 | } | - |
111 | | - |
112 | if (d->running == rTRUE | evaluated 43 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickanimations
- tst_qquicksmoothedanimation
- tst_qquicktaphandler
| FALSE | evaluated 5158 times by 12 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
|
) | 43-5158 |
113 | return;executed 43 times by 4 tests: return; Executed by:- tst_flickableinterop
- tst_qquickanimations
- tst_qquicksmoothedanimation
- tst_qquicktaphandler
| 43 |
114 | | - |
115 | if (d->groupTRUE | evaluated 4 times by 1 test | FALSE | evaluated 5154 times by 12 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
|
|| d->disableUserControlTRUE | evaluated 2 times by 1 test | FALSE | evaluated 5152 times by 11 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
|
) { | 2-5154 |
116 | qmlWarning(this) << "setRunning() cannot be used on non-root animation nodes."; | - |
117 | return;executed 6 times by 2 tests: return; Executed by:- tst_qquickanimations
- tst_qquickbehaviors
| 6 |
118 | } | - |
119 | | - |
120 | d->running = r; | - |
121 | if (d->runningTRUE | evaluated 4927 times by 11 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
| FALSE | evaluated 225 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
|
) { | 225-4927 |
122 | bool supressStart = false; | - |
123 | if (d->alwaysRunToEndTRUE | evaluated 8 times by 1 test | FALSE | evaluated 4919 times by 11 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
|
&& d->loopCount != 1TRUE | evaluated 6 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-4919 |
124 | && d->animationInstanceTRUE | evaluated 2 times by 1 test | FALSE | evaluated 4 times by 1 test |
&& d->animationInstance->isRunning()TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) { | 0-4 |
125 | | - |
126 | if (d->loopCount == -1TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) | 0-2 |
127 | d->animationInstance->setLoopCount(d->loopCount);executed 2 times by 1 test: d->animationInstance->setLoopCount(d->loopCount); | 2 |
128 | else | - |
129 | d->animationInstance->setLoopCount(d->animationInstance->currentLoop() + d->loopCount); never executed: d->animationInstance->setLoopCount(d->animationInstance->currentLoop() + d->loopCount); | 0 |
130 | supressStart = true; | - |
131 | }executed 2 times by 1 test: end of block | 2 |
132 | if (!supressStartTRUE | evaluated 4925 times by 11 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
| FALSE | evaluated 2 times by 1 test |
) { | 2-4925 |
133 | d->commence(); | - |
134 | started(); | - |
135 | }executed 4925 times by 11 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
| 4925 |
136 | }executed 4927 times by 11 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
else { | 4927 |
137 | if (d->pausedTRUE | evaluated 10 times by 1 test | FALSE | evaluated 215 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
|
) { | 10-215 |
138 | d->paused = false; | - |
139 | pausedChanged(d->paused); | - |
140 | }executed 10 times by 1 test: end of block | 10 |
141 | | - |
142 | if (d->animationInstanceTRUE | evaluated 225 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
| FALSE | never evaluated |
) { | 0-225 |
143 | if (d->alwaysRunToEndTRUE | evaluated 8 times by 1 test | FALSE | evaluated 217 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
|
) { | 8-217 |
144 | if (d->loopCount != 1TRUE | evaluated 6 times by 1 test | FALSE | evaluated 2 times by 1 test |
) | 2-6 |
145 | d->animationInstance->setLoopCount(d->animationInstance->currentLoop()+1);executed 6 times by 1 test: d->animationInstance->setLoopCount(d->animationInstance->currentLoop()+1); | 6 |
146 | }executed 8 times by 1 test: end of block else { | 8 |
147 | d->animationInstance->stop(); | - |
148 | stopped(); | - |
149 | }executed 217 times by 8 tests: end of block Executed by:- tst_examples
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
| 217 |
150 | } | - |
151 | }executed 225 times by 8 tests: end of block Executed by:- tst_examples
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
| 225 |
152 | | - |
153 | runningChanged(d->running); | - |
154 | }executed 5152 times by 11 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
| 5152 |
155 | bool QQuickAbstractAnimation::isPaused() const | - |
156 | { | - |
157 | const QQuickAbstractAnimationPrivate * const d = d_func(); | - |
158 | (((d->paused && d->running) || !d->paused) ? static_cast<void>(0) : qt_assert("(d->paused && d->running) || !d->paused", __FILE__, 335)); | - |
159 | returnexecuted 32 times by 3 tests: return d->paused; Executed by:- tst_qqmlenginedebugservice
- tst_qquickanimations
- tst_qquicksmoothedanimation
d->paused;executed 32 times by 3 tests: return d->paused; Executed by:- tst_qqmlenginedebugservice
- tst_qquickanimations
- tst_qquicksmoothedanimation
| 32 |
160 | } | - |
161 | | - |
162 | void QQuickAbstractAnimation::setPaused(bool p) | - |
163 | { | - |
164 | QQuickAbstractAnimationPrivate * const d = d_func(); | - |
165 | if (d->paused == pTRUE | evaluated 2 times by 1 test | FALSE | evaluated 40 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquicksmoothedanimation
|
) | 2-40 |
166 | return;executed 2 times by 1 test: return; | 2 |
167 | | - |
168 | if (!d->runningTRUE | evaluated 2 times by 1 test | FALSE | evaluated 38 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquicksmoothedanimation
|
) { | 2-38 |
169 | qmlWarning(this) << "setPaused() cannot be used when animation isn't running."; | - |
170 | return;executed 2 times by 1 test: return; | 2 |
171 | } | - |
172 | | - |
173 | if (d->groupTRUE | never evaluated | FALSE | evaluated 38 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquicksmoothedanimation
|
|| d->disableUserControlTRUE | never evaluated | FALSE | evaluated 38 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquicksmoothedanimation
|
) { | 0-38 |
174 | qmlWarning(this) << "setPaused() cannot be used on non-root animation nodes."; | - |
175 | return; never executed: return; | 0 |
176 | } | - |
177 | | - |
178 | d->paused = p; | - |
179 | | - |
180 | if (!d->componentCompleteTRUE | evaluated 2 times by 1 test | FALSE | evaluated 36 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquicksmoothedanimation
|
|| !d->animationInstanceTRUE | never evaluated | FALSE | evaluated 36 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquicksmoothedanimation
|
) | 0-36 |
181 | return;executed 2 times by 1 test: return; | 2 |
182 | | - |
183 | if (d->pausedTRUE | evaluated 32 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquicksmoothedanimation
| FALSE | evaluated 4 times by 1 test |
) | 4-32 |
184 | d->animationInstance->pause();executed 32 times by 2 tests: d->animationInstance->pause(); Executed by:- tst_qquickanimations
- tst_qquicksmoothedanimation
| 32 |
185 | else | - |
186 | d->animationInstance->resume();executed 4 times by 1 test: d->animationInstance->resume(); | 4 |
187 | | - |
188 | pausedChanged(d->paused); | - |
189 | }executed 36 times by 2 tests: end of block Executed by:- tst_qquickanimations
- tst_qquicksmoothedanimation
| 36 |
190 | | - |
191 | void QQuickAbstractAnimation::classBegin() | - |
192 | { | - |
193 | QQuickAbstractAnimationPrivate * const d = d_func(); | - |
194 | d->componentComplete = false; | - |
195 | }executed 27470 times by 19 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlenginedebugservice
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
| 27470 |
196 | | - |
197 | void QQuickAbstractAnimation::componentComplete() | - |
198 | { | - |
199 | QQuickAbstractAnimationPrivate * const d = d_func(); | - |
200 | d->componentComplete = true; | - |
201 | }executed 27462 times by 19 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlenginedebugservice
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
| 27462 |
202 | | - |
203 | void QQuickAbstractAnimation::componentFinalized() | - |
204 | { | - |
205 | QQuickAbstractAnimationPrivate * const d = d_func(); | - |
206 | if (d->runningTRUE | evaluated 4684 times by 8 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
| FALSE | evaluated 4 times by 1 test |
) { | 4-4684 |
207 | d->running = false; | - |
208 | setRunning(true); | - |
209 | }executed 4684 times by 8 tests: end of block Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
| 4684 |
210 | if (d->pausedTRUE | evaluated 4 times by 1 test | FALSE | evaluated 4684 times by 8 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
|
) { | 4-4684 |
211 | d->paused = false; | - |
212 | setPaused(true); | - |
213 | }executed 4 times by 1 test: end of block | 4 |
214 | }executed 4688 times by 8 tests: end of block Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
| 4688 |
215 | bool QQuickAbstractAnimation::alwaysRunToEnd() const | - |
216 | { | - |
217 | const QQuickAbstractAnimationPrivate * const d = d_func(); | - |
218 | returnexecuted 8 times by 2 tests: return d->alwaysRunToEnd; Executed by:- tst_qqmlenginedebugservice
- tst_qquickanimations
d->alwaysRunToEnd;executed 8 times by 2 tests: return d->alwaysRunToEnd; Executed by:- tst_qqmlenginedebugservice
- tst_qquickanimations
| 8 |
219 | } | - |
220 | | - |
221 | void QQuickAbstractAnimation::setAlwaysRunToEnd(bool f) | - |
222 | { | - |
223 | QQuickAbstractAnimationPrivate * const d = d_func(); | - |
224 | if (d->alwaysRunToEnd == fTRUE | never evaluated | FALSE | evaluated 6 times by 1 test |
) | 0-6 |
225 | return; never executed: return; | 0 |
226 | | - |
227 | d->alwaysRunToEnd = f; | - |
228 | alwaysRunToEndChanged(f); | - |
229 | }executed 6 times by 1 test: end of block | 6 |
230 | int QQuickAbstractAnimation::loops() const | - |
231 | { | - |
232 | const QQuickAbstractAnimationPrivate * const d = d_func(); | - |
233 | returnexecuted 8 times by 2 tests: return d->loopCount; Executed by:- tst_qqmlenginedebugservice
- tst_qquickanimations
d->loopCount;executed 8 times by 2 tests: return d->loopCount; Executed by:- tst_qqmlenginedebugservice
- tst_qquickanimations
| 8 |
234 | } | - |
235 | | - |
236 | void QQuickAbstractAnimation::setLoops(int loops) | - |
237 | { | - |
238 | QQuickAbstractAnimationPrivate * const d = d_func(); | - |
239 | if (loops < 0TRUE | evaluated 612 times by 5 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
| FALSE | evaluated 8 times by 2 testsEvaluated by:- tst_examples
- tst_qquickanimations
|
) | 8-612 |
240 | loops = -1;executed 612 times by 5 tests: loops = -1; Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
| 612 |
241 | | - |
242 | if (loops == d->loopCountTRUE | evaluated 2 times by 1 test | FALSE | evaluated 618 times by 5 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
|
) | 2-618 |
243 | return;executed 2 times by 1 test: return; | 2 |
244 | | - |
245 | d->loopCount = loops; | - |
246 | loopCountChanged(loops); | - |
247 | }executed 618 times by 5 tests: end of block Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
| 618 |
248 | | - |
249 | int QQuickAbstractAnimation::duration() const | - |
250 | { | - |
251 | const QQuickAbstractAnimationPrivate * const d = d_func(); | - |
252 | return never executed: return d->animationInstance ? d->animationInstance->duration() : 0; d->animationInstance ? d->animationInstance->duration() : 0;never executed: return d->animationInstance ? d->animationInstance->duration() : 0; | 0 |
253 | } | - |
254 | | - |
255 | int QQuickAbstractAnimation::currentTime() | - |
256 | { | - |
257 | QQuickAbstractAnimationPrivate * const d = d_func(); | - |
258 | returnexecuted 12 times by 2 tests: return d->animationInstance ? d->animationInstance->currentLoopTime() : 0; Executed by:- tst_qquickanimations
- tst_qquicksmoothedanimation
d->animationInstance ? d->animationInstance->currentLoopTime() : 0;executed 12 times by 2 tests: return d->animationInstance ? d->animationInstance->currentLoopTime() : 0; Executed by:- tst_qquickanimations
- tst_qquicksmoothedanimation
| 12 |
259 | } | - |
260 | | - |
261 | void QQuickAbstractAnimation::setCurrentTime(int time) | - |
262 | { | - |
263 | QQuickAbstractAnimationPrivate * const d = d_func(); | - |
264 | if (d->animationInstanceTRUE | evaluated 26 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquicksmoothedanimation
| FALSE | never evaluated |
) | 0-26 |
265 | d->animationInstance->setCurrentTime(time);executed 26 times by 2 tests: d->animationInstance->setCurrentTime(time); Executed by:- tst_qquickanimations
- tst_qquicksmoothedanimation
| 26 |
266 | | - |
267 | }executed 26 times by 2 tests: end of block Executed by:- tst_qquickanimations
- tst_qquicksmoothedanimation
| 26 |
268 | | - |
269 | QQuickAnimationGroup *QQuickAbstractAnimation::group() const | - |
270 | { | - |
271 | const QQuickAbstractAnimationPrivate * const d = d_func(); | - |
272 | return never executed: return d->group; d->group;never executed: return d->group; | 0 |
273 | } | - |
274 | | - |
275 | void QQuickAbstractAnimation::setGroup(QQuickAnimationGroup *g) | - |
276 | { | - |
277 | QQuickAbstractAnimationPrivate * const d = d_func(); | - |
278 | if (d->group == gTRUE | never evaluated | FALSE | evaluated 20380 times by 13 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
|
) | 0-20380 |
279 | return; never executed: return; | 0 |
280 | if (d->groupTRUE | never evaluated | FALSE | evaluated 20380 times by 13 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
|
) | 0-20380 |
281 | d->group->d_func()->animations.removeAll(this); never executed: d->group->d_func()->animations.removeAll(this); | 0 |
282 | | - |
283 | d->group = g; | - |
284 | | - |
285 | if (d->groupTRUE | evaluated 20380 times by 13 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
| FALSE | never evaluated |
&& !d->group->d_func()->animations.contains(this)TRUE | evaluated 20380 times by 13 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
| FALSE | never evaluated |
) | 0-20380 |
286 | d->group->d_func()->animations.append(this);executed 20380 times by 13 tests: d->group->d_func()->animations.append(this); Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
| 20380 |
287 | }executed 20380 times by 13 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
| 20380 |
288 | void QQuickAbstractAnimation::start() | - |
289 | { | - |
290 | setRunning(true); | - |
291 | }executed 265 times by 8 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquicktaphandler
| 265 |
292 | void QQuickAbstractAnimation::pause() | - |
293 | { | - |
294 | setPaused(true); | - |
295 | }executed 28 times by 2 tests: end of block Executed by:- tst_qquickanimations
- tst_qquicksmoothedanimation
| 28 |
296 | void QQuickAbstractAnimation::resume() | - |
297 | { | - |
298 | setPaused(false); | - |
299 | }executed 6 times by 1 test: end of block | 6 |
300 | void QQuickAbstractAnimation::stop() | - |
301 | { | - |
302 | setRunning(false); | - |
303 | }executed 31 times by 2 tests: end of block Executed by:- tst_qquickanimations
- tst_qquicksmoothedanimation
| 31 |
304 | void QQuickAbstractAnimation::restart() | - |
305 | { | - |
306 | stop(); | - |
307 | start(); | - |
308 | }executed 13 times by 2 tests: end of block Executed by:- tst_qquickanimations
- tst_qquicksmoothedanimation
| 13 |
309 | void QQuickAbstractAnimation::complete() | - |
310 | { | - |
311 | QQuickAbstractAnimationPrivate * const d = d_func(); | - |
312 | if (isRunning()TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
&& d->animationInstanceTRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) { | 0-2 |
313 | d->animationInstance->setCurrentTime(d->animationInstance->duration()); | - |
314 | }executed 2 times by 1 test: end of block | 2 |
315 | }executed 2 times by 1 test: end of block | 2 |
316 | | - |
317 | void QQuickAbstractAnimation::setTarget(const QQmlProperty &p) | - |
318 | { | - |
319 | QQuickAbstractAnimationPrivate * const d = d_func(); | - |
320 | d->defaultProperty = p; | - |
321 | | - |
322 | if (!d->avoidPropertyValueSourceStartTRUE | evaluated 4638 times by 6 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
| FALSE | evaluated 464 times by 5 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquicktaphandler
|
) | 464-4638 |
323 | setRunning(true);executed 4638 times by 6 tests: setRunning(true); Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
| 4638 |
324 | }executed 5102 times by 9 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquicktaphandler
| 5102 |
325 | | - |
326 | | - |
327 | | - |
328 | | - |
329 | | - |
330 | | - |
331 | void QQuickAbstractAnimation::setDefaultTarget(const QQmlProperty &p) | - |
332 | { | - |
333 | QQuickAbstractAnimationPrivate * const d = d_func(); | - |
334 | d->defaultProperty = p; | - |
335 | }executed 8820 times by 10 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquicktaphandler
| 8820 |
336 | | - |
337 | | - |
338 | | - |
339 | | - |
340 | | - |
341 | | - |
342 | void QQuickAbstractAnimation::setDisableUserControl() | - |
343 | { | - |
344 | QQuickAbstractAnimationPrivate * const d = d_func(); | - |
345 | d->disableUserControl = true; | - |
346 | }executed 1362 times by 13 tests: end of block Executed by:- tst_examples
- tst_qqmlenginedebugservice
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
| 1362 |
347 | | - |
348 | void QQuickAbstractAnimation::setEnableUserControl() | - |
349 | { | - |
350 | QQuickAbstractAnimationPrivate * const d = d_func(); | - |
351 | d->disableUserControl = false; | - |
352 | | - |
353 | } never executed: end of block | 0 |
354 | | - |
355 | bool QQuickAbstractAnimation::userControlDisabled() const | - |
356 | { | - |
357 | const QQuickAbstractAnimationPrivate * const d = d_func(); | - |
358 | returnexecuted 10 times by 1 test: return d->disableUserControl; Executed by:- tst_qquickanimationcontroller
d->disableUserControl;executed 10 times by 1 test: return d->disableUserControl; Executed by:- tst_qquickanimationcontroller
| 10 |
359 | } | - |
360 | | - |
361 | QAbstractAnimationJob* QQuickAbstractAnimation::initInstance(QAbstractAnimationJob *animation) | - |
362 | { | - |
363 | QQuickAbstractAnimationPrivate * const d = d_func(); | - |
364 | animation->setLoopCount(d->loopCount); | - |
365 | returnexecuted 82687 times by 17 tests: return animation; Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
animation;executed 82687 times by 17 tests: return animation; Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
| 82687 |
366 | } | - |
367 | | - |
368 | QAbstractAnimationJob* QQuickAbstractAnimation::transition(QQuickStateActions &actions, | - |
369 | QQmlProperties &modified, | - |
370 | TransitionDirection direction, | - |
371 | QObject *defaultTarget) | - |
372 | { | - |
373 | (void)actions;; | - |
374 | (void)modified;; | - |
375 | (void)direction;; | - |
376 | (void)defaultTarget;; | - |
377 | return never executed: return nullptr; nullptr;never executed: return nullptr; | 0 |
378 | } | - |
379 | | - |
380 | void QQuickAbstractAnimationPrivate::animationFinished(QAbstractAnimationJob*) | - |
381 | { | - |
382 | QQuickAbstractAnimation * const q = q_func(); | - |
383 | q->setRunning(false); | - |
384 | if (alwaysRunToEndTRUE | evaluated 6 times by 1 test | FALSE | evaluated 205 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
|
) { | 6-205 |
385 | q->stopped(); | - |
386 | | - |
387 | if (loopCount != 1TRUE | evaluated 4 times by 1 test | FALSE | evaluated 2 times by 1 test |
) | 2-4 |
388 | animationInstance->setLoopCount(loopCount);executed 4 times by 1 test: animationInstance->setLoopCount(loopCount); | 4 |
389 | }executed 6 times by 1 test: end of block | 6 |
390 | q->finished(); | - |
391 | }executed 211 times by 8 tests: end of block Executed by:- tst_examples
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
| 211 |
392 | | - |
393 | QQuickAbstractAnimation::ThreadingModel QQuickAbstractAnimation::threadingModel() const | - |
394 | { | - |
395 | returnexecuted 105523 times by 17 tests: return GuiThread; Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
GuiThread;executed 105523 times by 17 tests: return GuiThread; Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
| 105523 |
396 | } | - |
397 | QQuickPauseAnimation::QQuickPauseAnimation(QObject *parent) | - |
398 | : QQuickAbstractAnimation(*(new QQuickPauseAnimationPrivate), parent) | - |
399 | { | - |
400 | }executed 4288 times by 10 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
| 4288 |
401 | | - |
402 | QQuickPauseAnimation::~QQuickPauseAnimation() | - |
403 | { | - |
404 | } | - |
405 | | - |
406 | | - |
407 | | - |
408 | | - |
409 | | - |
410 | | - |
411 | | - |
412 | int QQuickPauseAnimation::duration() const | - |
413 | { | - |
414 | const QQuickPauseAnimationPrivate * const d = d_func(); | - |
415 | returnexecuted 2 times by 1 test: return d->duration; d->duration;executed 2 times by 1 test: return d->duration; | 2 |
416 | } | - |
417 | | - |
418 | void QQuickPauseAnimation::setDuration(int duration) | - |
419 | { | - |
420 | if (duration < 0TRUE | evaluated 2 times by 1 test | FALSE | evaluated 6410 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
|
) { | 2-6410 |
421 | qmlWarning(this) << tr("Cannot set a duration of < 0"); | - |
422 | return;executed 2 times by 1 test: return; | 2 |
423 | } | - |
424 | | - |
425 | QQuickPauseAnimationPrivate * const d = d_func(); | - |
426 | if (d->duration == durationTRUE | evaluated 8 times by 1 test | FALSE | evaluated 6402 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
|
) | 8-6402 |
427 | return;executed 8 times by 1 test: return; | 8 |
428 | d->duration = duration; | - |
429 | durationChanged(duration); | - |
430 | }executed 6402 times by 9 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
| 6402 |
431 | | - |
432 | QAbstractAnimationJob* QQuickPauseAnimation::transition(QQuickStateActions &actions, | - |
433 | QQmlProperties &modified, | - |
434 | TransitionDirection direction, | - |
435 | QObject *defaultTarget) | - |
436 | { | - |
437 | QQuickPauseAnimationPrivate * const d = d_func(); | - |
438 | (void)actions;; | - |
439 | (void)modified;; | - |
440 | (void)direction;; | - |
441 | (void)defaultTarget;; | - |
442 | | - |
443 | returnexecuted 2578 times by 8 tests: return initInstance(new QPauseAnimationJob(d->duration)); Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
initInstance(new QPauseAnimationJob(d->duration));executed 2578 times by 8 tests: return initInstance(new QPauseAnimationJob(d->duration)); Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
| 2578 |
444 | } | - |
445 | QQuickColorAnimation::QQuickColorAnimation(QObject *parent) | - |
446 | : QQuickPropertyAnimation(parent) | - |
447 | { | - |
448 | QQuickPropertyAnimationPrivate * const d = d_func(); | - |
449 | d->interpolatorType = QMetaType::QColor; | - |
450 | d->defaultToInterpolatorType = true; | - |
451 | d->interpolator = QVariantAnimationPrivate::getInterpolator(d->interpolatorType); | - |
452 | }executed 184 times by 4 tests: end of block Executed by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
| 184 |
453 | | - |
454 | QQuickColorAnimation::~QQuickColorAnimation() | - |
455 | { | - |
456 | } | - |
457 | QColor QQuickColorAnimation::from() const | - |
458 | { | - |
459 | const QQuickPropertyAnimationPrivate * const d = d_func(); | - |
460 | returnexecuted 2 times by 1 test: return d->from.value<QColor>(); d->from.value<QColor>();executed 2 times by 1 test: return d->from.value<QColor>(); | 2 |
461 | } | - |
462 | | - |
463 | void QQuickColorAnimation::setFrom(const QColor &f) | - |
464 | { | - |
465 | QQuickPropertyAnimation::setFrom(f); | - |
466 | }executed 174 times by 3 tests: end of block Executed by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickanimations
| 174 |
467 | QColor QQuickColorAnimation::to() const | - |
468 | { | - |
469 | const QQuickPropertyAnimationPrivate * const d = d_func(); | - |
470 | returnexecuted 2 times by 1 test: return d->to.value<QColor>(); d->to.value<QColor>();executed 2 times by 1 test: return d->to.value<QColor>(); | 2 |
471 | } | - |
472 | | - |
473 | void QQuickColorAnimation::setTo(const QColor &t) | - |
474 | { | - |
475 | QQuickPropertyAnimation::setTo(t); | - |
476 | }executed 180 times by 3 tests: end of block Executed by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickanimations
| 180 |
477 | | - |
478 | QActionAnimation::QActionAnimation() | - |
479 | : QAbstractAnimationJob(), animAction(nullptr) | - |
480 | { | - |
481 | }executed 960 times by 9 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
| 960 |
482 | | - |
483 | QActionAnimation::QActionAnimation(QAbstractAnimationAction *action) | - |
484 | : QAbstractAnimationJob(), animAction(action) | - |
485 | { | - |
486 | }executed 21638 times by 8 tests: end of block Executed by:- tst_examples
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
| 21638 |
487 | | - |
488 | QActionAnimation::~QActionAnimation() | - |
489 | { | - |
490 | delete animAction; | - |
491 | }executed 22592 times by 11 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
| 22592 |
492 | | - |
493 | int QActionAnimation::duration() const | - |
494 | { | - |
495 | returnexecuted 574315 times by 11 tests: return 0; Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
0;executed 574315 times by 11 tests: return 0; Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
| 574315 |
496 | } | - |
497 | | - |
498 | void QActionAnimation::setAnimAction(QAbstractAnimationAction *action) | - |
499 | { | - |
500 | if (isRunning()TRUE | never evaluated | FALSE | evaluated 960 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
|
) | 0-960 |
501 | stop(); never executed: stop(); | 0 |
502 | animAction = action; | - |
503 | }executed 960 times by 9 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
| 960 |
504 | | - |
505 | void QActionAnimation::updateCurrentTime(int) | - |
506 | { | - |
507 | } | - |
508 | | - |
509 | void QActionAnimation::updateState(State newState, State oldState) | - |
510 | { | - |
511 | (void)oldState;; | - |
512 | | - |
513 | if (newState == RunningTRUE | evaluated 18856 times by 11 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
| FALSE | evaluated 18856 times by 11 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
|
) { | 18856 |
514 | if (animActionTRUE | evaluated 18856 times by 11 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
| FALSE | never evaluated |
) { | 0-18856 |
515 | animAction->doAction(); | - |
516 | }executed 18856 times by 11 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
| 18856 |
517 | }executed 18856 times by 11 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
| 18856 |
518 | }executed 37712 times by 11 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
| 37712 |
519 | | - |
520 | void QActionAnimation::debugAnimation(QDebug d) const | - |
521 | { | - |
522 | d << "ActionAnimation(" << hex << (const void *) this << dec << ")"; | - |
523 | | - |
524 | if (animActionTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
525 | int indentLevel = 1; | - |
526 | const QAbstractAnimationJob *job = this; | - |
527 | while ((TRUE | never evaluated | FALSE | never evaluated |
job = job->group())TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
528 | ++ never executed: ++indentLevel; indentLevel;never executed: ++indentLevel; | 0 |
529 | animAction->debugAction(d, indentLevel); | - |
530 | } never executed: end of block | 0 |
531 | } never executed: end of block | 0 |
532 | QQuickScriptAction::QQuickScriptAction(QObject *parent) | - |
533 | :QQuickAbstractAnimation(*(new QQuickScriptActionPrivate), parent) | - |
534 | { | - |
535 | }executed 4042 times by 8 tests: end of block Executed by:- tst_examples
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
| 4042 |
536 | | - |
537 | QQuickScriptAction::~QQuickScriptAction() | - |
538 | { | - |
539 | } | - |
540 | | - |
541 | QQuickScriptActionPrivate::QQuickScriptActionPrivate() | - |
542 | : QQuickAbstractAnimationPrivate(), hasRunScriptScript(false), reversing(false){}executed 4042 times by 8 tests: end of block Executed by:- tst_examples
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
| 4042 |
543 | | - |
544 | | - |
545 | | - |
546 | | - |
547 | | - |
548 | QQmlScriptString QQuickScriptAction::script() const | - |
549 | { | - |
550 | const QQuickScriptActionPrivate * const d = d_func(); | - |
551 | return never executed: return d->script; d->script;never executed: return d->script; | 0 |
552 | } | - |
553 | | - |
554 | void QQuickScriptAction::setScript(const QQmlScriptString &script) | - |
555 | { | - |
556 | QQuickScriptActionPrivate * const d = d_func(); | - |
557 | d->script = script; | - |
558 | }executed 4042 times by 8 tests: end of block Executed by:- tst_examples
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
| 4042 |
559 | QString QQuickScriptAction::stateChangeScriptName() const | - |
560 | { | - |
561 | const QQuickScriptActionPrivate * const d = d_func(); | - |
562 | return never executed: return d->name; d->name;never executed: return d->name; | 0 |
563 | } | - |
564 | | - |
565 | void QQuickScriptAction::setStateChangeScriptName(const QString &name) | - |
566 | { | - |
567 | QQuickScriptActionPrivate * const d = d_func(); | - |
568 | d->name = name; | - |
569 | } never executed: end of block | 0 |
570 | | - |
571 | QAbstractAnimationAction* QQuickScriptActionPrivate::createAction() | - |
572 | { | - |
573 | returnexecuted 21638 times by 8 tests: return new Proxy(this); Executed by:- tst_examples
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
new Proxy(this);executed 21638 times by 8 tests: return new Proxy(this); Executed by:- tst_examples
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
| 21638 |
574 | } | - |
575 | | - |
576 | void QQuickScriptActionPrivate::debugAction(QDebug d, int indentLevel) const | - |
577 | { | - |
578 | QQmlScriptString scriptStr = hasRunScriptScriptTRUE | never evaluated | FALSE | never evaluated |
? runScriptScript : script; | 0 |
579 | | - |
580 | if (!scriptStr.isEmpty()TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
581 | QQmlExpression expr(scriptStr); | - |
582 | | - |
583 | QByteArray ind(indentLevel, ' '); | - |
584 | QString exprStr = expr.expression(); | - |
585 | int endOfFirstLine = exprStr.indexOf('\n'); | - |
586 | d << "\n" << ind.constData() << exprStr.leftRef(endOfFirstLine); | - |
587 | if (endOfFirstLine != -1TRUE | never evaluated | FALSE | never evaluated |
&& endOfFirstLine < exprStr.length()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
588 | d << "..."; never executed: d << "..."; | 0 |
589 | } never executed: end of block | 0 |
590 | } never executed: end of block | 0 |
591 | | - |
592 | void QQuickScriptActionPrivate::execute() | - |
593 | { | - |
594 | QQuickScriptAction * const q = q_func(); | - |
595 | if (hasRunScriptScriptTRUE | never evaluated | FALSE | evaluated 18056 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
|
&& reversingTRUE | never evaluated | FALSE | never evaluated |
) | 0-18056 |
596 | return; never executed: return; | 0 |
597 | | - |
598 | QQmlScriptString scriptStr = hasRunScriptScriptTRUE | never evaluated | FALSE | evaluated 18056 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
|
? runScriptScript : script; | 0-18056 |
599 | | - |
600 | if (!scriptStr.isEmpty()TRUE | evaluated 18056 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
| FALSE | never evaluated |
) { | 0-18056 |
601 | QQmlExpression expr(scriptStr); | - |
602 | expr.evaluate(); | - |
603 | if (expr.hasError()TRUE | never evaluated | FALSE | evaluated 18056 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
|
) | 0-18056 |
604 | qmlWarning(q) << expr.error(); never executed: qmlWarning(q) << expr.error(); | 0 |
605 | }executed 18056 times by 8 tests: end of block Executed by:- tst_examples
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
| 18056 |
606 | }executed 18056 times by 8 tests: end of block Executed by:- tst_examples
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
| 18056 |
607 | | - |
608 | QAbstractAnimationJob* QQuickScriptAction::transition(QQuickStateActions &actions, | - |
609 | QQmlProperties &modified, | - |
610 | TransitionDirection direction, | - |
611 | QObject *defaultTarget) | - |
612 | { | - |
613 | QQuickScriptActionPrivate * const d = d_func(); | - |
614 | (void)modified;; | - |
615 | (void)defaultTarget;; | - |
616 | | - |
617 | d->hasRunScriptScript = false; | - |
618 | d->reversing = (direction == Backward); | - |
619 | if (!d->name.isEmpty()TRUE | never evaluated | FALSE | evaluated 21638 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
|
) { | 0-21638 |
620 | for (int ii = 0; ii < actions.count()TRUE | never evaluated | FALSE | never evaluated |
; ++ii) { | 0 |
621 | QQuickStateAction &action = actions[ii]; | - |
622 | | - |
623 | if (action.eventTRUE | never evaluated | FALSE | never evaluated |
&& action.event->type() == QQuickStateActionEvent::ScriptTRUE | never evaluated | FALSE | never evaluated |
| 0 |
624 | && static_cast<TRUE | never evaluated | FALSE | never evaluated |
QQuickStateChangeScript*>(action.event)->name() == d->nameTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
625 | d->runScriptScript = static_cast<QQuickStateChangeScript*>(action.event)->script(); | - |
626 | d->hasRunScriptScript = true; | - |
627 | action.actionDone = true; | - |
628 | break; never executed: break; | 0 |
629 | } | - |
630 | } never executed: end of block | 0 |
631 | } never executed: end of block | 0 |
632 | returnexecuted 21638 times by 8 tests: return initInstance(new QActionAnimation(d->createAction())); Executed by:- tst_examples
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
initInstance(new QActionAnimation(d->createAction()));executed 21638 times by 8 tests: return initInstance(new QActionAnimation(d->createAction())); Executed by:- tst_examples
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
| 21638 |
633 | } | - |
634 | QQuickPropertyAction::QQuickPropertyAction(QObject *parent) | - |
635 | : QQuickAbstractAnimation(*(new QQuickPropertyActionPrivate), parent) | - |
636 | { | - |
637 | }executed 3596 times by 10 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
| 3596 |
638 | | - |
639 | QQuickPropertyAction::~QQuickPropertyAction() | - |
640 | { | - |
641 | } | - |
642 | | - |
643 | QObject *QQuickPropertyAction::target() const | - |
644 | { | - |
645 | const QQuickPropertyActionPrivate * const d = d_func(); | - |
646 | return never executed: return d->target; d->target;never executed: return d->target; | 0 |
647 | } | - |
648 | | - |
649 | void QQuickPropertyAction::setTargetObject(QObject *o) | - |
650 | { | - |
651 | QQuickPropertyActionPrivate * const d = d_func(); | - |
652 | if (d->target == oTRUE | never evaluated | FALSE | evaluated 1118 times by 5 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_scenegraph
|
) | 0-1118 |
653 | return; never executed: return; | 0 |
654 | d->target = o; | - |
655 | targetChanged(); | - |
656 | }executed 1118 times by 5 tests: end of block Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_scenegraph
| 1118 |
657 | | - |
658 | QString QQuickPropertyAction::property() const | - |
659 | { | - |
660 | const QQuickPropertyActionPrivate * const d = d_func(); | - |
661 | return never executed: return d->propertyName; d->propertyName;never executed: return d->propertyName; | 0 |
662 | } | - |
663 | | - |
664 | void QQuickPropertyAction::setProperty(const QString &n) | - |
665 | { | - |
666 | QQuickPropertyActionPrivate * const d = d_func(); | - |
667 | if (d->propertyName == nTRUE | never evaluated | FALSE | evaluated 1118 times by 5 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_scenegraph
|
) | 0-1118 |
668 | return; never executed: return; | 0 |
669 | d->propertyName = n; | - |
670 | propertyChanged(); | - |
671 | }executed 1118 times by 5 tests: end of block Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_scenegraph
| 1118 |
672 | QString QQuickPropertyAction::properties() const | - |
673 | { | - |
674 | const QQuickPropertyActionPrivate * const d = d_func(); | - |
675 | return never executed: return d->properties; d->properties;never executed: return d->properties; | 0 |
676 | } | - |
677 | | - |
678 | void QQuickPropertyAction::setProperties(const QString &p) | - |
679 | { | - |
680 | QQuickPropertyActionPrivate * const d = d_func(); | - |
681 | if (d->properties == pTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
682 | return; never executed: return; | 0 |
683 | d->properties = p; | - |
684 | propertiesChanged(p); | - |
685 | } never executed: end of block | 0 |
686 | | - |
687 | QQmlListProperty<QObject> QQuickPropertyAction::targets() | - |
688 | { | - |
689 | QQuickPropertyActionPrivate * const d = d_func(); | - |
690 | return never executed: return QQmlListProperty<QObject>(this, d->targets); QQmlListProperty<QObject>(this, d->targets);never executed: return QQmlListProperty<QObject>(this, d->targets); | 0 |
691 | } | - |
692 | | - |
693 | | - |
694 | | - |
695 | | - |
696 | | - |
697 | | - |
698 | | - |
699 | QQmlListProperty<QObject> QQuickPropertyAction::exclude() | - |
700 | { | - |
701 | QQuickPropertyActionPrivate * const d = d_func(); | - |
702 | return never executed: return QQmlListProperty<QObject>(this, d->exclude); QQmlListProperty<QObject>(this, d->exclude);never executed: return QQmlListProperty<QObject>(this, d->exclude); | 0 |
703 | } | - |
704 | QVariant QQuickPropertyAction::value() const | - |
705 | { | - |
706 | const QQuickPropertyActionPrivate * const d = d_func(); | - |
707 | return never executed: return d->value; d->value;never executed: return d->value; | 0 |
708 | } | - |
709 | | - |
710 | void QQuickPropertyAction::setValue(const QVariant &v) | - |
711 | { | - |
712 | QQuickPropertyActionPrivate * const d = d_func(); | - |
713 | if (d->value.isNullTRUE | evaluated 3594 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
| FALSE | never evaluated |
|| d->value != vTRUE | never evaluated | FALSE | never evaluated |
) { | 0-3594 |
714 | d->value = v; | - |
715 | valueChanged(v); | - |
716 | }executed 3594 times by 9 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
| 3594 |
717 | }executed 3594 times by 9 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
| 3594 |
718 | | - |
719 | QAbstractAnimationJob* QQuickPropertyAction::transition(QQuickStateActions &actions, | - |
720 | QQmlProperties &modified, | - |
721 | TransitionDirection direction, | - |
722 | QObject *defaultTarget) | - |
723 | { | - |
724 | QQuickPropertyActionPrivate * const d = d_func(); | - |
725 | (void)direction;; | - |
726 | | - |
727 | struct QQuickSetPropertyAnimationAction : public QAbstractAnimationAction | - |
728 | { | - |
729 | QQuickStateActions actions; | - |
730 | void doAction() override | - |
731 | { | - |
732 | for (int ii = 0; ii < actions.count()TRUE | evaluated 796 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
| FALSE | evaluated 796 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
|
; ++ii) { | 796 |
733 | const QQuickStateAction &action = actions.at(ii); | - |
734 | QQmlPropertyPrivate::write(action.property, action.toValue, QQmlPropertyData::BypassInterceptor | QQmlPropertyData::DontRemoveBinding); | - |
735 | }executed 796 times by 9 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
| 796 |
736 | }executed 796 times by 9 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
| 796 |
737 | void debugAction(QDebug d, int indentLevel) const override { | - |
738 | QByteArray ind(indentLevel, ' '); | - |
739 | for (int ii = 0; ii < actions.count()TRUE | never evaluated | FALSE | never evaluated |
; ++ii) { | 0 |
740 | const QQuickStateAction &action = actions.at(ii); | - |
741 | d << "\n" << ind.constData() << "target:" << action.property.object() << "property:" << action.property.name() | - |
742 | << "value:" << action.toValue; | - |
743 | } never executed: end of block | 0 |
744 | } never executed: end of block | 0 |
745 | }; | - |
746 | | - |
747 | QStringList props = d->properties.isEmpty()TRUE | evaluated 956 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
| FALSE | never evaluated |
? QStringList() : d->properties.split(QLatin1Char(',')); | 0-956 |
748 | for (int ii = 0; ii < props.count()TRUE | never evaluated | FALSE | evaluated 956 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
|
; ++ii) | 0-956 |
749 | props[ii] = props.at(ii).trimmed(); never executed: props[ii] = props.at(ii).trimmed(); | 0 |
750 | if (!d->propertyName.isEmpty()TRUE | evaluated 746 times by 5 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_scenegraph
| FALSE | evaluated 210 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickbehaviors
- tst_qquickimage
- tst_qquicktaphandler
|
) | 210-746 |
751 | props << d->propertyName;executed 746 times by 5 tests: props << d->propertyName; Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_scenegraph
| 746 |
752 | | - |
753 | QList<QObject*> targets = d->targets; | - |
754 | if (d->targetTRUE | evaluated 746 times by 5 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_scenegraph
| FALSE | evaluated 210 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickbehaviors
- tst_qquickimage
- tst_qquicktaphandler
|
) | 210-746 |
755 | targets.append(d->target);executed 746 times by 5 tests: targets.append(d->target); Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_scenegraph
| 746 |
756 | | - |
757 | bool hasSelectors = !props.isEmpty()TRUE | evaluated 746 times by 5 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_scenegraph
| FALSE | evaluated 210 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickbehaviors
- tst_qquickimage
- tst_qquicktaphandler
|
|| !targets.isEmpty()TRUE | never evaluated | FALSE | evaluated 210 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickbehaviors
- tst_qquickimage
- tst_qquicktaphandler
|
|| !d->exclude.isEmpty()TRUE | never evaluated | FALSE | evaluated 210 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickbehaviors
- tst_qquickimage
- tst_qquicktaphandler
|
; | 0-746 |
758 | | - |
759 | if (d->defaultProperty.isValid()TRUE | evaluated 214 times by 5 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickbehaviors
- tst_qquickimage
- tst_qquicktaphandler
| FALSE | evaluated 742 times by 5 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_scenegraph
|
&& !hasSelectorsTRUE | evaluated 210 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickbehaviors
- tst_qquickimage
- tst_qquicktaphandler
| FALSE | evaluated 4 times by 1 test |
) { | 4-742 |
760 | props << d->defaultProperty.name(); | - |
761 | targets << d->defaultProperty.object(); | - |
762 | }executed 210 times by 4 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickbehaviors
- tst_qquickimage
- tst_qquicktaphandler
| 210 |
763 | | - |
764 | if (defaultTargetTRUE | evaluated 524 times by 2 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
| FALSE | evaluated 432 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
|
&& targets.isEmpty()TRUE | never evaluated | FALSE | evaluated 524 times by 2 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
|
) | 0-524 |
765 | targets << defaultTarget; never executed: targets << defaultTarget; | 0 |
766 | | - |
767 | QQuickSetPropertyAnimationAction *data = new QQuickSetPropertyAnimationAction; | - |
768 | | - |
769 | bool hasExplicit = false; | - |
770 | | - |
771 | if (d->value.isValid()TRUE | evaluated 954 times by 8 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
| FALSE | evaluated 2 times by 1 test |
) { | 2-954 |
772 | for (int i = 0; i < props.count()TRUE | evaluated 954 times by 8 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
| FALSE | evaluated 954 times by 8 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
|
; ++i) { | 954 |
773 | for (int j = 0; j < targets.count()TRUE | evaluated 954 times by 8 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
| FALSE | evaluated 954 times by 8 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
|
; ++j) { | 954 |
774 | QQuickStateAction myAction; | - |
775 | myAction.property = d->createProperty(targets.at(j), props.at(i), this); | - |
776 | if (myAction.property.isValid()TRUE | evaluated 954 times by 8 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
| FALSE | never evaluated |
) { | 0-954 |
777 | myAction.toValue = d->value; | - |
778 | QQuickPropertyAnimationPrivate::convertVariant(myAction.toValue, myAction.property.propertyType()); | - |
779 | data->actions << myAction; | - |
780 | hasExplicit = true; | - |
781 | for (int ii = 0; ii < actions.count()TRUE | evaluated 1050 times by 3 testsEvaluated by:- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
| FALSE | evaluated 954 times by 8 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
|
; ++ii) { | 954-1050 |
782 | QQuickStateAction &action = actions[ii]; | - |
783 | if (action.property.object() == myAction.property.object()TRUE | never evaluated | FALSE | evaluated 1050 times by 3 testsEvaluated by:- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
|
&& | 0-1050 |
784 | myAction.property.name() == action.property.name()TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
785 | modified << action.property; | - |
786 | break; never executed: break; | 0 |
787 | } | - |
788 | }executed 1050 times by 3 tests: end of block Executed by:- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
| 1050 |
789 | }executed 954 times by 8 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
| 954 |
790 | }executed 954 times by 8 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
| 954 |
791 | }executed 954 times by 8 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
| 954 |
792 | }executed 954 times by 8 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
| 954 |
793 | | - |
794 | if (!hasExplicitTRUE | evaluated 2 times by 1 test | FALSE | evaluated 954 times by 8 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
|
) | 2-954 |
795 | for (int ii = 0; ii < actions.count()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 2 times by 1 test |
; ++ii) { | 2 |
796 | QQuickStateAction &action = actions[ii]; | - |
797 | | - |
798 | QObject *obj = action.property.object(); | - |
799 | QString propertyName = action.property.name(); | - |
800 | QObject *sObj = action.specifiedObject; | - |
801 | QString sPropertyName = action.specifiedProperty; | - |
802 | bool same = (obj == sObj); | - |
803 | | - |
804 | if ((targets.isEmpty()TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
|| targets.contains(obj)TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
|| (!sameTRUE | never evaluated | FALSE | never evaluated |
&& targets.contains(sObj)TRUE | never evaluated | FALSE | never evaluated |
)) && | 0-2 |
805 | (TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
!d->exclude.contains(obj))TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
&& (sameTRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
|| (TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
!d->exclude.contains(sObj))TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) && | 0-2 |
806 | (props.contains(propertyName)TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
|| (!sameTRUE | never evaluated | FALSE | never evaluated |
&& props.contains(sPropertyName)TRUE | never evaluated | FALSE | never evaluated |
))) { | 0-2 |
807 | QQuickStateAction myAction = action; | - |
808 | | - |
809 | if (d->value.isValid()TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
) | 0-2 |
810 | myAction.toValue = d->value; never executed: myAction.toValue = d->value; | 0 |
811 | QQuickPropertyAnimationPrivate::convertVariant(myAction.toValue, myAction.property.propertyType()); | - |
812 | | - |
813 | modified << action.property; | - |
814 | data->actions << myAction; | - |
815 | action.fromValue = myAction.toValue; | - |
816 | }executed 2 times by 1 test: end of block | 2 |
817 | }executed 2 times by 1 test: end of block | 2 |
818 | | - |
819 | QActionAnimation *action = new QActionAnimation; | - |
820 | if (data->actions.count()TRUE | evaluated 956 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
| FALSE | never evaluated |
) { | 0-956 |
821 | action->setAnimAction(data); | - |
822 | }executed 956 times by 9 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
else { | 956 |
823 | delete data; | - |
824 | } never executed: end of block | 0 |
825 | returnexecuted 956 times by 9 tests: return initInstance(action); Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
initInstance(action);executed 956 times by 9 tests: return initInstance(action); Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
| 956 |
826 | } | - |
827 | QQuickNumberAnimation::QQuickNumberAnimation(QObject *parent) | - |
828 | : QQuickPropertyAnimation(parent) | - |
829 | { | - |
830 | init(); | - |
831 | }executed 8020 times by 12 tests: end of block Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_scenegraph
| 8020 |
832 | | - |
833 | QQuickNumberAnimation::QQuickNumberAnimation(QQuickPropertyAnimationPrivate &dd, QObject *parent) | - |
834 | : QQuickPropertyAnimation(dd, parent) | - |
835 | { | - |
836 | init(); | - |
837 | }executed 98 times by 6 tests: end of block Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
| 98 |
838 | | - |
839 | QQuickNumberAnimation::~QQuickNumberAnimation() | - |
840 | { | - |
841 | } | - |
842 | | - |
843 | void QQuickNumberAnimation::init() | - |
844 | { | - |
845 | QQuickPropertyAnimationPrivate * const d = d_func(); | - |
846 | d->interpolatorType = QMetaType::QReal; | - |
847 | d->interpolator = QVariantAnimationPrivate::getInterpolator(d->interpolatorType); | - |
848 | }executed 8118 times by 14 tests: end of block Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
| 8118 |
849 | qreal QQuickNumberAnimation::from() const | - |
850 | { | - |
851 | const QQuickPropertyAnimationPrivate * const d = d_func(); | - |
852 | return never executed: return d->from.toReal(); d->from.toReal();never executed: return d->from.toReal(); | 0 |
853 | } | - |
854 | | - |
855 | void QQuickNumberAnimation::setFrom(qreal f) | - |
856 | { | - |
857 | QQuickPropertyAnimation::setFrom(f); | - |
858 | }executed 5254 times by 9 tests: end of block Executed by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickspringanimation
- tst_scenegraph
| 5254 |
859 | qreal QQuickNumberAnimation::to() const | - |
860 | { | - |
861 | const QQuickPropertyAnimationPrivate * const d = d_func(); | - |
862 | returnexecuted 27 times by 3 tests: return d->to.toReal(); Executed by:- tst_qquickanimations
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
d->to.toReal();executed 27 times by 3 tests: return d->to.toReal(); Executed by:- tst_qquickanimations
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
| 27 |
863 | } | - |
864 | | - |
865 | void QQuickNumberAnimation::setTo(qreal t) | - |
866 | { | - |
867 | QQuickPropertyAnimation::setTo(t); | - |
868 | }executed 6631 times by 11 tests: end of block Executed by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
| 6631 |
869 | QQuickVector3dAnimation::QQuickVector3dAnimation(QObject *parent) | - |
870 | : QQuickPropertyAnimation(parent) | - |
871 | { | - |
872 | QQuickPropertyAnimationPrivate * const d = d_func(); | - |
873 | d->interpolatorType = QMetaType::QVector3D; | - |
874 | d->defaultToInterpolatorType = true; | - |
875 | d->interpolator = QVariantAnimationPrivate::getInterpolator(d->interpolatorType); | - |
876 | } never executed: end of block | 0 |
877 | | - |
878 | QQuickVector3dAnimation::~QQuickVector3dAnimation() | - |
879 | { | - |
880 | } | - |
881 | QVector3D QQuickVector3dAnimation::from() const | - |
882 | { | - |
883 | const QQuickPropertyAnimationPrivate * const d = d_func(); | - |
884 | return never executed: return d->from.value<QVector3D>(); d->from.value<QVector3D>();never executed: return d->from.value<QVector3D>(); | 0 |
885 | } | - |
886 | | - |
887 | void QQuickVector3dAnimation::setFrom(QVector3D f) | - |
888 | { | - |
889 | QQuickPropertyAnimation::setFrom(f); | - |
890 | } never executed: end of block | 0 |
891 | QVector3D QQuickVector3dAnimation::to() const | - |
892 | { | - |
893 | const QQuickPropertyAnimationPrivate * const d = d_func(); | - |
894 | return never executed: return d->to.value<QVector3D>(); d->to.value<QVector3D>();never executed: return d->to.value<QVector3D>(); | 0 |
895 | } | - |
896 | | - |
897 | void QQuickVector3dAnimation::setTo(QVector3D t) | - |
898 | { | - |
899 | QQuickPropertyAnimation::setTo(t); | - |
900 | } never executed: end of block | 0 |
901 | QVariant _q_interpolateShortestRotation(qreal &f, qreal &t, qreal progress) | - |
902 | { | - |
903 | qreal newt = t; | - |
904 | qreal diff = t-f; | - |
905 | while(diff > 180.0TRUE | evaluated 126 times by 1 test | FALSE | evaluated 128 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquickbehaviors
|
){ | 126-128 |
906 | newt -= 360.0; | - |
907 | diff -= 360.0; | - |
908 | }executed 126 times by 1 test: end of block | 126 |
909 | while(diff < -180.0TRUE | never evaluated | FALSE | evaluated 128 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquickbehaviors
|
){ | 0-128 |
910 | newt += 360.0; | - |
911 | diff += 360.0; | - |
912 | } never executed: end of block | 0 |
913 | returnexecuted 128 times by 2 tests: return QVariant(f + (newt - f) * progress); Executed by:- tst_qquickanimations
- tst_qquickbehaviors
QVariant(f + (newt - f) * progress);executed 128 times by 2 tests: return QVariant(f + (newt - f) * progress); Executed by:- tst_qquickanimations
- tst_qquickbehaviors
| 128 |
914 | } | - |
915 | | - |
916 | QVariant _q_interpolateClockwiseRotation(qreal &f, qreal &t, qreal progress) | - |
917 | { | - |
918 | qreal newt = t; | - |
919 | qreal diff = t-f; | - |
920 | while(diff < 0.0TRUE | never evaluated | FALSE | evaluated 126 times by 1 test |
){ | 0-126 |
921 | newt += 360.0; | - |
922 | diff += 360.0; | - |
923 | } never executed: end of block | 0 |
924 | returnexecuted 126 times by 1 test: return QVariant(f + (newt - f) * progress); QVariant(f + (newt - f) * progress);executed 126 times by 1 test: return QVariant(f + (newt - f) * progress); | 126 |
925 | } | - |
926 | | - |
927 | QVariant _q_interpolateCounterclockwiseRotation(qreal &f, qreal &t, qreal progress) | - |
928 | { | - |
929 | qreal newt = t; | - |
930 | qreal diff = t-f; | - |
931 | while(diff > 0.0TRUE | evaluated 252 times by 1 test | FALSE | evaluated 126 times by 1 test |
){ | 126-252 |
932 | newt -= 360.0; | - |
933 | diff -= 360.0; | - |
934 | }executed 252 times by 1 test: end of block | 252 |
935 | returnexecuted 126 times by 1 test: return QVariant(f + (newt - f) * progress); QVariant(f + (newt - f) * progress);executed 126 times by 1 test: return QVariant(f + (newt - f) * progress); | 126 |
936 | } | - |
937 | | - |
938 | QQuickRotationAnimation::QQuickRotationAnimation(QObject *parent) | - |
939 | : QQuickPropertyAnimation(*(new QQuickRotationAnimationPrivate), parent) | - |
940 | { | - |
941 | QQuickRotationAnimationPrivate * const d = d_func(); | - |
942 | d->interpolatorType = QMetaType::QReal; | - |
943 | d->interpolator = QVariantAnimationPrivate::getInterpolator(d->interpolatorType); | - |
944 | d->defaultProperties = QLatin1String("rotation,angle"); | - |
945 | }executed 14 times by 2 tests: end of block Executed by:- tst_qquickanimations
- tst_qquickbehaviors
| 14 |
946 | | - |
947 | QQuickRotationAnimation::~QQuickRotationAnimation() | - |
948 | { | - |
949 | } | - |
950 | qreal QQuickRotationAnimation::from() const | - |
951 | { | - |
952 | const QQuickRotationAnimationPrivate * const d = d_func(); | - |
953 | return never executed: return d->from.toReal(); d->from.toReal();never executed: return d->from.toReal(); | 0 |
954 | } | - |
955 | | - |
956 | void QQuickRotationAnimation::setFrom(qreal f) | - |
957 | { | - |
958 | QQuickPropertyAnimation::setFrom(f); | - |
959 | }executed 4 times by 1 test: end of block | 4 |
960 | qreal QQuickRotationAnimation::to() const | - |
961 | { | - |
962 | const QQuickRotationAnimationPrivate * const d = d_func(); | - |
963 | returnexecuted 2 times by 1 test: return d->to.toReal(); d->to.toReal();executed 2 times by 1 test: return d->to.toReal(); | 2 |
964 | } | - |
965 | | - |
966 | void QQuickRotationAnimation::setTo(qreal t) | - |
967 | { | - |
968 | QQuickPropertyAnimation::setTo(t); | - |
969 | }executed 4 times by 1 test: end of block | 4 |
970 | QQuickRotationAnimation::RotationDirection QQuickRotationAnimation::direction() const | - |
971 | { | - |
972 | const QQuickRotationAnimationPrivate * const d = d_func(); | - |
973 | returnexecuted 2 times by 1 test: return d->direction; d->direction;executed 2 times by 1 test: return d->direction; | 2 |
974 | } | - |
975 | | - |
976 | void QQuickRotationAnimation::setDirection(QQuickRotationAnimation::RotationDirection direction) | - |
977 | { | - |
978 | QQuickRotationAnimationPrivate * const d = d_func(); | - |
979 | if (d->direction == directionTRUE | evaluated 2 times by 1 test | FALSE | evaluated 8 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquickbehaviors
|
) | 2-8 |
980 | return;executed 2 times by 1 test: return; | 2 |
981 | | - |
982 | d->direction = direction; | - |
983 | switch(d->direction) { | - |
984 | caseexecuted 2 times by 1 test: case Clockwise: Clockwise:executed 2 times by 1 test: case Clockwise: | 2 |
985 | d->interpolator = reinterpret_cast<QVariantAnimation::Interpolator>(reinterpret_cast<void *>(&_q_interpolateClockwiseRotation)); | - |
986 | break;executed 2 times by 1 test: break; | 2 |
987 | caseexecuted 2 times by 1 test: case Counterclockwise: Counterclockwise:executed 2 times by 1 test: case Counterclockwise: | 2 |
988 | d->interpolator = reinterpret_cast<QVariantAnimation::Interpolator>(reinterpret_cast<void *>(&_q_interpolateCounterclockwiseRotation)); | - |
989 | break;executed 2 times by 1 test: break; | 2 |
990 | caseexecuted 4 times by 2 tests: case Shortest: Executed by:- tst_qquickanimations
- tst_qquickbehaviors
Shortest:executed 4 times by 2 tests: case Shortest: Executed by:- tst_qquickanimations
- tst_qquickbehaviors
| 4 |
991 | d->interpolator = reinterpret_cast<QVariantAnimation::Interpolator>(reinterpret_cast<void *>(&_q_interpolateShortestRotation)); | - |
992 | break;executed 4 times by 2 tests: break; Executed by:- tst_qquickanimations
- tst_qquickbehaviors
| 4 |
993 | default never executed: default: :never executed: default: | 0 |
994 | d->interpolator = QVariantAnimationPrivate::getInterpolator(d->interpolatorType); | - |
995 | break; never executed: break; | 0 |
996 | } | - |
997 | directionChanged(); | - |
998 | }executed 8 times by 2 tests: end of block Executed by:- tst_qquickanimations
- tst_qquickbehaviors
| 8 |
999 | | - |
1000 | | - |
1001 | | - |
1002 | QQuickAnimationGroup::QQuickAnimationGroup(QObject *parent) | - |
1003 | : QQuickAbstractAnimation(*(new QQuickAnimationGroupPrivate), parent) | - |
1004 | { | - |
1005 | }executed 5152 times by 13 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
| 5152 |
1006 | | - |
1007 | QQuickAnimationGroup::QQuickAnimationGroup(QQuickAnimationGroupPrivate &dd, QObject *parent) | - |
1008 | : QQuickAbstractAnimation(dd, parent) | - |
1009 | { | - |
1010 | }executed 2 times by 1 test: end of block | 2 |
1011 | | - |
1012 | void QQuickAnimationGroupPrivate::append_animation(QQmlListProperty<QQuickAbstractAnimation> *list, QQuickAbstractAnimation *a) | - |
1013 | { | - |
1014 | QQuickAnimationGroup *q = qmlobject_cast<QQuickAnimationGroup *>(list->object); | - |
1015 | if (qTRUE | evaluated 20384 times by 13 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
| FALSE | never evaluated |
&& aTRUE | evaluated 20380 times by 13 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
| FALSE | evaluated 4 times by 1 test |
) | 0-20384 |
1016 | a->setGroup(q);executed 20380 times by 13 tests: a->setGroup(q); Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
| 20380 |
1017 | }executed 20384 times by 13 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
| 20384 |
1018 | | - |
1019 | void QQuickAnimationGroupPrivate::clear_animation(QQmlListProperty<QQuickAbstractAnimation> *list) | - |
1020 | { | - |
1021 | QQuickAnimationGroup *q = qobject_cast<QQuickAnimationGroup *>(list->object); | - |
1022 | if (qTRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
) { | 0-4 |
1023 | while (q->d_func()->animations.count()TRUE | never evaluated | FALSE | evaluated 4 times by 1 test |
) { | 0-4 |
1024 | QQuickAbstractAnimation *firstAnim = q->d_func()->animations.at(0); | - |
1025 | firstAnim->setGroup(nullptr); | - |
1026 | } never executed: end of block | 0 |
1027 | }executed 4 times by 1 test: end of block | 4 |
1028 | }executed 4 times by 1 test: end of block | 4 |
1029 | | - |
1030 | QQuickAnimationGroup::~QQuickAnimationGroup() | - |
1031 | { | - |
1032 | QQuickAnimationGroupPrivate * const d = d_func(); | - |
1033 | for (int i = 0; i < d->animations.count()TRUE | evaluated 20372 times by 13 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
| FALSE | evaluated 5148 times by 13 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
|
; ++i) | 5148-20372 |
1034 | d->animations.at(i)->d_func()->group = nullptr;executed 20372 times by 13 tests: d->animations.at(i)->d_func()->group = nullptr; Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
| 20372 |
1035 | d->animations.clear(); | - |
1036 | }executed 5148 times by 13 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
| 5148 |
1037 | | - |
1038 | QQmlListProperty<QQuickAbstractAnimation> QQuickAnimationGroup::animations() | - |
1039 | { | - |
1040 | QQuickAnimationGroupPrivate * const d = d_func(); | - |
1041 | QQmlListProperty<QQuickAbstractAnimation> list(this, d->animations); | - |
1042 | list.append = &QQuickAnimationGroupPrivate::append_animation; | - |
1043 | list.clear = &QQuickAnimationGroupPrivate::clear_animation; | - |
1044 | returnexecuted 5158 times by 13 tests: return list; Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
list;executed 5158 times by 13 tests: return list; Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
| 5158 |
1045 | } | - |
1046 | QQuickSequentialAnimation::QQuickSequentialAnimation(QObject *parent) : | - |
1047 | QQuickAnimationGroup(parent) | - |
1048 | { | - |
1049 | }executed 4130 times by 13 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
| 4130 |
1050 | | - |
1051 | QQuickSequentialAnimation::~QQuickSequentialAnimation() | - |
1052 | { | - |
1053 | } | - |
1054 | | - |
1055 | QQuickAbstractAnimation::ThreadingModel QQuickSequentialAnimation::threadingModel() const | - |
1056 | { | - |
1057 | const QQuickAnimationGroupPrivate * const d = d_func(); | - |
1058 | | - |
1059 | ThreadingModel style = AnyThread; | - |
1060 | for (int i=0; i<d->animations.size()TRUE | evaluated 25342 times by 12 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
| FALSE | evaluated 8 times by 1 test |
; ++i) { | 8-25342 |
1061 | ThreadingModel ces = d->animations.at(i)->threadingModel(); | - |
1062 | if (ces == GuiThreadTRUE | evaluated 25322 times by 12 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
| FALSE | evaluated 20 times by 1 test |
) | 20-25322 |
1063 | returnexecuted 25322 times by 12 tests: return GuiThread; Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
GuiThread;executed 25322 times by 12 tests: return GuiThread; Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
| 25322 |
1064 | else if (ces == RenderThreadTRUE | evaluated 20 times by 1 test | FALSE | never evaluated |
) | 0-20 |
1065 | style = RenderThread;executed 20 times by 1 test: style = RenderThread; | 20 |
1066 | }executed 20 times by 1 test: end of block | 20 |
1067 | returnexecuted 8 times by 1 test: return style; style;executed 8 times by 1 test: return style; | 8 |
1068 | } | - |
1069 | | - |
1070 | QAbstractAnimationJob* QQuickSequentialAnimation::transition(QQuickStateActions &actions, | - |
1071 | QQmlProperties &modified, | - |
1072 | TransitionDirection direction, | - |
1073 | QObject *defaultTarget) | - |
1074 | { | - |
1075 | QQuickAnimationGroupPrivate * const d = d_func(); | - |
1076 | | - |
1077 | QSequentialAnimationGroupJob *ag = new QSequentialAnimationGroupJob; | - |
1078 | | - |
1079 | int inc = 1; | - |
1080 | int from = 0; | - |
1081 | if (direction == BackwardTRUE | never evaluated | FALSE | evaluated 12664 times by 12 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
|
) { | 0-12664 |
1082 | inc = -1; | - |
1083 | from = d->animations.count() - 1; | - |
1084 | } never executed: end of block | 0 |
1085 | | - |
1086 | ThreadingModel execution = threadingModel(); | - |
1087 | | - |
1088 | bool valid = d->defaultProperty.isValid(); | - |
1089 | QAbstractAnimationJob* anim; | - |
1090 | for (int ii = from; ii < d->animations.count()TRUE | evaluated 46526 times by 12 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
| FALSE | evaluated 12664 times by 12 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
|
&& ii >= 0TRUE | evaluated 46526 times by 12 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
| FALSE | never evaluated |
; ii += inc) { | 0-46526 |
1091 | if (validTRUE | evaluated 8602 times by 6 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickimage
- tst_qquicktaphandler
| FALSE | evaluated 37924 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
|
) | 8602-37924 |
1092 | d->animations.at(ii)->setDefaultTarget(d->defaultProperty);executed 8602 times by 6 tests: d->animations.at(ii)->setDefaultTarget(d->defaultProperty); Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickimage
- tst_qquicktaphandler
| 8602 |
1093 | anim = d->animations.at(ii)->transition(actions, modified, direction, defaultTarget); | - |
1094 | if (animTRUE | evaluated 46526 times by 12 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
| FALSE | never evaluated |
) { | 0-46526 |
1095 | if (d->animations.at(ii)->threadingModel() == RenderThreadTRUE | evaluated 6 times by 1 test | FALSE | evaluated 46520 times by 12 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
|
&& execution != RenderThreadTRUE | evaluated 2 times by 1 test | FALSE | evaluated 4 times by 1 test |
) | 2-46520 |
1096 | anim = new QQuickAnimatorProxyJob(anim, this);executed 2 times by 1 test: anim = new QQuickAnimatorProxyJob(anim, this); | 2 |
1097 | inc == -1 ? ag->prependAnimation(anim) : ag->appendAnimation(anim); | - |
1098 | }executed 46526 times by 12 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
| 46526 |
1099 | }executed 46526 times by 12 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
| 46526 |
1100 | | - |
1101 | returnexecuted 12664 times by 12 tests: return initInstance(ag); Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
initInstance(ag);executed 12664 times by 12 tests: return initInstance(ag); Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
| 12664 |
1102 | } | - |
1103 | QQuickParallelAnimation::QQuickParallelAnimation(QObject *parent) : | - |
1104 | QQuickAnimationGroup(parent) | - |
1105 | { | - |
1106 | }executed 1022 times by 7 tests: end of block Executed by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
| 1022 |
1107 | | - |
1108 | QQuickParallelAnimation::~QQuickParallelAnimation() | - |
1109 | { | - |
1110 | } | - |
1111 | | - |
1112 | QQuickAbstractAnimation::ThreadingModel QQuickParallelAnimation::threadingModel() const | - |
1113 | { | - |
1114 | const QQuickAnimationGroupPrivate * const d = d_func(); | - |
1115 | | - |
1116 | ThreadingModel style = AnyThread; | - |
1117 | for (int i=0; i<d->animations.size()TRUE | evaluated 21390 times by 6 testsEvaluated by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
| FALSE | evaluated 24 times by 1 test |
; ++i) { | 24-21390 |
1118 | ThreadingModel ces = d->animations.at(i)->threadingModel(); | - |
1119 | if (ces == GuiThreadTRUE | evaluated 21342 times by 6 testsEvaluated by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
| FALSE | evaluated 48 times by 1 test |
) | 48-21342 |
1120 | returnexecuted 21342 times by 6 tests: return GuiThread; Executed by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
GuiThread;executed 21342 times by 6 tests: return GuiThread; Executed by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
| 21342 |
1121 | else if (ces == RenderThreadTRUE | evaluated 48 times by 1 test | FALSE | never evaluated |
) | 0-48 |
1122 | style = RenderThread;executed 48 times by 1 test: style = RenderThread; | 48 |
1123 | }executed 48 times by 1 test: end of block | 48 |
1124 | returnexecuted 24 times by 1 test: return style; style;executed 24 times by 1 test: return style; | 24 |
1125 | } | - |
1126 | | - |
1127 | | - |
1128 | | - |
1129 | QAbstractAnimationJob* QQuickParallelAnimation::transition(QQuickStateActions &actions, | - |
1130 | QQmlProperties &modified, | - |
1131 | TransitionDirection direction, | - |
1132 | QObject *defaultTarget) | - |
1133 | { | - |
1134 | QQuickAnimationGroupPrivate * const d = d_func(); | - |
1135 | QParallelAnimationGroupJob *ag = new QParallelAnimationGroupJob; | - |
1136 | | - |
1137 | ThreadingModel style = threadingModel(); | - |
1138 | | - |
1139 | bool valid = d->defaultProperty.isValid(); | - |
1140 | QAbstractAnimationJob* anim; | - |
1141 | for (int ii = 0; ii < d->animations.count()TRUE | evaluated 20402 times by 6 testsEvaluated by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
| FALSE | evaluated 10194 times by 6 testsEvaluated by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
|
; ++ii) { | 10194-20402 |
1142 | if (validTRUE | never evaluated | FALSE | evaluated 20402 times by 6 testsEvaluated by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
|
) | 0-20402 |
1143 | d->animations.at(ii)->setDefaultTarget(d->defaultProperty); never executed: d->animations.at(ii)->setDefaultTarget(d->defaultProperty); | 0 |
1144 | anim = d->animations.at(ii)->transition(actions, modified, direction, defaultTarget); | - |
1145 | if (animTRUE | evaluated 20402 times by 6 testsEvaluated by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
| FALSE | never evaluated |
) { | 0-20402 |
1146 | if (d->animations.at(ii)->threadingModel() == RenderThreadTRUE | evaluated 10 times by 1 test | FALSE | evaluated 20392 times by 6 testsEvaluated by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
|
&& style != RenderThreadTRUE | evaluated 2 times by 1 test | FALSE | evaluated 8 times by 1 test |
) | 2-20392 |
1147 | anim = new QQuickAnimatorProxyJob(anim, this);executed 2 times by 1 test: anim = new QQuickAnimatorProxyJob(anim, this); | 2 |
1148 | ag->appendAnimation(anim); | - |
1149 | }executed 20402 times by 6 tests: end of block Executed by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
| 20402 |
1150 | }executed 20402 times by 6 tests: end of block Executed by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
| 20402 |
1151 | returnexecuted 10194 times by 6 tests: return initInstance(ag); Executed by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
initInstance(ag);executed 10194 times by 6 tests: return initInstance(ag); Executed by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
| 10194 |
1152 | } | - |
1153 | | - |
1154 | | - |
1155 | void QQuickPropertyAnimationPrivate::convertVariant(QVariant &variant, int type) | - |
1156 | { | - |
1157 | if (variant.userType() != QVariant::StringTRUE | evaluated 92301 times by 16 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
| FALSE | evaluated 14 times by 3 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickimage
|
) { | 14-92301 |
1158 | variant.convert(type); | - |
1159 | return;executed 92301 times by 16 tests: return; Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
| 92301 |
1160 | } | - |
1161 | | - |
1162 | switch (type) { | - |
1163 | case never executed: case QVariant::Rect: QVariant::Rect:never executed: case QVariant::Rect: | 0 |
1164 | case never executed: case QVariant::RectF: QVariant::RectF:never executed: case QVariant::RectF: | 0 |
1165 | case never executed: case QVariant::Point: QVariant::Point:never executed: case QVariant::Point: | 0 |
1166 | case never executed: case QVariant::PointF: QVariant::PointF:never executed: case QVariant::PointF: | 0 |
1167 | case never executed: case QVariant::Size: QVariant::Size:never executed: case QVariant::Size: | 0 |
1168 | case never executed: case QVariant::SizeF: QVariant::SizeF:never executed: case QVariant::SizeF: | 0 |
1169 | caseexecuted 4 times by 1 test: case QVariant::Color: QVariant::Color:executed 4 times by 1 test: case QVariant::Color: | 4 |
1170 | case never executed: case QVariant::Vector3D: QVariant::Vector3D:never executed: case QVariant::Vector3D: | 0 |
1171 | { | - |
1172 | bool ok = false; | - |
1173 | variant = QQmlStringConverters::variantFromString(variant.toString(), type, &ok); | - |
1174 | } | - |
1175 | break;executed 4 times by 1 test: break; | 4 |
1176 | defaultexecuted 10 times by 3 tests: default: Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickimage
:executed 10 times by 3 tests: default: Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickimage
| 10 |
1177 | if (QQmlValueTypeFactory::isValueType((uint)type)TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquickimage
| FALSE | evaluated 4 times by 1 test |
) { | 4-6 |
1178 | variant.convert(type); | - |
1179 | }executed 6 times by 2 tests: end of block Executed by:- tst_qquickanimations
- tst_qquickimage
else { | 6 |
1180 | QQmlMetaType::StringConverter converter = QQmlMetaType::customStringConverter(type); | - |
1181 | if (converterTRUE | never evaluated | FALSE | evaluated 4 times by 1 test |
) | 0-4 |
1182 | variant = converter(variant.toString()); never executed: variant = converter(variant.toString()); | 0 |
1183 | }executed 4 times by 1 test: end of block | 4 |
1184 | break;executed 10 times by 3 tests: break; Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickimage
| 10 |
1185 | } | - |
1186 | } | - |
1187 | | - |
1188 | QQuickBulkValueAnimator::QQuickBulkValueAnimator() | - |
1189 | : QAbstractAnimationJob(), animValue(nullptr), fromSourced(nullptr), m_duration(250) | - |
1190 | { | - |
1191 | }executed 34536 times by 12 tests: end of block Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_scenegraph
| 34536 |
1192 | | - |
1193 | QQuickBulkValueAnimator::~QQuickBulkValueAnimator() | - |
1194 | { | - |
1195 | delete animValue; | - |
1196 | }executed 34470 times by 12 tests: end of block Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_scenegraph
| 34470 |
1197 | | - |
1198 | void QQuickBulkValueAnimator::setAnimValue(QQuickBulkValueUpdater *value) | - |
1199 | { | - |
1200 | if (isRunning()TRUE | never evaluated | FALSE | evaluated 34522 times by 12 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_scenegraph
|
) | 0-34522 |
1201 | stop(); never executed: stop(); | 0 |
1202 | animValue = value; | - |
1203 | }executed 34522 times by 12 tests: end of block Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_scenegraph
| 34522 |
1204 | | - |
1205 | void QQuickBulkValueAnimator::updateCurrentTime(int currentTime) | - |
1206 | { | - |
1207 | if (isStopped()TRUE | never evaluated | FALSE | evaluated 95918 times by 12 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_scenegraph
|
) | 0-95918 |
1208 | return; never executed: return; | 0 |
1209 | | - |
1210 | const qreal progress = easing.valueForProgress(((m_duration == 0) ? qreal(1) : qreal(currentTime) / qreal(m_duration))); | - |
1211 | | - |
1212 | if (animValueTRUE | evaluated 95616 times by 12 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_scenegraph
| FALSE | evaluated 302 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquickbehaviors
|
) | 302-95616 |
1213 | animValue->setValue(progress);executed 95616 times by 12 tests: animValue->setValue(progress); Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_scenegraph
| 95616 |
1214 | }executed 95918 times by 12 tests: end of block Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_scenegraph
| 95918 |
1215 | | - |
1216 | void QQuickBulkValueAnimator::topLevelAnimationLoopChanged() | - |
1217 | { | - |
1218 | | - |
1219 | if (fromSourcedTRUE | evaluated 34566 times by 12 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_scenegraph
| FALSE | evaluated 14 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquickbehaviors
|
) | 14-34566 |
1220 | *executed 34566 times by 12 tests: *fromSourced = false; Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_scenegraph
fromSourced = false;executed 34566 times by 12 tests: *fromSourced = false; Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_scenegraph
| 34566 |
1221 | QAbstractAnimationJob::topLevelAnimationLoopChanged(); | - |
1222 | }executed 34580 times by 12 tests: end of block Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_scenegraph
| 34580 |
1223 | | - |
1224 | void QQuickBulkValueAnimator::debugAnimation(QDebug d) const | - |
1225 | { | - |
1226 | d << "BulkValueAnimation(" << hex << (const void *) this << dec << ")" << "duration:" << duration(); | - |
1227 | | - |
1228 | if (animValueTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1229 | int indentLevel = 1; | - |
1230 | const QAbstractAnimationJob *job = this; | - |
1231 | while ((TRUE | never evaluated | FALSE | never evaluated |
job = job->group())TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1232 | ++ never executed: ++indentLevel; indentLevel;never executed: ++indentLevel; | 0 |
1233 | animValue->debugUpdater(d, indentLevel); | - |
1234 | } never executed: end of block | 0 |
1235 | } never executed: end of block | 0 |
1236 | QQuickPropertyAnimation::QQuickPropertyAnimation(QObject *parent) | - |
1237 | : QQuickAbstractAnimation(*(new QQuickPropertyAnimationPrivate), parent) | - |
1238 | { | - |
1239 | }executed 10244 times by 13 tests: end of block Executed by:- tst_examples
- tst_qqmlenginedebugservice
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_scenegraph
| 10244 |
1240 | | - |
1241 | QQuickPropertyAnimation::QQuickPropertyAnimation(QQuickPropertyAnimationPrivate &dd, QObject *parent) | - |
1242 | : QQuickAbstractAnimation(dd, parent) | - |
1243 | { | - |
1244 | }executed 112 times by 6 tests: end of block Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquicklistview
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
| 112 |
1245 | | - |
1246 | QQuickPropertyAnimation::~QQuickPropertyAnimation() | - |
1247 | { | - |
1248 | } | - |
1249 | | - |
1250 | | - |
1251 | | - |
1252 | | - |
1253 | | - |
1254 | | - |
1255 | | - |
1256 | int QQuickPropertyAnimation::duration() const | - |
1257 | { | - |
1258 | const QQuickPropertyAnimationPrivate * const d = d_func(); | - |
1259 | returnexecuted 18 times by 3 tests: return d->duration; Executed by:- tst_qqmlenginedebugservice
- tst_qquickanimations
- tst_qquickbehaviors
d->duration;executed 18 times by 3 tests: return d->duration; Executed by:- tst_qqmlenginedebugservice
- tst_qquickanimations
- tst_qquickbehaviors
| 18 |
1260 | } | - |
1261 | | - |
1262 | void QQuickPropertyAnimation::setDuration(int duration) | - |
1263 | { | - |
1264 | if (duration < 0TRUE | evaluated 2 times by 1 test | FALSE | evaluated 12138 times by 13 testsEvaluated by:- tst_examples
- tst_qqmlenginedebugservice
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_scenegraph
|
) { | 2-12138 |
1265 | qmlWarning(this) << tr("Cannot set a duration of < 0"); | - |
1266 | return;executed 2 times by 1 test: return; | 2 |
1267 | } | - |
1268 | | - |
1269 | QQuickPropertyAnimationPrivate * const d = d_func(); | - |
1270 | if (d->duration == durationTRUE | evaluated 36 times by 3 testsEvaluated by:- tst_examples
- tst_qquicklistview
- tst_qquicksmoothedanimation
| FALSE | evaluated 12102 times by 13 testsEvaluated by:- tst_examples
- tst_qqmlenginedebugservice
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_scenegraph
|
) | 36-12102 |
1271 | return;executed 36 times by 3 tests: return; Executed by:- tst_examples
- tst_qquicklistview
- tst_qquicksmoothedanimation
| 36 |
1272 | d->duration = duration; | - |
1273 | durationChanged(duration); | - |
1274 | }executed 12102 times by 13 tests: end of block Executed by:- tst_examples
- tst_qqmlenginedebugservice
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_scenegraph
| 12102 |
1275 | QVariant QQuickPropertyAnimation::from() const | - |
1276 | { | - |
1277 | const QQuickPropertyAnimationPrivate * const d = d_func(); | - |
1278 | returnexecuted 8 times by 2 tests: return d->from; Executed by:- tst_qqmlenginedebugservice
- tst_qquickanimations
d->from;executed 8 times by 2 tests: return d->from; Executed by:- tst_qqmlenginedebugservice
- tst_qquickanimations
| 8 |
1279 | } | - |
1280 | | - |
1281 | void QQuickPropertyAnimation::setFrom(const QVariant &f) | - |
1282 | { | - |
1283 | QQuickPropertyAnimationPrivate * const d = d_func(); | - |
1284 | if (d->fromIsDefinedTRUE | evaluated 20 times by 1 test | FALSE | evaluated 7420 times by 9 testsEvaluated by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickspringanimation
- tst_scenegraph
|
&& f == d->fromTRUE | never evaluated | FALSE | evaluated 20 times by 1 test |
) | 0-7420 |
1285 | return; never executed: return; | 0 |
1286 | d->from = f; | - |
1287 | d->fromIsDefined = f.isValid(); | - |
1288 | fromChanged(); | - |
1289 | }executed 7440 times by 9 tests: end of block Executed by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickspringanimation
- tst_scenegraph
| 7440 |
1290 | QVariant QQuickPropertyAnimation::to() const | - |
1291 | { | - |
1292 | const QQuickPropertyAnimationPrivate * const d = d_func(); | - |
1293 | returnexecuted 6 times by 2 tests: return d->to; Executed by:- tst_qqmlenginedebugservice
- tst_qquickanimations
d->to;executed 6 times by 2 tests: return d->to; Executed by:- tst_qqmlenginedebugservice
- tst_qquickanimations
| 6 |
1294 | } | - |
1295 | | - |
1296 | void QQuickPropertyAnimation::setTo(const QVariant &t) | - |
1297 | { | - |
1298 | QQuickPropertyAnimationPrivate * const d = d_func(); | - |
1299 | if (d->toIsDefinedTRUE | evaluated 77 times by 4 testsEvaluated by:- tst_examples
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_scenegraph
| FALSE | evaluated 8758 times by 11 testsEvaluated by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
|
&& t == d->toTRUE | never evaluated | FALSE | evaluated 77 times by 4 testsEvaluated by:- tst_examples
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_scenegraph
|
) | 0-8758 |
1300 | return; never executed: return; | 0 |
1301 | d->to = t; | - |
1302 | d->toIsDefined = t.isValid(); | - |
1303 | toChanged(); | - |
1304 | }executed 8835 times by 11 tests: end of block Executed by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
| 8835 |
1305 | QEasingCurve QQuickPropertyAnimation::easing() const | - |
1306 | { | - |
1307 | const QQuickPropertyAnimationPrivate * const d = d_func(); | - |
1308 | returnexecuted 500 times by 5 tests: return d->easing; Executed by:- tst_examples
- tst_qqmlenginedebugservice
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
d->easing;executed 500 times by 5 tests: return d->easing; Executed by:- tst_examples
- tst_qqmlenginedebugservice
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
| 500 |
1309 | } | - |
1310 | | - |
1311 | void QQuickPropertyAnimation::setEasing(const QEasingCurve &e) | - |
1312 | { | - |
1313 | QQuickPropertyAnimationPrivate * const d = d_func(); | - |
1314 | if (d->easing == eTRUE | evaluated 2 times by 1 test | FALSE | evaluated 474 times by 4 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
|
) | 2-474 |
1315 | return;executed 2 times by 1 test: return; | 2 |
1316 | | - |
1317 | d->easing = e; | - |
1318 | easingChanged(e); | - |
1319 | }executed 474 times by 4 tests: end of block Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
| 474 |
1320 | | - |
1321 | QObject *QQuickPropertyAnimation::target() const | - |
1322 | { | - |
1323 | const QQuickPropertyAnimationPrivate * const d = d_func(); | - |
1324 | returnexecuted 14 times by 3 tests: return d->target; Executed by:- tst_qqmlenginedebugservice
- tst_qquickanimations
- tst_qquicksmoothedanimation
d->target;executed 14 times by 3 tests: return d->target; Executed by:- tst_qqmlenginedebugservice
- tst_qquickanimations
- tst_qquicksmoothedanimation
| 14 |
1325 | } | - |
1326 | | - |
1327 | void QQuickPropertyAnimation::setTargetObject(QObject *o) | - |
1328 | { | - |
1329 | QQuickPropertyAnimationPrivate * const d = d_func(); | - |
1330 | if (d->target == oTRUE | never evaluated | FALSE | evaluated 618 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlenginedebugservice
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
|
) | 0-618 |
1331 | return; never executed: return; | 0 |
1332 | d->target = o; | - |
1333 | targetChanged(); | - |
1334 | }executed 618 times by 12 tests: end of block Executed by:- tst_examples
- tst_qqmlenginedebugservice
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
| 618 |
1335 | | - |
1336 | QString QQuickPropertyAnimation::property() const | - |
1337 | { | - |
1338 | const QQuickPropertyAnimationPrivate * const d = d_func(); | - |
1339 | returnexecuted 14 times by 3 tests: return d->propertyName; Executed by:- tst_qqmlenginedebugservice
- tst_qquickanimations
- tst_qquicksmoothedanimation
d->propertyName;executed 14 times by 3 tests: return d->propertyName; Executed by:- tst_qqmlenginedebugservice
- tst_qquickanimations
- tst_qquicksmoothedanimation
| 14 |
1340 | } | - |
1341 | | - |
1342 | void QQuickPropertyAnimation::setProperty(const QString &n) | - |
1343 | { | - |
1344 | QQuickPropertyAnimationPrivate * const d = d_func(); | - |
1345 | if (d->propertyName == nTRUE | never evaluated | FALSE | evaluated 612 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlenginedebugservice
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
|
) | 0-612 |
1346 | return; never executed: return; | 0 |
1347 | d->propertyName = n; | - |
1348 | propertyChanged(); | - |
1349 | }executed 612 times by 12 tests: end of block Executed by:- tst_examples
- tst_qqmlenginedebugservice
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
| 612 |
1350 | | - |
1351 | QString QQuickPropertyAnimation::properties() const | - |
1352 | { | - |
1353 | const QQuickPropertyAnimationPrivate * const d = d_func(); | - |
1354 | returnexecuted 4 times by 1 test: return d->properties; Executed by:- tst_qqmlenginedebugservice
d->properties;executed 4 times by 1 test: return d->properties; Executed by:- tst_qqmlenginedebugservice
| 4 |
1355 | } | - |
1356 | | - |
1357 | void QQuickPropertyAnimation::setProperties(const QString &prop) | - |
1358 | { | - |
1359 | QQuickPropertyAnimationPrivate * const d = d_func(); | - |
1360 | if (d->properties == propTRUE | never evaluated | FALSE | evaluated 2768 times by 8 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickspringanimation
- tst_scenegraph
|
) | 0-2768 |
1361 | return; never executed: return; | 0 |
1362 | | - |
1363 | d->properties = prop; | - |
1364 | propertiesChanged(prop); | - |
1365 | }executed 2768 times by 8 tests: end of block Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickspringanimation
- tst_scenegraph
| 2768 |
1366 | QQmlListProperty<QObject> QQuickPropertyAnimation::targets() | - |
1367 | { | - |
1368 | QQuickPropertyAnimationPrivate * const d = d_func(); | - |
1369 | returnexecuted 36 times by 3 tests: return QQmlListProperty<QObject>(this, d->targets); Executed by:- tst_qqmlenginedebugservice
- tst_qquickanimations
- tst_qquickbehaviors
QQmlListProperty<QObject>(this, d->targets);executed 36 times by 3 tests: return QQmlListProperty<QObject>(this, d->targets); Executed by:- tst_qqmlenginedebugservice
- tst_qquickanimations
- tst_qquickbehaviors
| 36 |
1370 | } | - |
1371 | | - |
1372 | | - |
1373 | | - |
1374 | | - |
1375 | | - |
1376 | | - |
1377 | QQmlListProperty<QObject> QQuickPropertyAnimation::exclude() | - |
1378 | { | - |
1379 | QQuickPropertyAnimationPrivate * const d = d_func(); | - |
1380 | returnexecuted 4 times by 1 test: return QQmlListProperty<QObject>(this, d->exclude); Executed by:- tst_qqmlenginedebugservice
QQmlListProperty<QObject>(this, d->exclude);executed 4 times by 1 test: return QQmlListProperty<QObject>(this, d->exclude); Executed by:- tst_qqmlenginedebugservice
| 4 |
1381 | } | - |
1382 | | - |
1383 | void QQuickAnimationPropertyUpdater::setValue(qreal v) | - |
1384 | { | - |
1385 | bool deleted = false; | - |
1386 | wasDeleted = &deleted; | - |
1387 | if (reverseTRUE | never evaluated | FALSE | evaluated 95329 times by 12 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_scenegraph
|
) | 0-95329 |
1388 | v = 1 - v; never executed: v = 1 - v; | 0 |
1389 | for (int ii = 0; ii < actions.count()TRUE | evaluated 111420 times by 12 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_scenegraph
| FALSE | evaluated 95329 times by 12 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_scenegraph
|
; ++ii) { | 95329-111420 |
1390 | QQuickStateAction &action = actions[ii]; | - |
1391 | | - |
1392 | if (v == 1.TRUE | evaluated 31396 times by 9 testsEvaluated by:- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_scenegraph
| FALSE | evaluated 80024 times by 11 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
|
) { | 31396-80024 |
1393 | QQmlPropertyPrivate::write(action.property, action.toValue, QQmlPropertyData::BypassInterceptor | QQmlPropertyData::DontRemoveBinding); | - |
1394 | }executed 31396 times by 9 tests: end of block Executed by:- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_scenegraph
else { | 31396 |
1395 | if (!fromSourcedTRUE | evaluated 33448 times by 11 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
| FALSE | evaluated 46576 times by 10 testsEvaluated by:- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
|
&& !fromDefinedTRUE | evaluated 20972 times by 8 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
| FALSE | evaluated 12476 times by 8 testsEvaluated by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
|
) { | 12476-46576 |
1396 | action.fromValue = action.property.read(); | - |
1397 | if (interpolatorTypeTRUE | evaluated 20950 times by 8 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
| FALSE | evaluated 22 times by 3 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquicklistview
|
) { | 22-20950 |
1398 | QQuickPropertyAnimationPrivate::convertVariant(action.fromValue, interpolatorType); | - |
1399 | }executed 20950 times by 8 tests: end of block Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
| 20950 |
1400 | }executed 20972 times by 8 tests: end of block Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
| 20972 |
1401 | if (!interpolatorTypeTRUE | evaluated 2968 times by 3 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquicklistview
| FALSE | evaluated 77056 times by 11 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
|
) { | 2968-77056 |
1402 | int propType = action.property.propertyType(); | - |
1403 | if (!prevInterpolatorTypeTRUE | evaluated 2028 times by 3 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquicklistview
| FALSE | evaluated 940 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquicklistview
|
|| prevInterpolatorType != propTypeTRUE | evaluated 244 times by 1 test | FALSE | evaluated 696 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquicklistview
|
) { | 244-2028 |
1404 | prevInterpolatorType = propType; | - |
1405 | interpolator = QVariantAnimationPrivate::getInterpolator(prevInterpolatorType); | - |
1406 | }executed 2272 times by 3 tests: end of block Executed by:- tst_examples
- tst_qquickanimations
- tst_qquicklistview
| 2272 |
1407 | }executed 2968 times by 3 tests: end of block Executed by:- tst_examples
- tst_qquickanimations
- tst_qquicklistview
| 2968 |
1408 | if (interpolatorTRUE | evaluated 80024 times by 11 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
| FALSE | never evaluated |
) | 0-80024 |
1409 | QQmlPropertyPrivate::write(action.property, interpolator(action.fromValue.constData(), action.toValue.constData(), v), QQmlPropertyData::BypassInterceptor | QQmlPropertyData::DontRemoveBinding);executed 80024 times by 11 tests: QQmlPropertyPrivate::write(action.property, interpolator(action.fromValue.constData(), action.toValue.constData(), v), QQmlPropertyData::BypassInterceptor | QQmlPropertyData::DontRemoveBinding); Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
| 80024 |
1410 | }executed 80024 times by 11 tests: end of block Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
| 80024 |
1411 | if (deletedTRUE | never evaluated | FALSE | evaluated 111420 times by 12 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_scenegraph
|
) | 0-111420 |
1412 | return; never executed: return; | 0 |
1413 | }executed 111420 times by 12 tests: end of block Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_scenegraph
| 111420 |
1414 | wasDeleted = nullptr; | - |
1415 | fromSourced = true; | - |
1416 | }executed 95329 times by 12 tests: end of block Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_scenegraph
| 95329 |
1417 | | - |
1418 | void QQuickAnimationPropertyUpdater::debugUpdater(QDebug d, int indentLevel) const | - |
1419 | { | - |
1420 | QByteArray ind(indentLevel, ' '); | - |
1421 | for (int i = 0; i < actions.count()TRUE | never evaluated | FALSE | never evaluated |
; ++i) { | 0 |
1422 | const QQuickStateAction &action = actions.at(i); | - |
1423 | d << "\n" << ind.constData() << "target:" << action.property.object() << "property:" << action.property.name() | - |
1424 | << "from:" << action.fromValue << "to:" << action.toValue; | - |
1425 | } never executed: end of block | 0 |
1426 | } never executed: end of block | 0 |
1427 | | - |
1428 | QQuickStateActions QQuickPropertyAnimation::createTransitionActions(QQuickStateActions &actions, | - |
1429 | QQmlProperties &modified, | - |
1430 | QObject *defaultTarget) | - |
1431 | { | - |
1432 | QQuickPropertyAnimationPrivate * const d = d_func(); | - |
1433 | QQuickStateActions newActions; | - |
1434 | | - |
1435 | QStringList props = d->properties.isEmpty()TRUE | evaluated 7203 times by 13 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
| FALSE | evaluated 27418 times by 8 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickspringanimation
- tst_scenegraph
|
? QStringList() : d->properties.split(QLatin1Char(',')); | 7203-27418 |
1436 | for (int ii = 0; ii < props.count()TRUE | evaluated 34382 times by 8 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickspringanimation
- tst_scenegraph
| FALSE | evaluated 34621 times by 14 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
|
; ++ii) | 34382-34621 |
1437 | props[ii] = props.at(ii).trimmed();executed 34382 times by 8 tests: props[ii] = props.at(ii).trimmed(); Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickspringanimation
- tst_scenegraph
| 34382 |
1438 | if (!d->propertyName.isEmpty()TRUE | evaluated 228 times by 11 testsEvaluated by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
| FALSE | evaluated 34393 times by 11 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
|
) | 228-34393 |
1439 | props << d->propertyName;executed 228 times by 11 tests: props << d->propertyName; Executed by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
| 228 |
1440 | | - |
1441 | QList<QObject*> targets = d->targets; | - |
1442 | if (d->targetTRUE | evaluated 220 times by 11 testsEvaluated by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
| FALSE | evaluated 34401 times by 10 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
|
) | 220-34401 |
1443 | targets.append(d->target);executed 220 times by 11 tests: targets.append(d->target); Executed by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
| 220 |
1444 | | - |
1445 | bool hasSelectors = !props.isEmpty()TRUE | evaluated 27646 times by 12 testsEvaluated by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
| FALSE | evaluated 6975 times by 8 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
|
|| !targets.isEmpty()TRUE | evaluated 10 times by 1 test | FALSE | evaluated 6965 times by 8 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
|
|| !d->exclude.isEmpty()TRUE | never evaluated | FALSE | evaluated 6965 times by 8 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
|
; | 0-27646 |
1446 | bool useType = (props.isEmpty()TRUE | evaluated 6975 times by 8 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
| FALSE | evaluated 27646 times by 12 testsEvaluated by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
|
&& d->defaultToInterpolatorTypeTRUE | evaluated 168 times by 2 testsEvaluated by:- tst_examples
- tst_qquickbehaviors
| FALSE | evaluated 6807 times by 8 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
|
) ? true : false; | 168-27646 |
1447 | | - |
1448 | if (d->defaultProperty.isValid()TRUE | evaluated 6981 times by 9 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
| FALSE | evaluated 27640 times by 10 testsEvaluated by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
|
&& !hasSelectorsTRUE | evaluated 6963 times by 8 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
| FALSE | evaluated 18 times by 3 testsEvaluated by:- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickloader
|
) { | 18-27640 |
1449 | props << d->defaultProperty.name(); | - |
1450 | targets << d->defaultProperty.object(); | - |
1451 | }executed 6963 times by 8 tests: end of block Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicksmoothedanimation
| 6963 |
1452 | | - |
1453 | if (defaultTargetTRUE | evaluated 27384 times by 4 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickspringanimation
| FALSE | evaluated 7237 times by 13 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
|
&& targets.isEmpty()TRUE | evaluated 27384 times by 4 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickspringanimation
| FALSE | never evaluated |
) | 0-27384 |
1454 | targets << defaultTarget;executed 27384 times by 4 tests: targets << defaultTarget; Executed by:- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickspringanimation
| 27384 |
1455 | | - |
1456 | bool usingDefaultProperties = false; | - |
1457 | if (props.isEmpty()TRUE | evaluated 12 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquicksmoothedanimation
| FALSE | evaluated 34609 times by 14 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
|
&& !d->defaultProperties.isEmpty()TRUE | evaluated 10 times by 1 test | FALSE | evaluated 2 times by 1 testEvaluated by:- tst_qquicksmoothedanimation
|
) { | 2-34609 |
1458 | props << d->defaultProperties.split(QLatin1Char(',')); | - |
1459 | usingDefaultProperties = true; | - |
1460 | }executed 10 times by 1 test: end of block | 10 |
1461 | | - |
1462 | bool hasExplicit = false; | - |
1463 | | - |
1464 | if (d->toIsDefinedTRUE | evaluated 20447 times by 11 testsEvaluated by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
| FALSE | evaluated 14174 times by 9 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicksmoothedanimation
|
) { | 14174-20447 |
1465 | QVector<QString> errorMessages; | - |
1466 | bool successfullyCreatedDefaultProperty = false; | - |
1467 | | - |
1468 | for (int i = 0; i < props.count()TRUE | evaluated 20451 times by 11 testsEvaluated by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
| FALSE | evaluated 20447 times by 11 testsEvaluated by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
|
; ++i) { | 20447-20451 |
1469 | for (int j = 0; j < targets.count()TRUE | evaluated 20447 times by 11 testsEvaluated by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
| FALSE | evaluated 20451 times by 11 testsEvaluated by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
|
; ++j) { | 20447-20451 |
1470 | QQuickStateAction myAction; | - |
1471 | QString errorMessage; | - |
1472 | const QString propertyName = props.at(i); | - |
1473 | myAction.property = d->createProperty(targets.at(j), propertyName, this, &errorMessage); | - |
1474 | if (myAction.property.isValid()TRUE | evaluated 20441 times by 11 testsEvaluated by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
| FALSE | evaluated 6 times by 1 test |
) { | 6-20441 |
1475 | if (usingDefaultPropertiesTRUE | evaluated 2 times by 1 test | FALSE | evaluated 20439 times by 11 testsEvaluated by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
|
) | 2-20439 |
1476 | successfullyCreatedDefaultProperty = true;executed 2 times by 1 test: successfullyCreatedDefaultProperty = true; | 2 |
1477 | | - |
1478 | if (d->fromIsDefinedTRUE | evaluated 7712 times by 8 testsEvaluated by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickspringanimation
- tst_scenegraph
| FALSE | evaluated 12729 times by 8 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
|
) { | 7712-12729 |
1479 | myAction.fromValue = d->from; | - |
1480 | d->convertVariant(myAction.fromValue, d->interpolatorType ? d->interpolatorType : myAction.property.propertyType()); | - |
1481 | }executed 7712 times by 8 tests: end of block Executed by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickspringanimation
- tst_scenegraph
| 7712 |
1482 | myAction.toValue = d->to; | - |
1483 | d->convertVariant(myAction.toValue, d->interpolatorType ? d->interpolatorType : myAction.property.propertyType()); | - |
1484 | newActions << myAction; | - |
1485 | hasExplicit = true; | - |
1486 | for (int ii = 0; ii < actions.count()TRUE | evaluated 20222 times by 6 testsEvaluated by:- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickspringanimation
| FALSE | evaluated 6973 times by 10 testsEvaluated by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
|
; ++ii) { | 6973-20222 |
1487 | QQuickStateAction &action = actions[ii]; | - |
1488 | if (action.property.object() == myAction.property.object()TRUE | evaluated 20222 times by 6 testsEvaluated by:- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickspringanimation
| FALSE | never evaluated |
&& | 0-20222 |
1489 | myAction.property.name() == action.property.name()TRUE | evaluated 13468 times by 4 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickspringanimation
| FALSE | evaluated 6754 times by 5 testsEvaluated by:- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
|
) { | 6754-13468 |
1490 | modified << action.property; | - |
1491 | break;executed 13468 times by 4 tests: break; Executed by:- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickspringanimation
| 13468 |
1492 | } | - |
1493 | }executed 6754 times by 5 tests: end of block Executed by:- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
| 6754 |
1494 | }executed 20441 times by 11 tests: end of block Executed by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
else { | 20441 |
1495 | errorMessages.append(errorMessage); | - |
1496 | }executed 6 times by 1 test: end of block | 6 |
1497 | } | - |
1498 | }executed 20451 times by 11 tests: end of block Executed by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
| 20451 |
1499 | | - |
1500 | if (!successfullyCreatedDefaultPropertyTRUE | evaluated 20445 times by 11 testsEvaluated by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
| FALSE | evaluated 2 times by 1 test |
) { | 2-20445 |
1501 | for (const QString &errorMessage : qAsConst(errorMessages)) | - |
1502 | qmlWarning(this) << errorMessage;executed 4 times by 1 test: qmlWarning(this) << errorMessage; | 4 |
1503 | }executed 20445 times by 11 tests: end of block Executed by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
| 20445 |
1504 | }executed 20447 times by 11 tests: end of block Executed by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
| 20447 |
1505 | | - |
1506 | if (!hasExplicitTRUE | evaluated 14182 times by 9 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicksmoothedanimation
| FALSE | evaluated 20439 times by 11 testsEvaluated by:- tst_examples
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
|
) | 14182-20439 |
1507 | for (int ii = 0; ii < actions.count()TRUE | evaluated 28130 times by 9 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicksmoothedanimation
| FALSE | evaluated 14182 times by 9 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicksmoothedanimation
|
; ++ii) { | 14182-28130 |
1508 | QQuickStateAction &action = actions[ii]; | - |
1509 | | - |
1510 | QObject *obj = action.property.object(); | - |
1511 | QString propertyName = action.property.name(); | - |
1512 | QObject *sObj = action.specifiedObject; | - |
1513 | QString sPropertyName = action.specifiedProperty; | - |
1514 | bool same = (obj == sObj); | - |
1515 | | - |
1516 | if ((targets.isEmpty()TRUE | evaluated 54 times by 2 testsEvaluated by:- tst_examples
- tst_qquickanimations
| FALSE | evaluated 28076 times by 9 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicksmoothedanimation
|
|| targets.contains(obj)TRUE | evaluated 28048 times by 9 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicksmoothedanimation
| FALSE | evaluated 28 times by 1 test |
|| (!sameTRUE | evaluated 4 times by 1 test | FALSE | evaluated 24 times by 1 test |
&& targets.contains(sObj)TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
)) && | 0-28076 |
1517 | (TRUE | evaluated 28106 times by 9 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicksmoothedanimation
| FALSE | never evaluated |
!d->exclude.contains(obj))TRUE | evaluated 28106 times by 9 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicksmoothedanimation
| FALSE | never evaluated |
&& (sameTRUE | evaluated 27888 times by 6 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
| FALSE | evaluated 218 times by 6 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquicklistview
- tst_qquicksmoothedanimation
|
|| (TRUE | evaluated 218 times by 6 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquicklistview
- tst_qquicksmoothedanimation
| FALSE | never evaluated |
!d->exclude.contains(sObj))TRUE | evaluated 218 times by 6 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquicklistview
- tst_qquicksmoothedanimation
| FALSE | never evaluated |
) && | 0-28106 |
1518 | (props.contains(propertyName)TRUE | evaluated 21126 times by 9 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicksmoothedanimation
| FALSE | evaluated 6980 times by 6 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
|
|| (!sameTRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquickbehaviors
| FALSE | evaluated 6972 times by 5 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
|
&& props.contains(sPropertyName)TRUE | evaluated 2 times by 1 test | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquickbehaviors
|
) | 2-21126 |
1519 | || (useTypeTRUE | never evaluated | FALSE | evaluated 6978 times by 6 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
|
&& action.property.propertyType() == d->interpolatorTypeTRUE | never evaluated | FALSE | never evaluated |
))) { | 0-6978 |
1520 | QQuickStateAction myAction = action; | - |
1521 | | - |
1522 | if (d->fromIsDefinedTRUE | evaluated 6894 times by 4 testsEvaluated by:- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
| FALSE | evaluated 14234 times by 9 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicksmoothedanimation
|
) | 6894-14234 |
1523 | myAction.fromValue = d->from;executed 6894 times by 4 tests: myAction.fromValue = d->from; Executed by:- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
| 6894 |
1524 | else | - |
1525 | myAction.fromValue = QVariant();executed 14234 times by 9 tests: myAction.fromValue = QVariant(); Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicksmoothedanimation
| 14234 |
1526 | if (d->toIsDefinedTRUE | evaluated 2 times by 1 test | FALSE | evaluated 21126 times by 9 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicksmoothedanimation
|
) | 2-21126 |
1527 | myAction.toValue = d->to;executed 2 times by 1 test: myAction.toValue = d->to; | 2 |
1528 | | - |
1529 | d->convertVariant(myAction.fromValue, d->interpolatorType ? d->interpolatorType : myAction.property.propertyType()); | - |
1530 | d->convertVariant(myAction.toValue, d->interpolatorType ? d->interpolatorType : myAction.property.propertyType()); | - |
1531 | | - |
1532 | modified << action.property; | - |
1533 | | - |
1534 | newActions << myAction; | - |
1535 | action.fromValue = myAction.toValue; | - |
1536 | }executed 21128 times by 9 tests: end of block Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicksmoothedanimation
| 21128 |
1537 | }executed 28130 times by 9 tests: end of block Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicksmoothedanimation
| 28130 |
1538 | returnexecuted 34621 times by 14 tests: return newActions; Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
newActions;executed 34621 times by 14 tests: return newActions; Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_scenegraph
| 34621 |
1539 | } | - |
1540 | | - |
1541 | QAbstractAnimationJob* QQuickPropertyAnimation::transition(QQuickStateActions &actions, | - |
1542 | QQmlProperties &modified, | - |
1543 | TransitionDirection direction, | - |
1544 | QObject *defaultTarget) | - |
1545 | { | - |
1546 | QQuickPropertyAnimationPrivate * const d = d_func(); | - |
1547 | | - |
1548 | QQuickStateActions dataActions = createTransitionActions(actions, modified, defaultTarget); | - |
1549 | | - |
1550 | QQuickBulkValueAnimator *animator = new QQuickBulkValueAnimator; | - |
1551 | animator->setDuration(d->duration); | - |
1552 | animator->setEasingCurve(d->easing); | - |
1553 | | - |
1554 | if (!dataActions.isEmpty()TRUE | evaluated 34488 times by 12 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_scenegraph
| FALSE | evaluated 12 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquickbehaviors
|
) { | 12-34488 |
1555 | QQuickAnimationPropertyUpdater *data = new QQuickAnimationPropertyUpdater; | - |
1556 | data->interpolatorType = d->interpolatorType; | - |
1557 | data->interpolator = d->interpolator; | - |
1558 | data->reverse = direction == BackwardTRUE | never evaluated | FALSE | evaluated 34488 times by 12 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_scenegraph
|
? true : false; | 0-34488 |
1559 | data->fromSourced = false; | - |
1560 | data->fromDefined = d->fromIsDefined; | - |
1561 | data->actions = dataActions; | - |
1562 | animator->setAnimValue(data); | - |
1563 | animator->setFromSourcedValue(&data->fromSourced); | - |
1564 | d->actions = &data->actions; | - |
1565 | }executed 34488 times by 12 tests: end of block Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_scenegraph
| 34488 |
1566 | | - |
1567 | returnexecuted 34500 times by 12 tests: return initInstance(animator); Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_scenegraph
initInstance(animator);executed 34500 times by 12 tests: return initInstance(animator); Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_scenegraph
| 34500 |
1568 | } | - |
1569 | | - |
1570 | QQuickAnimationPropertyUpdater::~QQuickAnimationPropertyUpdater() | - |
1571 | { | - |
1572 | if (wasDeletedTRUE | never evaluated | FALSE | evaluated 34450 times by 12 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_scenegraph
|
) *never executed: *wasDeleted = true; wasDeleted = true;never executed: *wasDeleted = true; | 0-34450 |
1573 | }executed 34450 times by 12 tests: end of block Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_scenegraph
| 34450 |
1574 | | - |
1575 | | - |
1576 | | - |
| | |