| Line | Source | Count | 
|---|
| 1 |  | - | 
| 2 |  | - | 
| 3 |  | - | 
| 4 |  | - | 
| 5 |  | - | 
| 6 |  | - | 
| 7 | static bool stateChangeDebug() { static enum { Yes, No, Unknown } status = Unknown; if (status == Unknown ) { status = No; if (__builtin_expect(!!(!qEnvironmentVariableIsEmpty("STATECHANGE_DEBUG")), false)| TRUE | evaluated 46 times by 23 tests Evaluated by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmllistreferencetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickanimationstst_qquickbehaviorstst_qquickdesignersupporttst_qquickflipabletst_qquickfontloadertst_qquickgridviewtst_qquickitem2tst_qquicklistviewtst_qquickloadertst_qquickmouseareatst_qquickpathviewtst_qquickpositionerstst_qquickspringanimationtst_qquickstates
 |  | FALSE | evaluated 11098 times by 19 tests Evaluated by:tst_examplestst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmlnotifiertst_qqmlpropertytst_qqmlvaluetypestst_qquickanimationstst_qquickbehaviorstst_qquickdesignersupporttst_qquickfontloadertst_qquickgridviewtst_qquickitem2tst_qquicklistviewtst_qquickloadertst_qquickmouseareatst_qquickpathviewtst_qquickpositionerstst_qquickspringanimationtst_qquickstates
 | 
) { const QByteArray v = qgetenv("STATECHANGE_DEBUG"); if (v != "0"| TRUE | never evaluated |  | FALSE | evaluated 46 times by 23 tests Evaluated by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmllistreferencetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickanimationstst_qquickbehaviorstst_qquickdesignersupporttst_qquickflipabletst_qquickfontloadertst_qquickgridviewtst_qquickitem2tst_qquicklistviewtst_qquickloadertst_qquickmouseareatst_qquickpathviewtst_qquickpositionerstst_qquickspringanimationtst_qquickstates
 | 
&& v != "false"| TRUE | never evaluated |  | FALSE | never evaluated | 
) status = Yes;| TRUE | never evaluated |  | FALSE | never evaluated | 
never executed: }status = Yes; never executed: }end of block executed 46 times by 23 testsreturn:  end of blockExecuted by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmllistreferencetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickanimationstst_qquickbehaviorstst_qquickdesignersupporttst_qquickflipabletst_qquickfontloadertst_qquickgridviewtst_qquickitem2tst_qquicklistviewtst_qquickloadertst_qquickmouseareatst_qquickpathviewtst_qquickpositionerstst_qquickspringanimationtst_qquickstates
 executed 11144 times by 23 testsstatus == Yes;:  return status == Yes;Executed by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmllistreferencetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickanimationstst_qquickbehaviorstst_qquickdesignersupporttst_qquickflipabletst_qquickfontloadertst_qquickgridviewtst_qquickitem2tst_qquicklistviewtst_qquickloadertst_qquickmouseareatst_qquickpathviewtst_qquickpositionerstst_qquickspringanimationtst_qquickstates
 executed 11144 times by 23 tests};:  return status == Yes;Executed by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmllistreferencetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickanimationstst_qquickbehaviorstst_qquickdesignersupporttst_qquickflipabletst_qquickfontloadertst_qquickgridviewtst_qquickitem2tst_qquicklistviewtst_qquickloadertst_qquickmouseareatst_qquickpathviewtst_qquickpositionerstst_qquickspringanimationtst_qquickstates
 | 0-11144 | 
| 8 |  | - | 
| 9 | class QQuickTransitionManagerPrivate | - | 
| 10 | { | - | 
| 11 | public: | - | 
| 12 | QQuickTransitionManagerPrivate() | - | 
| 13 | : state(nullptr), transitionInstance(nullptr) {} executed 11942 times by 24 tests:  end of blockExecuted by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmllistreferencetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickanimationstst_qquickbehaviorstst_qquickdesignersupporttst_qquickflickabletst_qquickflipabletst_qquickfontloadertst_qquickgridviewtst_qquickitem2tst_qquicklistviewtst_qquickloadertst_qquickmouseareatst_qquickpathviewtst_qquickpositionerstst_qquickspringanimationtst_qquickstates
 | 11942 | 
| 14 |  | - | 
| 15 | void applyBindings(); | - | 
| 16 | typedef QList<QQuickSimpleAction> SimpleActionList; | - | 
| 17 | QQuickState *state; | - | 
| 18 | QQuickTransitionInstance *transitionInstance; | - | 
| 19 | QQuickStateOperation::ActionList bindingsList; | - | 
| 20 | SimpleActionList completeList; | - | 
| 21 | }; | - | 
| 22 |  | - | 
| 23 | QQuickTransitionManager::QQuickTransitionManager() | - | 
| 24 | : d(new QQuickTransitionManagerPrivate) | - | 
| 25 | { | - | 
| 26 | } executed 11942 times by 24 tests:  end of blockExecuted by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmllistreferencetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickanimationstst_qquickbehaviorstst_qquickdesignersupporttst_qquickflickabletst_qquickflipabletst_qquickfontloadertst_qquickgridviewtst_qquickitem2tst_qquicklistviewtst_qquickloadertst_qquickmouseareatst_qquickpathviewtst_qquickpositionerstst_qquickspringanimationtst_qquickstates
 | 11942 | 
