OpenCoverage

qquicktransitionmanager.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquicktransitionmanager.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7static bool stateChangeDebug() { static enum { Yes, No, Unknown } status = Unknown; if (status == Unknown
status == UnknownDescription
TRUEevaluated 46 times by 23 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickflipable
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickspringanimation
  • tst_qquickstates
FALSEevaluated 11098 times by 19 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickspringanimation
  • tst_qquickstates
) { status = No; if (__builtin_expect(!!(!qEnvironmentVariableIsEmpty("STATECHANGE_DEBUG")), false)
__builtin_expe...BUG")), false)Description
TRUEnever evaluated
FALSEevaluated 46 times by 23 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickflipable
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickspringanimation
  • tst_qquickstates
) { const QByteArray v = qgetenv("STATECHANGE_DEBUG"); if (v != "0"
v != "0"Description
TRUEnever evaluated
FALSEnever evaluated
&& v != "false"
v != "false"Description
TRUEnever evaluated
FALSEnever evaluated
) status = Yes;
never executed: status = Yes;
}
never executed: end of block
}
executed 46 times by 23 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickflipable
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickspringanimation
  • tst_qquickstates
return
executed 11144 times by 23 tests: return status == Yes;
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickflipable
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickspringanimation
  • tst_qquickstates
status == Yes;
executed 11144 times by 23 tests: return status == Yes;
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickflipable
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickspringanimation
  • tst_qquickstates
};
0-11144
8-
9class QQuickTransitionManagerPrivate-
10{-
11public:-
12 QQuickTransitionManagerPrivate()-
13 : state(nullptr), transitionInstance(nullptr) {}
executed 11942 times by 24 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickspringanimation
  • tst_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-
23QQuickTransitionManager::QQuickTransitionManager()-
24: d(new QQuickTransitionManagerPrivate)-
25{-
26}
executed 11942 times by 24 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickspringanimation
  • tst_qquickstates
11942
27-
28void QQuickTransitionManager::setState(QQuickState *s)-
29{-
30 d->state = s;-
31}
executed 1522 times by 20 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickflipable
  • tst_qquickfontloader
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickstates
1522
32-
33QQuickTransitionManager::~QQuickTransitionManager()-
34{-
35 delete d->transitionInstance;-
36 delete d; d = nullptr;-
37}
executed 11710 times by 24 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickspringanimation
  • tst_qquickstates
11710
38-
39bool QQuickTransitionManager::isRunning() const-
40{-
41 return
executed 9384 times by 5 tests: return d->transitionInstance && d->transitionInstance->isRunning();
Executed by:
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickspringanimation
d->transitionInstance && d->transitionInstance->isRunning();
executed 9384 times by 5 tests: return d->transitionInstance && d->transitionInstance->isRunning();
Executed by:
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickspringanimation
9384
42}-
43-
44void QQuickTransitionManager::complete()-
45{-
46 d->applyBindings();-
47-
48 for (int ii = 0; ii < d->completeList.count()
ii < d->completeList.count()Description
TRUEevaluated 12 times by 3 tests
Evaluated by:
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquicklistview
FALSEevaluated 9406 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickspringanimation
  • tst_qquickstates
; ++ii) {
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 block
Executed by:
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquicklistview
12
52-
53 d->completeList.clear();-
54-
55 if (d->state
d->stateDescription
TRUEevaluated 574 times by 19 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickfontloader
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickstates
FALSEevaluated 8832 times by 4 tests
Evaluated by:
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickspringanimation
)
574-8832
56 static_cast<
executed 574 times by 19 tests: static_cast<QQuickStatePrivate*>(QObjectPrivate::get(d->state))->complete();
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickfontloader
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickstates
QQuickStatePrivate*>(QObjectPrivate::get(d->state))->complete();
executed 574 times by 19 tests: static_cast<QQuickStatePrivate*>(QObjectPrivate::get(d->state))->complete();
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickfontloader
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickstates
574
57-
58 finished();-
59}
executed 9406 times by 22 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickspringanimation
  • tst_qquickstates
9406
60-
61void QQuickTransitionManagerPrivate::applyBindings()-
62{-
63 for (const QQuickStateAction &action : qAsConst(bindingsList)) {-
64 if (action.toBinding
action.toBindingDescription
TRUEevaluated 104 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickbehaviors
  • tst_qquickitem2
  • tst_qquickpathview
  • tst_qquickstates
FALSEevaluated 60 times by 4 tests
Evaluated by:
  • tst_qquickanimations
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
) {
60-104
65 QQmlPropertyPrivate::setBinding(action.toBinding.data());-
66 }
executed 104 times by 12 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickbehaviors
  • tst_qquickitem2
  • tst_qquickpathview
  • tst_qquickstates
else if (action.event
action.eventDescription
TRUEevaluated 60 times by 4 tests
Evaluated by:
  • tst_qquickanimations
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
FALSEnever evaluated
) {
0-104
67 if (action.reverseEvent
action.reverseEventDescription
TRUEevaluated 22 times by 3 tests
Evaluated by:
  • tst_qquickanimations
  • tst_qquicklistview
  • tst_qquickstates
FALSEevaluated 38 times by 4 tests
Evaluated by:
  • tst_qquickanimations
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
)
22-38
68 action.event->reverse();
executed 22 times by 3 tests: action.event->reverse();
Executed by:
  • tst_qquickanimations
  • tst_qquicklistview
  • tst_qquickstates
22
69 else-
70 action.event->execute();
executed 38 times by 4 tests: action.event->execute();
Executed by:
  • tst_qquickanimations
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
38
71 }-
72-
73 }
executed 164 times by 14 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickstates
164
74-
75 bindingsList.clear();-
76}
executed 9406 times by 22 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickspringanimation
  • tst_qquickstates
9406
77-
78void QQuickTransitionManager::finished()-
79{-
80}-
81-
82void 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
action.toBindingDescription
TRUEevaluated 104 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickbehaviors
  • tst_qquickitem2
  • tst_qquickpathview
  • tst_qquickstates
FALSEevaluated 22094 times by 16 tests
Evaluated by:
  • tst_examples
  • tst_qqmlenginedebugservice
  • tst_qqmlnotifier
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickflipable
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickspringanimation
  • tst_qquickstates
)
104-22094
92 d->bindingsList << action;
executed 104 times by 12 tests: d->bindingsList << action;
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickbehaviors
  • tst_qquickitem2
  • tst_qquickpathview
  • tst_qquickstates
104
93 if (action.fromBinding
action.fromBindingDescription
TRUEevaluated 32 times by 6 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlproperty
  • tst_qqmlvaluetypes
  • tst_qquickbehaviors
  • tst_qquickstates
FALSEevaluated 22166 times by 21 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickflipable
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickspringanimation
  • tst_qquickstates
)
32-22166
94 QQmlPropertyPrivate::removeBinding(action.property);
executed 32 times by 6 tests: QQmlPropertyPrivate::removeBinding(action.property);
Executed by:
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlproperty
  • tst_qqmlvaluetypes
  • tst_qquickbehaviors
  • tst_qquickstates
32
95 if (action.event
action.eventDescription
TRUEevaluated 238 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickstates
FALSEevaluated 21960 times by 21 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickflipable
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickspringanimation
  • tst_qquickstates
&& action.event->changesBindings()
action.event->...ngesBindings()Description
TRUEevaluated 62 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
FALSEevaluated 176 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickstates
) {
62-21960
96 d->bindingsList << action;-
97 action.event->clearBindings();-
98 }
executed 62 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
62
99 }
executed 22198 times by 21 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickflipable
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickspringanimation
  • tst_qquickstates
