| Line | Source | Count | 
|---|
| 1 |  | - | 
| 2 |  | - | 
| 3 |  | - | 
| 4 |  | - | 
| 5 |  | - | 
| 6 |  | - | 
| 7 |  | - | 
| 8 |  | - | 
| 9 |  | - | 
| 10 |  | - | 
| 11 |  | - | 
| 12 |  | - | 
| 13 |  | - | 
| 14 |  | - | 
| 15 |  | - | 
| 16 |  | - | 
| 17 |  | - | 
| 18 |  | - | 
| 19 |  | - | 
| 20 |  | - | 
| 21 |  | - | 
| 22 |  | - | 
| 23 |  | - | 
| 24 |  | - | 
| 25 |  | - | 
| 26 |  | - | 
| 27 |  | - | 
| 28 |  | - | 
| 29 |  | - | 
| 30 |  | - | 
| 31 |  | - | 
| 32 |  | - | 
| 33 |  | - | 
| 34 |  | - | 
| 35 |  | - | 
| 36 |  | - | 
| 37 |  | - | 
| 38 |  | - | 
| 39 |  | - | 
| 40 | #include "qquicktransitionmanager_p_p.h" | - | 
| 41 |  | - | 
| 42 | #include "qquicktransition_p.h" | - | 
| 43 | #include "qquickstate_p_p.h" | - | 
| 44 |  | - | 
| 45 | #include <private/qqmlbinding_p.h> | - | 
| 46 | #include <private/qqmlglobal_p.h> | - | 
| 47 | #include <private/qqmlproperty_p.h> | - | 
| 48 |  | - | 
| 49 | #include <QtCore/qdebug.h> | - | 
| 50 |  | - | 
| 51 | QT_BEGIN_NAMESPACE | - | 
| 52 |  | - | 
| 53 | DEFINE_BOOL_CONFIG_OPTION(stateChangeDebug, STATECHANGE_DEBUG); never executed: status = Yes; never executed: end of block executed 46 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
 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
 | 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
 | 
| 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
 | 
| TRUE | never evaluated |  | FALSE | never evaluated | 
| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0-11144 | 
| 54 |  | - | 
| 55 | class QQuickTransitionManagerPrivate | - | 
| 56 | { | - | 
| 57 | public: | - | 
| 58 | QQuickTransitionManagerPrivate() | - | 
| 59 | : 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 | 
| 60 |  | - | 
| 61 | void applyBindings(); | - | 
| 62 | typedef QList<QQuickSimpleAction> SimpleActionList; | - | 
| 63 | QQuickState *state; | - | 
| 64 | QQuickTransitionInstance *transitionInstance; | - | 
| 65 | QQuickStateOperation::ActionList bindingsList; | - | 
| 66 | SimpleActionList completeList; | - | 
| 67 | }; | - | 
| 68 |  | - | 
| 69 | QQuickTransitionManager::QQuickTransitionManager() | - | 
| 70 | : d(new QQuickTransitionManagerPrivate) | - | 
| 71 | { | - | 
| 72 | } 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 | 
| 73 |  | - | 
| 74 | void QQuickTransitionManager::setState(QQuickState *s) | - | 
| 75 | { | - | 
| 76 | d->state = s; | - | 
| 77 | } 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 | 
| 78 |  | - | 
| 79 | QQuickTransitionManager::~QQuickTransitionManager() | - | 
| 80 | { | - | 
| 81 | delete d->transitionInstance; | - | 
| 82 | delete d; d = nullptr; | - | 
| 83 | } 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 | 
| 84 |  | - | 
| 85 | bool QQuickTransitionManager::isRunning() const | - | 
| 86 | { | - | 
| 87 | return d->transitionInstance && d->transitionInstance->isRunning(); executed 9384 times by 5 tests:  return d->transitionInstance && d->transitionInstance->isRunning();Executed by:tst_qquickflickabletst_qquickgridviewtst_qquicklistviewtst_qquickpositionerstst_qquickspringanimation
 | 9384 | 
| 88 | } | - | 
| 89 |  | - | 
| 90 | void QQuickTransitionManager::complete() | - | 
| 91 | { | - | 
| 92 | d->applyBindings(); | - | 
| 93 |  | - | 
| 94 | 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 | 
| 95 | const QQmlProperty &prop = d->completeList.at(ii).property(); | - | 
| 96 | prop.write(d->completeList.at(ii).value()); | - | 
| 97 | } executed 12 times by 3 tests:  end of blockExecuted by:tst_qquickanimationstst_qquickgridviewtst_qquicklistview
 | 12 | 