| 27 |  | - | 
| 28 | void QQuickTransitionManager::setState(QQuickState *s) | - | 
| 29 | { | - | 
| 30 | d->state = s; | - | 
| 31 | } executed 1522 times by 20 tests:  end of blockExecuted by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmllistreferencetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickanimationstst_qquickbehaviorstst_qquickdesignersupporttst_qquickflipabletst_qquickfontloadertst_qquickitem2tst_qquicklistviewtst_qquickloadertst_qquickmouseareatst_qquickpathviewtst_qquickstates
 | 1522 | 
| 32 |  | - | 
| 33 | QQuickTransitionManager::~QQuickTransitionManager() | - | 
| 34 | { | - | 
| 35 | delete d->transitionInstance; | - | 
| 36 | delete d; d = nullptr; | - | 
| 37 | } executed 11710 times by 24 tests:  end of blockExecuted by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmllistreferencetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickanimationstst_qquickbehaviorstst_qquickdesignersupporttst_qquickflickabletst_qquickflipabletst_qquickfontloadertst_qquickgridviewtst_qquickitem2tst_qquicklistviewtst_qquickloadertst_qquickmouseareatst_qquickpathviewtst_qquickpositionerstst_qquickspringanimationtst_qquickstates
 | 11710 | 
| 38 |  | - | 
| 39 | bool QQuickTransitionManager::isRunning() const | - | 
| 40 | { | - | 
| 41 | return executed 9384 times by 5 testsd->transitionInstance && d->transitionInstance->isRunning();:  return d->transitionInstance && d->transitionInstance->isRunning();Executed by:tst_qquickflickabletst_qquickgridviewtst_qquicklistviewtst_qquickpositionerstst_qquickspringanimation
 executed 9384 times by 5 tests:  return d->transitionInstance && d->transitionInstance->isRunning();Executed by:tst_qquickflickabletst_qquickgridviewtst_qquicklistviewtst_qquickpositionerstst_qquickspringanimation
 | 9384 | 
| 42 | } | - | 
| 43 |  | - | 
| 44 | void QQuickTransitionManager::complete() | - | 
| 45 | { | - | 
| 46 | d->applyBindings(); | - | 
| 47 |  | - | 
| 48 | for (int ii = 0; ii < d->completeList.count() ; ++ii) {| TRUE | evaluated 12 times by 3 tests Evaluated by:tst_qquickanimationstst_qquickgridviewtst_qquicklistview
 |  | FALSE | evaluated 9406 times by 22 tests Evaluated by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmllistreferencetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickanimationstst_qquickbehaviorstst_qquickdesignersupporttst_qquickfontloadertst_qquickgridviewtst_qquickitem2tst_qquicklistviewtst_qquickloadertst_qquickmouseareatst_qquickpathviewtst_qquickpositionerstst_qquickspringanimationtst_qquickstates
 | 
 | 12-9406 | 
| 49 | const QQmlProperty &prop = d->completeList.at(ii).property(); | - | 
| 50 | prop.write(d->completeList.at(ii).value()); | - | 
| 51 | } executed 12 times by 3 tests:  end of blockExecuted by:tst_qquickanimationstst_qquickgridviewtst_qquicklistview
 | 12 | 
| 52 |  | - | 
| 53 | d->completeList.clear(); | - | 
| 54 |  | - | 
| 55 | if (d->state )| TRUE | evaluated 574 times by 19 tests Evaluated by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmllistreferencetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickanimationstst_qquickbehaviorstst_qquickdesignersupporttst_qquickfontloadertst_qquickitem2tst_qquicklistviewtst_qquickloadertst_qquickmouseareatst_qquickpathviewtst_qquickstates
 |  | FALSE | evaluated 8832 times by 4 tests Evaluated by:tst_qquickgridviewtst_qquicklistviewtst_qquickpositionerstst_qquickspringanimation
 | 
 | 574-8832 | 
| 56 | static_cast< executed 574 times by 19 testsQQuickStatePrivate*>(QObjectPrivate::get(d->state))->complete();:  static_cast<QQuickStatePrivate*>(QObjectPrivate::get(d->state))->complete();Executed by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmllistreferencetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickanimationstst_qquickbehaviorstst_qquickdesignersupporttst_qquickfontloadertst_qquickitem2tst_qquicklistviewtst_qquickloadertst_qquickmouseareatst_qquickpathviewtst_qquickstates
 executed 574 times by 19 tests:  static_cast<QQuickStatePrivate*>(QObjectPrivate::get(d->state))->complete();Executed by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmllistreferencetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickanimationstst_qquickbehaviorstst_qquickdesignersupporttst_qquickfontloadertst_qquickitem2tst_qquicklistviewtst_qquickloadertst_qquickmouseareatst_qquickpathviewtst_qquickstates
 | 574 | 
| 57 |  | - | 
| 58 | finished(); | - | 
| 59 | } executed 9406 times by 22 tests:  end of blockExecuted by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmllistreferencetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickanimationstst_qquickbehaviorstst_qquickdesignersupporttst_qquickfontloadertst_qquickgridviewtst_qquickitem2tst_qquicklistviewtst_qquickloadertst_qquickmouseareatst_qquickpathviewtst_qquickpositionerstst_qquickspringanimationtst_qquickstates
 | 9406 | 