22198
100 if (transition
transitionDescription
TRUEevaluated 10628 times by 7 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickspringanimation
FALSEevaluated 516 times by 19 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickfontloader
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickstates
&& !d->bindingsList.isEmpty()
!d->bindingsList.isEmpty()Description
TRUEevaluated 10 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
FALSEevaluated 10618 times by 7 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickspringanimation
) {
10-10628
101-
102-
103 for (int ii = 0; ii < applyList.size()
ii < applyList.size()Description
TRUEevaluated 10 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
FALSEevaluated 10 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
; ++ii) {
10
104 const QQuickStateAction &action = applyList.at(ii);-
105 if (action.toBinding
action.toBindingDescription
TRUEnever evaluated
FALSEevaluated 10 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
) {
0-10
106 QQmlPropertyPrivate::setBinding(action.toBinding.data(), QQmlPropertyPrivate::None, QQmlPropertyData::BypassInterceptor | QQmlPropertyData::DontRemoveBinding);-
107 }
never executed: end of block
else if (!action.event
!action.eventDescription
TRUEnever evaluated
FALSEevaluated 10 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
) {
0-10
108 QQmlPropertyPrivate::write(action.property, action.toValue, QQmlPropertyData::BypassInterceptor | QQmlPropertyData::DontRemoveBinding);-
109 }
never executed: end of block
else if (action.event->isReversable()
action.event->isReversable()Description
TRUEevaluated 10 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
FALSEnever evaluated
) {
0-10
110 if (action.reverseEvent
action.reverseEventDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickanimations
FALSEevaluated 8 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
)
2-8
111 action.event->reverse();
executed 2 times by 1 test: action.event->reverse();
Executed by:
  • tst_qquickanimations
2
112 else-
113 action.event->execute();
executed 8 times by 2 tests: action.event->execute();
Executed by:
  • tst_examples
  • tst_qquickanimations
8
114 }-
115 }
executed 10 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanimations
10
116-
117-
118 for (int ii = 0; ii < applyList.size()
ii < applyList.size()Description
TRUEevaluated 10 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
FALSEevaluated 10 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
; ++ii) {
10
119 QQuickStateAction *action = &applyList[ii];-
120 if (action->event
action->eventDescription
TRUEevaluated 10 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
FALSEnever evaluated
) {
0-10
121 action->event->saveTargetValues();-
122 continue;
executed 10 times by 2 tests: continue;
Executed by:
  • tst_examples
  • tst_qquickanimations
10
123 }-
124 const QQmlProperty &prop = action->property;-
125 if (action->toBinding
action->toBindingDescription
TRUEnever evaluated
FALSEnever evaluated
|| !action->toValue.isValid()
!action->toValue.isValid()Description
TRUEnever evaluated
FALSEnever 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
action.eventDescription
TRUEevaluated 10 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
FALSEnever evaluated
) {
0-10
133 if (action.event->isReversable()
action.event->isReversable()Description
TRUEevaluated 10 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
FALSEnever evaluated
) {
0-10
134 action.event->clearBindings();-
135 action.event->rewind();-
136 action.event->clearBindings();-
137 }
executed 10 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanimations
10
138 continue;
executed 10 times by 2 tests: continue;
Executed by:
  • tst_examples
  • tst_qquickanimations
10
139 }-
140-
141 if (action.toBinding
action.toBindingDescription
TRUEnever evaluated
FALSEnever 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 block
Executed by:
  • tst_examples
  • tst_qquickanimations
10
147-
148 if (transition
transitionDescription
TRUEevaluated 10628 times by 7 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickspringanimation
FALSEevaluated 516 times by 19 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickfontloader
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_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
oldInstanceDescription
TRUEevaluated 154 times by 4 tests
Evaluated by:
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
FALSEevaluated 10474 times by 7 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickspringanimation
&& oldInstance != d->transitionInstance
oldInstance !=...sitionInstanceDescription
TRUEevaluated 154 times by 4 tests
Evaluated by:
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
FALSEnever evaluated
)
0-10474
154 delete oldInstance;
executed 154 times by 4 tests: delete oldInstance;
Executed by:
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
154
155-
156-
157 for (int ii = 0; ii < applyList.count()
ii < applyList.count()Description
TRUEevaluated 21210 times by 7 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickspringanimation
FALSEevaluated 10628 times by 7 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickspringanimation
; ++ii) {
10628-21210
158 const QQuickStateAction &action = applyList.at(ii);-
159-
160 if (action.event
action.eventDescription
TRUEevaluated 14 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
FALSEevaluated 21196 times by 7 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickspringanimation
) {
14-21196
161-
162 if (action.actionDone
action.actionDoneDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickanimations
FALSEevaluated 12 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
) {
2-12
163 applyList.removeAt(ii);-
164 --ii;-
165 }
executed 2 times by 1 test: end of block
Executed by:
  • tst_qquickanimations
2
166-
167 }
executed 14 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanimations
else {
14
168-
169 if (touched.contains(action.property)
touched.contai...tion.property)Description
TRUEevaluated 21106 times by 7 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickspringanimation
FALSEevaluated 90 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickspringanimation
) {
90-21106
170 if (action.toValue != action.fromValue
action.toValue...tion.fromValueDescription
TRUEevaluated 12 times by 3 tests
Evaluated by:
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquicklistview
FALSEevaluated 21094 times by 7 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickspringanimation
)
12-21094
171 d->completeList <<
executed 12 times by 3 tests: d->completeList << QQuickSimpleAction(action, QQuickSimpleAction::EndState);
Executed by:
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquicklistview
12
172 QQuickSimpleAction(action, QQuickSimpleAction::EndState);
executed 12 times by 3 tests: d->completeList << QQuickSimpleAction(action, QQuickSimpleAction::EndState);
Executed by:
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquicklistview
12
173-
174 applyList.removeAt(ii);-
175 --ii;-
176 }
executed 21106 times by 7 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickspringanimation
21106
177-
178 }
executed 21196 times by 7 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickspringanimation
21196
179 }-
180 }
executed 10628 times by 7 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickspringanimation
10628
181-
182-
183-
184-
185-
186 for (const QQuickStateAction &action : qAsConst(applyList)) {-
187 if (action.event
action.eventDescription
TRUEevaluated 236 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickstates
FALSEevaluated 854 times by 19 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickfontloader
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickspringanimation
  • tst_qquickstates
&& !action.event->changesBindings()
!action.event-...ngesBindings()Description
TRUEevaluated 174 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickstates
FALSEevaluated 62 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
) {
62-854
188 if (action.event->isReversable()
action.event->isReversable()Description
TRUEevaluated 166 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickstates
FALSEevaluated 8 times by 2 tests
Evaluated by:
  • tst_qquickanimations
  • tst_qquickstates
&& action.reverseEvent
action.reverseEventDescription
TRUEevaluated 18 times by 2 tests
Evaluated by:
  • tst_qquicklistview
  • tst_qquickstates
FALSEevaluated 148 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickstates
)
8-166
189 action.event->reverse();
executed 18 times by 2 tests: action.event->reverse();
Executed by:
  • tst_qquicklistview
  • tst_qquickstates
18
190 else-
191 action.event->execute();
executed 156 times by 5 tests: action.event->execute();
Executed by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickstates
156
192 } else if (!action.event
!action.eventDescription
TRUEevaluated 854 times by 19 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickfontloader
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickspringanimation
  • tst_qquickstates
FALSEevaluated 62 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
&& !action.toBinding
!action.toBindingDescription
TRUEevaluated 750 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_qqmlenginedebugservice
  • tst_qqmlnotifier
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickfontloader
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickspringanimation
  • tst_qquickstates
FALSEevaluated 104 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickbehaviors
  • tst_qquickitem2
  • tst_qquickpathview
  • tst_qquickstates
) {
62-854
193 action.property.write(action.toValue);-
194 }
executed 750 times by 14 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlenginedebugservice
  • tst_qqmlnotifier
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickfontloader
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickspringanimation
  • tst_qquickstates
750
195 }
executed 1090 times by 19 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickfontloader
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickspringanimation
  • tst_qquickstates
1090
196-
197 if (stateChangeDebug()
stateChangeDebug()Description
TRUEnever evaluated
FALSEevaluated 11144 times by 23 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickflipable
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickspringanimation
  • tst_qquickstates
) {
0-11144
198 for (const QQuickStateAction &action : qAsConst(applyList)) {-
199 if (action.event
action.eventDescription
TRUEnever evaluated
FALSEnever 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
!transitionDescription
TRUEevaluated 516 times by 19 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickfontloader
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickstates
FALSEevaluated 10628 times by 7 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickspringanimation
)
516-10628
209 complete();
executed 516 times by 19 tests: complete();
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickfontloader
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickstates
516
210}
executed 11144 times by 23 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickflipable
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickspringanimation
  • tst_qquickstates
11144
211-
212void QQuickTransitionManager::cancel()-
213{-
214 if (d->transitionInstance
d->transitionInstanceDescription
TRUEevaluated 518 times by 4 tests
Evaluated by:
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
FALSEevaluated 12138 times by 23 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickflipable
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickspringanimation
  • tst_qquickstates
&& d->transitionInstance->isRunning()
d->transitionI...e->isRunning()Description
TRUEevaluated 276 times by 4 tests
Evaluated by:
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
FALSEevaluated 242 times by 3 tests
Evaluated by:
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquicklistview
)
242-12138
215 d->transitionInstance->stop();
executed 276 times by 4 tests: d->transitionInstance->stop();
Executed by:
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
276
216-
217 for(int i = 0; i < d->bindingsList.count()
i < d->bindingsList.count()Description
TRUEnever evaluated
FALSEevaluated 12656 times by 23 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickflipable
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickspringanimation
  • tst_qquickstates
; ++i) {
0-12656
218 QQuickStateAction action = d->bindingsList[i];-
219 if (action.toBinding
action.toBindingDescription
TRUEnever evaluated
FALSEnever evaluated
&& action.deletableToBinding
action.deletableToBindingDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
220 QQmlPropertyPrivate::removeBinding(action.property);-
221 action.toBinding = nullptr;-
222 action.deletableToBinding = false;-
223 }
never executed: end of block
else if (action.event
action.eventDescription
TRUEnever evaluated
FALSEnever 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 block
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickflipable
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickspringanimation
  • tst_qquickstates
12656
231-
232-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0