| 98 |  | - | 
| 99 | d->completeList.clear(); | - | 
| 100 |  | - | 
| 101 | 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 | 
| 102 | static_cast<QQuickStatePrivate*>(QObjectPrivate::get(d->state))->complete(); 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 | 
| 103 |  | - | 
| 104 | finished(); | - | 
| 105 | } 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 | 
| 106 |  | - | 
| 107 | void QQuickTransitionManagerPrivate::applyBindings() | - | 
| 108 | { | - | 
| 109 | for (const QQuickStateAction &action : qAsConst(bindingsList)) { | - | 
| 110 | 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 | 
| 111 | QQmlPropertyPrivate::setBinding(action.toBinding.data()); | - | 
| 112 | } else if (action.event) { executed 104 times by 12 tests:  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 | 
| 113 | 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 | 
| 114 | action.event->reverse(); executed 22 times by 3 tests:  action.event->reverse();Executed by:tst_qquickanimationstst_qquicklistviewtst_qquickstates
 | 22 | 
| 115 | else | - | 
| 116 | action.event->execute(); executed 38 times by 4 tests:  action.event->execute();Executed by:tst_qquickanimationstst_qquickitem2tst_qquicklistviewtst_qquickstates
 | 38 | 
| 117 | } | - | 
| 118 |  | - | 
| 119 | } 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 | 
| 120 |  | - | 
| 121 | bindingsList.clear(); | - | 
| 122 | } 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 | 
| 123 |  | - | 
| 124 | void QQuickTransitionManager::finished() | - | 
| 125 | { | - | 
| 126 | } | - | 
| 127 |  | - | 
| 128 | void QQuickTransitionManager::transition(const QList<QQuickStateAction> &list, | - | 
| 129 | QQuickTransition *transition, | - | 
| 130 | QObject *defaultTarget) | - | 
| 131 | { | - | 
| 132 | cancel(); | - | 
| 133 |  | - | 
| 134 | QQuickStateOperation::ActionList applyList = list; | - | 
| 135 |  | - | 
| 136 | for (const QQuickStateAction &action : qAsConst(applyList)) { | - | 
| 137 | 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 | 
| 138 | 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 | 
| 139 | 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 | 
| 140 | QQmlPropertyPrivate::removeBinding(action.property); executed 32 times by 6 tests:  QQmlPropertyPrivate::removeBinding(action.property);Executed by:tst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmlpropertytst_qqmlvaluetypestst_qquickbehaviorstst_qquickstates
 | 32 | 
| 141 | 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 | 
| 142 | d->bindingsList << action; | - | 
| 143 | action.event->clearBindings(); | - | 
| 144 | } executed 62 times by 5 tests:  end of blockExecuted by:tst_examplestst_qquickanimationstst_qquickitem2tst_qquicklistviewtst_qquickstates
 | 62 | 
| 145 | } 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 | 
| 146 |  | - | 
| 147 |  | - | 
| 148 |  | - | 
| 149 |  | - | 
| 150 |  | - | 
| 151 |  | - | 
| 152 |  | - | 
| 153 |  | - | 
| 154 |  | - | 
| 155 |  | - | 
| 156 | 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 | 
| 157 |  | - | 
| 158 |  | - | 
| 159 | 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 | 
| 160 | const QQuickStateAction &action = applyList.at(ii); | - | 
| 161 | if (action.toBinding) { | TRUE | never evaluated |  | FALSE | evaluated 10 times by 2 tests Evaluated by:tst_examplestst_qquickanimations
 | 
 | 0-10 | 
| 162 | QQmlPropertyPrivate::setBinding(action.toBinding.data(), QQmlPropertyPrivate::None, QQmlPropertyData::BypassInterceptor | QQmlPropertyData::DontRemoveBinding); | - | 
| 163 | } else if (!action.event) { never executed: end of block | TRUE | never evaluated |  | FALSE | evaluated 10 times by 2 tests Evaluated by:tst_examplestst_qquickanimations
 | 
 | 0-10 | 
| 164 | QQmlPropertyPrivate::write(action.property, action.toValue, QQmlPropertyData::BypassInterceptor | QQmlPropertyData::DontRemoveBinding); | - | 
| 165 | } else if (action.event->isReversable()) { never executed: end of block | TRUE | evaluated 10 times by 2 tests Evaluated by:tst_examplestst_qquickanimations
 |  | FALSE | never evaluated | 
 | 0-10 | 
| 166 | if (action.reverseEvent) | TRUE | evaluated 2 times by 1 test |  | FALSE | evaluated 8 times by 2 tests Evaluated by:tst_examplestst_qquickanimations
 | 
 | 2-8 | 
| 167 | action.event->reverse(); executed 2 times by 1 test:  action.event->reverse(); | 2 | 
| 168 | else | - | 
| 169 | action.event->execute(); executed 8 times by 2 tests:  action.event->execute();Executed by:tst_examplestst_qquickanimations
 | 8 | 
| 170 | } | - | 
| 171 | } executed 10 times by 2 tests:  end of blockExecuted by:tst_examplestst_qquickanimations
 | 10 | 