| 60 |  | - | 
| 61 | void QQuickTransitionManagerPrivate::applyBindings() | - | 
| 62 | { | - | 
| 63 | for (const QQuickStateAction &action : qAsConst(bindingsList)) { | - | 
| 64 | if (action.toBinding ) {| TRUE | evaluated 104 times by 12 tests Evaluated by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickbehaviorstst_qquickitem2tst_qquickpathviewtst_qquickstates
 |  | FALSE | evaluated 60 times by 4 tests Evaluated by:tst_qquickanimationstst_qquickitem2tst_qquicklistviewtst_qquickstates
 | 
 | 60-104 | 
| 65 | QQmlPropertyPrivate::setBinding(action.toBinding.data()); | - | 
| 66 | } executed 104 times by 12 testselse if (action.event:  end of blockExecuted by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickbehaviorstst_qquickitem2tst_qquickpathviewtst_qquickstates
 ) {| TRUE | evaluated 60 times by 4 tests Evaluated by:tst_qquickanimationstst_qquickitem2tst_qquicklistviewtst_qquickstates
 |  | FALSE | never evaluated | 
 | 0-104 | 
| 67 | if (action.reverseEvent )| TRUE | evaluated 22 times by 3 tests Evaluated by:tst_qquickanimationstst_qquicklistviewtst_qquickstates
 |  | FALSE | evaluated 38 times by 4 tests Evaluated by:tst_qquickanimationstst_qquickitem2tst_qquicklistviewtst_qquickstates
 | 
 | 22-38 | 
| 68 | action.event->reverse(); executed 22 times by 3 tests:  action.event->reverse();Executed by:tst_qquickanimationstst_qquicklistviewtst_qquickstates
 | 22 | 
| 69 | else | - | 
| 70 | action.event->execute(); executed 38 times by 4 tests:  action.event->execute();Executed by:tst_qquickanimationstst_qquickitem2tst_qquicklistviewtst_qquickstates
 | 38 | 
| 71 | } | - | 
| 72 |  | - | 
| 73 | } executed 164 times by 14 tests:  end of blockExecuted by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickanimationstst_qquickbehaviorstst_qquickitem2tst_qquicklistviewtst_qquickpathviewtst_qquickstates
 | 164 | 
| 74 |  | - | 
| 75 | bindingsList.clear(); | - | 
| 76 | } executed 9406 times by 22 tests:  end of blockExecuted by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmllistreferencetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickanimationstst_qquickbehaviorstst_qquickdesignersupporttst_qquickfontloadertst_qquickgridviewtst_qquickitem2tst_qquicklistviewtst_qquickloadertst_qquickmouseareatst_qquickpathviewtst_qquickpositionerstst_qquickspringanimationtst_qquickstates
 | 9406 | 
| 77 |  | - | 
| 78 | void QQuickTransitionManager::finished() | - | 
| 79 | { | - | 
| 80 | } | - | 
| 81 |  | - | 
| 82 | void QQuickTransitionManager::transition(const QList<QQuickStateAction> &list, | - | 
| 83 | QQuickTransition *transition, | - | 
| 84 | QObject *defaultTarget) | - | 
| 85 | { | - | 
| 86 | cancel(); | - | 
| 87 |  | - | 
| 88 | QQuickStateOperation::ActionList applyList = list; | - | 
| 89 |  | - | 
| 90 | for (const QQuickStateAction &action : qAsConst(applyList)) { | - | 
| 91 | if (action.toBinding )| TRUE | evaluated 104 times by 12 tests Evaluated by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickbehaviorstst_qquickitem2tst_qquickpathviewtst_qquickstates
 |  | FALSE | evaluated 22094 times by 16 tests Evaluated by:tst_examplestst_qqmlenginedebugservicetst_qqmlnotifiertst_qquickanimationstst_qquickbehaviorstst_qquickdesignersupporttst_qquickflipabletst_qquickfontloadertst_qquickgridviewtst_qquickitem2tst_qquicklistviewtst_qquickmouseareatst_qquickpathviewtst_qquickpositionerstst_qquickspringanimationtst_qquickstates
 | 
 | 104-22094 | 
| 92 | d->bindingsList << action; executed 104 times by 12 tests:  d->bindingsList << action;Executed by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickbehaviorstst_qquickitem2tst_qquickpathviewtst_qquickstates
 | 104 | 
| 93 | if (action.fromBinding )| TRUE | evaluated 32 times by 6 tests Evaluated by:tst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmlpropertytst_qqmlvaluetypestst_qquickbehaviorstst_qquickstates
 |  | FALSE | evaluated 22166 times by 21 tests Evaluated by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickanimationstst_qquickbehaviorstst_qquickdesignersupporttst_qquickflipabletst_qquickfontloadertst_qquickgridviewtst_qquickitem2tst_qquicklistviewtst_qquickmouseareatst_qquickpathviewtst_qquickpositionerstst_qquickspringanimationtst_qquickstates
 | 
 | 32-22166 | 
| 94 | QQmlPropertyPrivate::removeBinding(action.property); executed 32 times by 6 tests:  QQmlPropertyPrivate::removeBinding(action.property);Executed by:tst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmlpropertytst_qqmlvaluetypestst_qquickbehaviorstst_qquickstates
 | 32 | 
| 95 | if (action.event && action.event->changesBindings()| TRUE | evaluated 238 times by 6 tests Evaluated by:tst_examplestst_qquickanimationstst_qquickitem2tst_qquicklistviewtst_qquickpathviewtst_qquickstates
 |  | FALSE | evaluated 21960 times by 21 tests Evaluated by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickanimationstst_qquickbehaviorstst_qquickdesignersupporttst_qquickflipabletst_qquickfontloadertst_qquickgridviewtst_qquickitem2tst_qquicklistviewtst_qquickmouseareatst_qquickpathviewtst_qquickpositionerstst_qquickspringanimationtst_qquickstates
 | 
) {| TRUE | evaluated 62 times by 5 tests Evaluated by:tst_examplestst_qquickanimationstst_qquickitem2tst_qquicklistviewtst_qquickstates
 |  | FALSE | evaluated 176 times by 5 tests Evaluated by:tst_examplestst_qquickanimationstst_qquicklistviewtst_qquickpathviewtst_qquickstates
 | 
 | 62-21960 | 
| 96 | d->bindingsList << action; | - | 
| 97 | action.event->clearBindings(); | - | 
| 98 | } executed 62 times by 5 tests:  end of blockExecuted by:tst_examplestst_qquickanimationstst_qquickitem2tst_qquicklistviewtst_qquickstates
 | 62 | 
| 99 | } executed 22198 times by 21 tests:  end of blockExecuted by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickanimationstst_qquickbehaviorstst_qquickdesignersupporttst_qquickflipabletst_qquickfontloadertst_qquickgridviewtst_qquickitem2tst_qquicklistviewtst_qquickmouseareatst_qquickpathviewtst_qquickpositionerstst_qquickspringanimationtst_qquickstates
 | 22198 | 
| 100 | if (transition && !d->bindingsList.isEmpty()| TRUE | evaluated 10628 times by 7 tests Evaluated by:tst_examplestst_qquickanimationstst_qquickflipabletst_qquickgridviewtst_qquicklistviewtst_qquickpositionerstst_qquickspringanimation
 |  | FALSE | evaluated 516 times by 19 tests Evaluated by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmllistreferencetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickanimationstst_qquickbehaviorstst_qquickdesignersupporttst_qquickfontloadertst_qquickitem2tst_qquicklistviewtst_qquickloadertst_qquickmouseareatst_qquickpathviewtst_qquickstates
 | 
) {| TRUE | evaluated 10 times by 2 tests Evaluated by:tst_examplestst_qquickanimations
 |  | FALSE | evaluated 10618 times by 7 tests Evaluated by:tst_examplestst_qquickanimationstst_qquickflipabletst_qquickgridviewtst_qquicklistviewtst_qquickpositionerstst_qquickspringanimation
 | 
 | 10-10628 | 
| 101 |  | - | 
| 102 |  | - | 
| 103 | for (int ii = 0; ii < applyList.size() ; ++ii) {| TRUE | evaluated 10 times by 2 tests Evaluated by:tst_examplestst_qquickanimations
 |  | FALSE | evaluated 10 times by 2 tests Evaluated by:tst_examplestst_qquickanimations
 | 
 | 10 | 
| 104 | const QQuickStateAction &action = applyList.at(ii); | - | 
| 105 | if (action.toBinding ) {| TRUE | never evaluated |  | FALSE | evaluated 10 times by 2 tests Evaluated by:tst_examplestst_qquickanimations
 | 
 | 0-10 | 
| 106 | QQmlPropertyPrivate::setBinding(action.toBinding.data(), QQmlPropertyPrivate::None, QQmlPropertyData::BypassInterceptor | QQmlPropertyData::DontRemoveBinding); | - | 
| 107 | } never executed: else if (!action.eventend of block ) {| TRUE | never evaluated |  | FALSE | evaluated 10 times by 2 tests Evaluated by:tst_examplestst_qquickanimations
 | 
 | 0-10 | 
| 108 | QQmlPropertyPrivate::write(action.property, action.toValue, QQmlPropertyData::BypassInterceptor | QQmlPropertyData::DontRemoveBinding); | - | 
| 109 | } never executed: else if (action.event->isReversable()end of block ) {| TRUE | evaluated 10 times by 2 tests Evaluated by:tst_examplestst_qquickanimations
 |  | FALSE | never evaluated | 
 | 0-10 | 
| 110 | if (action.reverseEvent )| TRUE | evaluated 2 times by 1 test |  | FALSE | evaluated 8 times by 2 tests Evaluated by:tst_examplestst_qquickanimations
 | 
 | 2-8 | 
| 111 | action.event->reverse(); executed 2 times by 1 test:  action.event->reverse(); | 2 | 
| 112 | else | - | 
| 113 | action.event->execute(); executed 8 times by 2 tests:  action.event->execute();Executed by:tst_examplestst_qquickanimations
 | 8 | 
| 114 | } | - | 
| 115 | } executed 10 times by 2 tests:  end of blockExecuted by:tst_examplestst_qquickanimations
 | 10 | 
| 116 |  | - | 
| 117 |  | - | 
| 118 | for (int ii = 0; ii < applyList.size() ; ++ii) {| TRUE | evaluated 10 times by 2 tests Evaluated by:tst_examplestst_qquickanimations
 |  | FALSE | evaluated 10 times by 2 tests Evaluated by:tst_examplestst_qquickanimations
 | 
 | 10 | 
| 119 | QQuickStateAction *action = &applyList[ii]; | - | 
| 120 | if (action->event ) {| TRUE | evaluated 10 times by 2 tests Evaluated by:tst_examplestst_qquickanimations
 |  | FALSE | never evaluated | 
 | 0-10 | 
| 121 | action->event->saveTargetValues(); | - | 
| 122 | continue; executed 10 times by 2 tests:  continue;Executed by:tst_examplestst_qquickanimations
 | 10 | 
| 123 | } | - | 
| 124 | const QQmlProperty &prop = action->property; | - | 
| 125 | if (action->toBinding || !action->toValue.isValid()| TRUE | never evaluated |  | FALSE | never evaluated | 
) {| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 126 | action->toValue = prop.read(); | - | 
| 127 | } never executed: end of block | 0 | 
| 128 | } never executed: end of block | 0 | 
| 129 |  | - | 
| 130 |  | - | 
| 131 | for (const QQuickStateAction &action : qAsConst(applyList)) { | - | 
| 132 | if (action.event ) {| TRUE | evaluated 10 times by 2 tests Evaluated by:tst_examplestst_qquickanimations
 |  | FALSE | never evaluated | 
 | 0-10 | 
| 133 | if (action.event->isReversable() ) {| TRUE | evaluated 10 times by 2 tests Evaluated by:tst_examplestst_qquickanimations
 |  | FALSE | never evaluated | 
 | 0-10 | 
| 134 | action.event->clearBindings(); | - | 
| 135 | action.event->rewind(); | - | 
| 136 | action.event->clearBindings(); | - | 
| 137 | } executed 10 times by 2 tests:  end of blockExecuted by:tst_examplestst_qquickanimations
 | 10 | 
| 138 | continue; executed 10 times by 2 tests:  continue;Executed by:tst_examplestst_qquickanimations
 | 10 | 
| 139 | } | - | 
| 140 |  | - | 
| 141 | if (action.toBinding )| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 142 | QQmlPropertyPrivate::removeBinding(action.property); never executed: QQmlPropertyPrivate::removeBinding(action.property); | 0 | 
| 143 |  | - | 
| 144 | QQmlPropertyPrivate::write(action.property, action.fromValue, QQmlPropertyData::BypassInterceptor | QQmlPropertyData::DontRemoveBinding); | - | 
| 145 | } never executed: end of block | 0 | 
| 146 | } executed 10 times by 2 tests:  end of blockExecuted by:tst_examplestst_qquickanimations
 | 10 | 
| 147 |  | - | 
| 148 | if (transition ) {| TRUE | evaluated 10628 times by 7 tests Evaluated by:tst_examplestst_qquickanimationstst_qquickflipabletst_qquickgridviewtst_qquicklistviewtst_qquickpositionerstst_qquickspringanimation
 |  | FALSE | evaluated 516 times by 19 tests Evaluated by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmllistreferencetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickanimationstst_qquickbehaviorstst_qquickdesignersupporttst_qquickfontloadertst_qquickitem2tst_qquicklistviewtst_qquickloadertst_qquickmouseareatst_qquickpathviewtst_qquickstates
 | 
 | 516-10628 | 
| 149 | QList<QQmlProperty> touched; | - | 
| 150 | QQuickTransitionInstance *oldInstance = d->transitionInstance; | - | 
| 151 | d->transitionInstance = transition->prepare(applyList, touched, this, defaultTarget); | - | 
| 152 | d->transitionInstance->start(); | - | 
| 153 | if (oldInstance && oldInstance != d->transitionInstance| TRUE | evaluated 154 times by 4 tests Evaluated by:tst_qquickanimationstst_qquickgridviewtst_qquicklistviewtst_qquickpositioners
 |  | FALSE | evaluated 10474 times by 7 tests Evaluated by:tst_examplestst_qquickanimationstst_qquickflipabletst_qquickgridviewtst_qquicklistviewtst_qquickpositionerstst_qquickspringanimation
 | 
)| TRUE | evaluated 154 times by 4 tests Evaluated by:tst_qquickanimationstst_qquickgridviewtst_qquicklistviewtst_qquickpositioners
 |  | FALSE | never evaluated | 
 | 0-10474 | 
| 154 | delete oldInstance; executed 154 times by 4 tests:  delete oldInstance;Executed by:tst_qquickanimationstst_qquickgridviewtst_qquicklistviewtst_qquickpositioners
 | 154 | 
| 155 |  | - | 
| 156 |  | - | 
| 157 | for (int ii = 0; ii < applyList.count() ; ++ii) {| TRUE | evaluated 21210 times by 7 tests Evaluated by:tst_examplestst_qquickanimationstst_qquickflipabletst_qquickgridviewtst_qquicklistviewtst_qquickpositionerstst_qquickspringanimation
 |  | FALSE | evaluated 10628 times by 7 tests Evaluated by:tst_examplestst_qquickanimationstst_qquickflipabletst_qquickgridviewtst_qquicklistviewtst_qquickpositionerstst_qquickspringanimation
 | 
 | 10628-21210 | 
| 158 | const QQuickStateAction &action = applyList.at(ii); | - | 
| 159 |  | - | 
| 160 | if (action.event ) {| TRUE | evaluated 14 times by 2 tests Evaluated by:tst_examplestst_qquickanimations
 |  | FALSE | evaluated 21196 times by 7 tests Evaluated by:tst_examplestst_qquickanimationstst_qquickflipabletst_qquickgridviewtst_qquicklistviewtst_qquickpositionerstst_qquickspringanimation
 | 
 | 14-21196 | 
| 161 |  | - | 
| 162 | if (action.actionDone ) {| TRUE | evaluated 2 times by 1 test |  | FALSE | evaluated 12 times by 2 tests Evaluated by:tst_examplestst_qquickanimations
 | 
 | 2-12 | 
| 163 | applyList.removeAt(ii); | - | 
| 164 | --ii; | - | 
| 165 | } executed 2 times by 1 test:  end of block | 2 | 
| 166 |  | - | 
| 167 | } executed 14 times by 2 testselse {:  end of blockExecuted by:tst_examplestst_qquickanimations
 | 14 | 
| 168 |  | - | 
| 169 | if (touched.contains(action.property) ) {| TRUE | evaluated 21106 times by 7 tests Evaluated by:tst_examplestst_qquickanimationstst_qquickflipabletst_qquickgridviewtst_qquicklistviewtst_qquickpositionerstst_qquickspringanimation
 |  | FALSE | evaluated 90 times by 5 tests Evaluated by:tst_examplestst_qquickanimationstst_qquicklistviewtst_qquickpositionerstst_qquickspringanimation
 | 
 | 90-21106 | 
| 170 | if (action.toValue != action.fromValue )| TRUE | evaluated 12 times by 3 tests Evaluated by:tst_qquickanimationstst_qquickgridviewtst_qquicklistview
 |  | FALSE | evaluated 21094 times by 7 tests Evaluated by:tst_examplestst_qquickanimationstst_qquickflipabletst_qquickgridviewtst_qquicklistviewtst_qquickpositionerstst_qquickspringanimation
 | 
 | 12-21094 | 
| 171 | d->completeList << executed 12 times by 3 tests:  d->completeList << QQuickSimpleAction(action, QQuickSimpleAction::EndState);Executed by:tst_qquickanimationstst_qquickgridviewtst_qquicklistview
 | 12 | 
| 172 | QQuickSimpleAction(action, QQuickSimpleAction::EndState); executed 12 times by 3 tests:  d->completeList << QQuickSimpleAction(action, QQuickSimpleAction::EndState);Executed by:tst_qquickanimationstst_qquickgridviewtst_qquicklistview
 | 12 | 
| 173 |  | - | 
| 174 | applyList.removeAt(ii); | - | 
| 175 | --ii; | - | 
| 176 | } executed 21106 times by 7 tests:  end of blockExecuted by:tst_examplestst_qquickanimationstst_qquickflipabletst_qquickgridviewtst_qquicklistviewtst_qquickpositionerstst_qquickspringanimation
 | 21106 | 
| 177 |  | - | 
| 178 | } executed 21196 times by 7 tests:  end of blockExecuted by:tst_examplestst_qquickanimationstst_qquickflipabletst_qquickgridviewtst_qquicklistviewtst_qquickpositionerstst_qquickspringanimation
 | 21196 | 
| 179 | } | - | 
| 180 | } executed 10628 times by 7 tests:  end of blockExecuted by:tst_examplestst_qquickanimationstst_qquickflipabletst_qquickgridviewtst_qquicklistviewtst_qquickpositionerstst_qquickspringanimation
 | 10628 | 
| 181 |  | - | 
| 182 |  | - | 
| 183 |  | - | 
| 184 |  | - | 
| 185 |  | - | 
| 186 | for (const QQuickStateAction &action : qAsConst(applyList)) { | - | 
| 187 | if (action.event && !action.event->changesBindings()| TRUE | evaluated 236 times by 6 tests Evaluated by:tst_examplestst_qquickanimationstst_qquickitem2tst_qquicklistviewtst_qquickpathviewtst_qquickstates
 |  | FALSE | evaluated 854 times by 19 tests Evaluated by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickanimationstst_qquickbehaviorstst_qquickdesignersupporttst_qquickfontloadertst_qquickitem2tst_qquicklistviewtst_qquickmouseareatst_qquickpathviewtst_qquickpositionerstst_qquickspringanimationtst_qquickstates
 | 
) {| TRUE | evaluated 174 times by 5 tests Evaluated by:tst_examplestst_qquickanimationstst_qquicklistviewtst_qquickpathviewtst_qquickstates
 |  | FALSE | evaluated 62 times by 5 tests Evaluated by:tst_examplestst_qquickanimationstst_qquickitem2tst_qquicklistviewtst_qquickstates
 | 
 | 62-854 | 
| 188 | if (action.event->isReversable() && action.reverseEvent| TRUE | evaluated 166 times by 4 tests Evaluated by:tst_examplestst_qquicklistviewtst_qquickpathviewtst_qquickstates
 |  | FALSE | evaluated 8 times by 2 tests Evaluated by:tst_qquickanimationstst_qquickstates
 | 
)| TRUE | evaluated 18 times by 2 tests Evaluated by:tst_qquicklistviewtst_qquickstates
 |  | FALSE | evaluated 148 times by 4 tests Evaluated by:tst_examplestst_qquicklistviewtst_qquickpathviewtst_qquickstates
 | 
 | 8-166 | 
| 189 | action.event->reverse(); executed 18 times by 2 tests:  action.event->reverse();Executed by:tst_qquicklistviewtst_qquickstates
 | 18 | 
| 190 | else | - | 
| 191 | action.event->execute(); executed 156 times by 5 tests:  action.event->execute();Executed by:tst_examplestst_qquickanimationstst_qquicklistviewtst_qquickpathviewtst_qquickstates
 | 156 | 
| 192 | } else if (!action.event && !action.toBinding| TRUE | evaluated 854 times by 19 tests Evaluated by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickanimationstst_qquickbehaviorstst_qquickdesignersupporttst_qquickfontloadertst_qquickitem2tst_qquicklistviewtst_qquickmouseareatst_qquickpathviewtst_qquickpositionerstst_qquickspringanimationtst_qquickstates
 |  | FALSE | evaluated 62 times by 5 tests Evaluated by:tst_examplestst_qquickanimationstst_qquickitem2tst_qquicklistviewtst_qquickstates
 | 
) {| TRUE | evaluated 750 times by 14 tests Evaluated by:tst_examplestst_qqmlenginedebugservicetst_qqmlnotifiertst_qquickanimationstst_qquickbehaviorstst_qquickdesignersupporttst_qquickfontloadertst_qquickitem2tst_qquicklistviewtst_qquickmouseareatst_qquickpathviewtst_qquickpositionerstst_qquickspringanimationtst_qquickstates
 |  | FALSE | evaluated 104 times by 12 tests Evaluated by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickbehaviorstst_qquickitem2tst_qquickpathviewtst_qquickstates
 | 
 | 62-854 | 
| 193 | action.property.write(action.toValue); | - | 
| 194 | } executed 750 times by 14 tests:  end of blockExecuted by:tst_examplestst_qqmlenginedebugservicetst_qqmlnotifiertst_qquickanimationstst_qquickbehaviorstst_qquickdesignersupporttst_qquickfontloadertst_qquickitem2tst_qquicklistviewtst_qquickmouseareatst_qquickpathviewtst_qquickpositionerstst_qquickspringanimationtst_qquickstates
 | 750 | 
| 195 | } executed 1090 times by 19 tests:  end of blockExecuted by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickanimationstst_qquickbehaviorstst_qquickdesignersupporttst_qquickfontloadertst_qquickitem2tst_qquicklistviewtst_qquickmouseareatst_qquickpathviewtst_qquickpositionerstst_qquickspringanimationtst_qquickstates
 | 1090 | 
| 196 |  | - | 
| 197 | if (stateChangeDebug() ) {| TRUE | never evaluated |  | FALSE | evaluated 11144 times by 23 tests Evaluated by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmllistreferencetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickanimationstst_qquickbehaviorstst_qquickdesignersupporttst_qquickflipabletst_qquickfontloadertst_qquickgridviewtst_qquickitem2tst_qquicklistviewtst_qquickloadertst_qquickmouseareatst_qquickpathviewtst_qquickpositionerstst_qquickspringanimationtst_qquickstates
 | 
 | 0-11144 | 
| 198 | for (const QQuickStateAction &action : qAsConst(applyList)) { | - | 
| 199 | if (action.event )| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 200 | QMessageLogger(__FILE__, 256, __PRETTY_FUNCTION__).warning() << "    No transition for event:" << action.event->type(); never executed: QMessageLogger(__FILE__, 256, __PRETTY_FUNCTION__).warning() << " No transition for event:" << action.event->type(); | 0 | 
| 201 | else | - | 
| 202 | QMessageLogger(__FILE__, 258, __PRETTY_FUNCTION__).warning() << "    No transition for:" << action.property.object() never executed: QMessageLogger(__FILE__, 258, __PRETTY_FUNCTION__).warning() << " No transition for:" << action.property.object() << action.property.name() << "From:" << action.fromValue << "To:" << action.toValue; | 0 | 
| 203 | << action.property.name() << "From:" << action.fromValue never executed: QMessageLogger(__FILE__, 258, __PRETTY_FUNCTION__).warning() << " No transition for:" << action.property.object() << action.property.name() << "From:" << action.fromValue << "To:" << action.toValue; | 0 | 
| 204 | << "To:" << action.toValue; never executed: QMessageLogger(__FILE__, 258, __PRETTY_FUNCTION__).warning() << " No transition for:" << action.property.object() << action.property.name() << "From:" << action.fromValue << "To:" << action.toValue; | 0 | 
| 205 | } | - | 
| 206 | } never executed: end of block | 0 | 
| 207 |  | - | 
| 208 | if (!transition )| TRUE | evaluated 516 times by 19 tests Evaluated by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmllistreferencetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickanimationstst_qquickbehaviorstst_qquickdesignersupporttst_qquickfontloadertst_qquickitem2tst_qquicklistviewtst_qquickloadertst_qquickmouseareatst_qquickpathviewtst_qquickstates
 |  | FALSE | evaluated 10628 times by 7 tests Evaluated by:tst_examplestst_qquickanimationstst_qquickflipabletst_qquickgridviewtst_qquicklistviewtst_qquickpositionerstst_qquickspringanimation
 | 
 | 516-10628 | 
| 209 | complete(); executed 516 times by 19 tests:  complete();Executed by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmllistreferencetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickanimationstst_qquickbehaviorstst_qquickdesignersupporttst_qquickfontloadertst_qquickitem2tst_qquicklistviewtst_qquickloadertst_qquickmouseareatst_qquickpathviewtst_qquickstates
 | 516 | 
| 210 | } executed 11144 times by 23 tests:  end of blockExecuted by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmllistreferencetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickanimationstst_qquickbehaviorstst_qquickdesignersupporttst_qquickflipabletst_qquickfontloadertst_qquickgridviewtst_qquickitem2tst_qquicklistviewtst_qquickloadertst_qquickmouseareatst_qquickpathviewtst_qquickpositionerstst_qquickspringanimationtst_qquickstates
 | 11144 | 