| 172 |  | - | 
| 173 |  | - | 
| 174 | 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 | 
| 175 | QQuickStateAction *action = &applyList[ii]; | - | 
| 176 | if (action->event) { | TRUE | evaluated 10 times by 2 tests Evaluated by:tst_examplestst_qquickanimations
 |  | FALSE | never evaluated | 
 | 0-10 | 
| 177 | action->event->saveTargetValues(); | - | 
| 178 | continue; executed 10 times by 2 tests:  continue;Executed by:tst_examplestst_qquickanimations
 | 10 | 
| 179 | } | - | 
| 180 | const QQmlProperty &prop = action->property; | - | 
| 181 | if (action->toBinding || !action->toValue.isValid()) { | TRUE | never evaluated |  | FALSE | never evaluated | 
| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 182 | action->toValue = prop.read(); | - | 
| 183 | } never executed: end of block | 0 | 
| 184 | } never executed: end of block | 0 | 
| 185 |  | - | 
| 186 |  | - | 
| 187 | for (const QQuickStateAction &action : qAsConst(applyList)) { | - | 
| 188 | if (action.event) { | TRUE | evaluated 10 times by 2 tests Evaluated by:tst_examplestst_qquickanimations
 |  | FALSE | never evaluated | 
 | 0-10 | 
| 189 | if (action.event->isReversable()) { | TRUE | evaluated 10 times by 2 tests Evaluated by:tst_examplestst_qquickanimations
 |  | FALSE | never evaluated | 
 | 0-10 | 
| 190 | action.event->clearBindings(); | - | 
| 191 | action.event->rewind(); | - | 
| 192 | action.event->clearBindings(); | - | 
| 193 | } executed 10 times by 2 tests:  end of blockExecuted by:tst_examplestst_qquickanimations
 | 10 | 
| 194 | continue; executed 10 times by 2 tests:  continue;Executed by:tst_examplestst_qquickanimations
 | 10 | 
| 195 | } | - | 
| 196 |  | - | 
| 197 | if (action.toBinding) | TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 198 | QQmlPropertyPrivate::removeBinding(action.property); never executed: QQmlPropertyPrivate::removeBinding(action.property); | 0 | 
| 199 |  | - | 
| 200 | QQmlPropertyPrivate::write(action.property, action.fromValue, QQmlPropertyData::BypassInterceptor | QQmlPropertyData::DontRemoveBinding); | - | 
| 201 | } never executed: end of block | 0 | 
| 202 | } executed 10 times by 2 tests:  end of blockExecuted by:tst_examplestst_qquickanimations
 | 10 | 
| 203 |  | - | 
| 204 | 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 | 
| 205 | QList<QQmlProperty> touched; | - | 
| 206 | QQuickTransitionInstance *oldInstance = d->transitionInstance; | - | 
| 207 | d->transitionInstance = transition->prepare(applyList, touched, this, defaultTarget); | - | 
| 208 | d->transitionInstance->start(); | - | 
| 209 | 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 | 
| 210 | delete oldInstance; executed 154 times by 4 tests:  delete oldInstance;Executed by:tst_qquickanimationstst_qquickgridviewtst_qquicklistviewtst_qquickpositioners
 | 154 | 