| 211 |  | - | 
| 212 | void QQuickTransitionManager::cancel() | - | 
| 213 | { | - | 
| 214 | if (d->transitionInstance && d->transitionInstance->isRunning()| TRUE | evaluated 518 times by 4 tests Evaluated by:tst_qquickanimationstst_qquickgridviewtst_qquicklistviewtst_qquickpositioners
 |  | FALSE | evaluated 12138 times by 23 tests Evaluated by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmllistreferencetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickanimationstst_qquickbehaviorstst_qquickdesignersupporttst_qquickflipabletst_qquickfontloadertst_qquickgridviewtst_qquickitem2tst_qquicklistviewtst_qquickloadertst_qquickmouseareatst_qquickpathviewtst_qquickpositionerstst_qquickspringanimationtst_qquickstates
 | 
)| TRUE | evaluated 276 times by 4 tests Evaluated by:tst_qquickanimationstst_qquickgridviewtst_qquicklistviewtst_qquickpositioners
 |  | FALSE | evaluated 242 times by 3 tests Evaluated by:tst_qquickanimationstst_qquickgridviewtst_qquicklistview
 | 
 | 242-12138 | 
| 215 | d->transitionInstance->stop(); executed 276 times by 4 tests:  d->transitionInstance->stop();Executed by:tst_qquickanimationstst_qquickgridviewtst_qquicklistviewtst_qquickpositioners
 | 276 | 
| 216 |  | - | 
| 217 | for(int i = 0; i < d->bindingsList.count() ; ++i) {| TRUE | never evaluated |  | FALSE | evaluated 12656 times by 23 tests Evaluated by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmllistreferencetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickanimationstst_qquickbehaviorstst_qquickdesignersupporttst_qquickflipabletst_qquickfontloadertst_qquickgridviewtst_qquickitem2tst_qquicklistviewtst_qquickloadertst_qquickmouseareatst_qquickpathviewtst_qquickpositionerstst_qquickspringanimationtst_qquickstates
 | 
 | 0-12656 | 
| 218 | QQuickStateAction action = d->bindingsList[i]; | - | 
| 219 | if (action.toBinding && action.deletableToBinding| TRUE | never evaluated |  | FALSE | never evaluated | 
) {| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 220 | QQmlPropertyPrivate::removeBinding(action.property); | - | 
| 221 | action.toBinding = nullptr; | - | 
| 222 | action.deletableToBinding = false; | - | 
| 223 | } never executed: else if (action.eventend of block ) {| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 224 |  | - | 
| 225 | } never executed: end of block | 0 | 
| 226 |  | - | 
| 227 | } never executed: end of block | 0 | 
| 228 | d->bindingsList.clear(); | - | 
| 229 | d->completeList.clear(); | - | 
| 230 | } executed 12656 times by 23 tests:  end of blockExecuted by:tst_examplestst_qqmlbindingtst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmllistreferencetst_qqmlnotifiertst_qqmlpropertytst_qqmltranslationtst_qqmlvaluetypestst_qquickanimationstst_qquickbehaviorstst_qquickdesignersupporttst_qquickflipabletst_qquickfontloadertst_qquickgridviewtst_qquickitem2tst_qquicklistviewtst_qquickloadertst_qquickmouseareatst_qquickpathviewtst_qquickpositionerstst_qquickspringanimationtst_qquickstates
 | 12656 | 
| 231 |  | - | 
| 232 |  | - | 
|  |  |  |