| 211 |  | - | 
| 212 |  | - | 
| 213 | 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 | 
| 214 | const QQuickStateAction &action = applyList.at(ii); | - | 
| 215 |  | - | 
| 216 | 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 | 
| 217 |  | - | 
| 218 | if (action.actionDone) { | TRUE | evaluated 2 times by 1 test |  | FALSE | evaluated 12 times by 2 tests Evaluated by:tst_examplestst_qquickanimations
 | 
 | 2-12 | 
| 219 | applyList.removeAt(ii); | - | 
| 220 | --ii; | - | 
| 221 | } executed 2 times by 1 test:  end of block | 2 | 
| 222 |  | - | 
| 223 | } else { executed 14 times by 2 tests:  end of blockExecuted by:tst_examplestst_qquickanimations
 | 14 | 
| 224 |  | - | 
| 225 | 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 | 
| 226 | 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 | 
| 227 | d->completeList << executed 12 times by 3 tests:  d->completeList << QQuickSimpleAction(action, QQuickSimpleAction::EndState);Executed by:tst_qquickanimationstst_qquickgridviewtst_qquicklistview
 | 12 | 
| 228 | QQuickSimpleAction(action, QQuickSimpleAction::EndState); executed 12 times by 3 tests:  d->completeList << QQuickSimpleAction(action, QQuickSimpleAction::EndState);Executed by:tst_qquickanimationstst_qquickgridviewtst_qquicklistview
 | 12 | 
| 229 |  | - | 
| 230 | applyList.removeAt(ii); | - | 
| 231 | --ii; | - | 
| 232 | } executed 21106 times by 7 tests:  end of blockExecuted by:tst_examplestst_qquickanimationstst_qquickflipabletst_qquickgridviewtst_qquicklistviewtst_qquickpositionerstst_qquickspringanimation
 | 21106 | 
| 233 |  | - | 
| 234 | } executed 21196 times by 7 tests:  end of blockExecuted by:tst_examplestst_qquickanimationstst_qquickflipabletst_qquickgridviewtst_qquicklistviewtst_qquickpositionerstst_qquickspringanimation
 | 21196 | 
| 235 | } | - | 
| 236 | } executed 10628 times by 7 tests:  end of blockExecuted by:tst_examplestst_qquickanimationstst_qquickflipabletst_qquickgridviewtst_qquicklistviewtst_qquickpositionerstst_qquickspringanimation
 | 10628 | 
| 237 |  | - | 
| 238 |  | - | 
| 239 |  | - | 
| 240 |  | - | 
| 241 |  | - | 
| 242 | for (const QQuickStateAction &action : qAsConst(applyList)) { | - | 
| 243 | 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 | 
| 244 | 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 | 
| 245 | action.event->reverse(); executed 18 times by 2 tests:  action.event->reverse();Executed by:tst_qquicklistviewtst_qquickstates
 | 18 | 
| 246 | else | - | 
| 247 | action.event->execute(); executed 156 times by 5 tests:  action.event->execute();Executed by:tst_examplestst_qquickanimationstst_qquicklistviewtst_qquickpathviewtst_qquickstates
 | 156 | 
| 248 | } 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 | 
| 249 | action.property.write(action.toValue); | - | 
| 250 | } 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 | 
| 251 | } 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 | 
| 252 | #ifndef QT_NO_DEBUG_STREAM | - | 
| 253 | 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 | 
| 254 | for (const QQuickStateAction &action : qAsConst(applyList)) { | - | 
| 255 | if (action.event) | TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 256 | qWarning() << "    No transition for event:" << action.event->type(); never executed: QMessageLogger(__FILE__, 256, __PRETTY_FUNCTION__).warning() << " No transition for event:" << action.event->type(); | 0 | 
| 257 | else | - | 
| 258 | qWarning() << "    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 | 
| 259 | << 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 | 
| 260 | << "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 | 
| 261 | } | - | 
| 262 | } never executed: end of block | 0 | 
| 263 | #endif | - | 
| 264 | 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 | 
| 265 | 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 | 
| 266 | } 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 | 
| 267 |  | - | 
| 268 | void QQuickTransitionManager::cancel() | - | 
| 269 | { | - | 
| 270 | 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 | 
| 271 | d->transitionInstance->stop(); executed 276 times by 4 tests:  d->transitionInstance->stop();Executed by:tst_qquickanimationstst_qquickgridviewtst_qquicklistviewtst_qquickpositioners
 | 276 | 
| 272 |  | - | 
| 273 | 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 | 
| 274 | QQuickStateAction action = d->bindingsList[i]; | - | 
| 275 | if (action.toBinding && action.deletableToBinding) { | TRUE | never evaluated |  | FALSE | never evaluated | 
| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 276 | QQmlPropertyPrivate::removeBinding(action.property); | - | 
| 277 | action.toBinding = nullptr; | - | 
| 278 | action.deletableToBinding = false; | - | 
| 279 | } else if (action.event) { never executed: end of block | TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 280 |  | - | 
| 281 | } never executed: end of block | 0 | 
| 282 |  | - | 
| 283 | } never executed: end of block | 0 | 
| 284 | d->bindingsList.clear(); | - | 
| 285 | d->completeList.clear(); | - | 
| 286 | } 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 | 
| 287 |  | - | 
| 288 | QT_END_NAMESPACE | - | 
|  |  |  |