| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | | - |
| 8 | static bool stateChangeDebug() { static enum { Yes, No, Unknown } status = Unknown; if (status == Unknown| TRUE | evaluated 40 times by 20 testsEvaluated 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
| | FALSE | evaluated 548 times by 16 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
|
) { status = No; if (__builtin_expect(!!(!qEnvironmentVariableIsEmpty("STATECHANGE_DEBUG")), false)| TRUE | never evaluated | | FALSE | evaluated 40 times by 20 testsEvaluated 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
|
) { const QByteArray v = qgetenv("STATECHANGE_DEBUG"); if (v != "0"| TRUE | never evaluated | | FALSE | never evaluated |
&& v != "false"| TRUE | never evaluated | | FALSE | never evaluated |
) status = Yes;never executed: status = Yes; }never executed: end of block }executed 40 times by 20 tests: end of blockExecuted 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
returnexecuted 588 times by 20 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_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
status == Yes;executed 588 times by 20 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_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
}; | 0-588 |
| 9 | | - |
| 10 | QQuickStateAction::QQuickStateAction() | - |
| 11 | : restore(true), actionDone(false), reverseEvent(false), deletableToBinding(false), fromBinding(nullptr), event(nullptr), | - |
| 12 | specifiedObject(nullptr) | - |
| 13 | { | - |
| 14 | }executed 22093 times by 28 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- ...
| 22093 |
| 15 | | - |
| 16 | QQuickStateAction::QQuickStateAction(QObject *target, const QString &propertyName, | - |
| 17 | const QVariant &value) | - |
| 18 | : restore(true), actionDone(false), reverseEvent(false), deletableToBinding(false), | - |
| 19 | property(target, propertyName, qmlEngine(target)), toValue(value), | - |
| 20 | fromBinding(nullptr), event(nullptr), | - |
| 21 | specifiedObject(target), specifiedProperty(propertyName) | - |
| 22 | { | - |
| 23 | if (property.isValid()| TRUE | evaluated 21298 times by 8 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickspringanimation
- tst_qquickstates
| | FALSE | never evaluated |
) | 0-21298 |
| 24 | fromValue = property.read();executed 21298 times by 8 tests: fromValue = property.read();Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickspringanimation
- tst_qquickstates
| 21298 |
| 25 | }executed 21298 times by 8 tests: end of blockExecuted by:- tst_examples
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickspringanimation
- tst_qquickstates
| 21298 |
| 26 | | - |
| 27 | QQuickStateAction::QQuickStateAction(QObject *target, const QQmlProperty &property, const QString &propertyName, const QVariant &value) | - |
| 28 | : restore(true), actionDone(false), reverseEvent(false), deletableToBinding(false), | - |
| 29 | property(property), toValue(value), | - |
| 30 | fromBinding(nullptr), event(nullptr), | - |
| 31 | specifiedObject(target), specifiedProperty(propertyName) | - |
| 32 | { | - |
| 33 | if (property.isValid()| TRUE | evaluated 480 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlenginedebugservice
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquickstates
| | FALSE | evaluated 6 times by 1 test |
) | 6-480 |
| 34 | fromValue = property.read();executed 480 times by 10 tests: fromValue = property.read();Executed by:- tst_examples
- tst_qqmlenginedebugservice
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquickstates
| 480 |
| 35 | }executed 486 times by 10 tests: end of blockExecuted by:- tst_examples
- tst_qqmlenginedebugservice
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquickstates
| 486 |
| 36 | | - |
| 37 | | - |
| 38 | QQuickStateActionEvent::~QQuickStateActionEvent() | - |
| 39 | { | - |
| 40 | } | - |
| 41 | | - |
| 42 | void QQuickStateActionEvent::execute() | - |
| 43 | { | - |
| 44 | } | - |
| 45 | | - |
| 46 | bool QQuickStateActionEvent::isReversable() | - |
| 47 | { | - |
| 48 | returnexecuted 16 times by 2 tests: return false;Executed by:- tst_qquickanimations
- tst_qquickstates
false;executed 16 times by 2 tests: return false;Executed by:- tst_qquickanimations
- tst_qquickstates
| 16 |
| 49 | } | - |
| 50 | | - |
| 51 | void QQuickStateActionEvent::reverse() | - |
| 52 | { | - |
| 53 | } | - |
| 54 | | - |
| 55 | bool QQuickStateActionEvent::changesBindings() | - |
| 56 | { | - |
| 57 | returnexecuted 350 times by 5 tests: return false;Executed by:- tst_examples
- tst_qquickanimations
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
false;executed 350 times by 5 tests: return false;Executed by:- tst_examples
- tst_qquickanimations
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
| 350 |
| 58 | } | - |
| 59 | | - |
| 60 | void QQuickStateActionEvent::clearBindings() | - |
| 61 | { | - |
| 62 | } | - |
| 63 | | - |
| 64 | bool QQuickStateActionEvent::mayOverride(QQuickStateActionEvent *other) | - |
| 65 | { | - |
| 66 | (void)other;; | - |
| 67 | return never executed: return false; false;never executed: return false; | 0 |
| 68 | } | - |
| 69 | | - |
| 70 | QQuickStateOperation::QQuickStateOperation(QObjectPrivate &dd, QObject *parent) | - |
| 71 | : QObject(dd, parent) | - |
| 72 | { | - |
| 73 | }executed 624 times by 18 tests: end of blockExecuted 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_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| 624 |
| 74 | QQuickState::QQuickState(QObject *parent) | - |
| 75 | : QObject(*(new QQuickStatePrivate), parent) | - |
| 76 | { | - |
| 77 | QQuickStatePrivate * const d = d_func(); | - |
| 78 | d->transitionManager.setState(this); | - |
| 79 | }executed 1522 times by 20 tests: end of blockExecuted 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 |
| 80 | | - |
| 81 | QQuickState::~QQuickState() | - |
| 82 | { | - |
| 83 | QQuickStatePrivate * const d = d_func(); | - |
| 84 | if (d->group| TRUE | evaluated 244 times by 20 testsEvaluated 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
| | FALSE | evaluated 1046 times by 19 testsEvaluated 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_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
|
) | 244-1046 |
| 85 | d->group->removeState(this);executed 244 times by 20 tests: d->group->removeState(this);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
| 244 |
| 86 | }executed 1290 times by 20 tests: end of blockExecuted 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
| 1290 |
| 87 | | - |
| 88 | | - |
| 89 | | - |
| 90 | | - |
| 91 | | - |
| 92 | | - |
| 93 | | - |
| 94 | QString QQuickState::name() const | - |
| 95 | { | - |
| 96 | const QQuickStatePrivate * const d = d_func(); | - |
| 97 | returnexecuted 1784 times by 19 tests: return d->name;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_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
d->name;executed 1784 times by 19 tests: return d->name;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_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| 1784 |
| 98 | } | - |
| 99 | | - |
| 100 | void QQuickState::setName(const QString &n) | - |
| 101 | { | - |
| 102 | QQuickStatePrivate * const d = d_func(); | - |
| 103 | d->name = n; | - |
| 104 | d->named = true; | - |
| 105 | }executed 1172 times by 19 tests: end of blockExecuted 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_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| 1172 |
| 106 | | - |
| 107 | bool QQuickState::isNamed() const | - |
| 108 | { | - |
| 109 | const QQuickStatePrivate * const d = d_func(); | - |
| 110 | returnexecuted 1796 times by 18 tests: return d->named;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_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
d->named;executed 1796 times by 18 tests: return d->named;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_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| 1796 |
| 111 | } | - |
| 112 | | - |
| 113 | bool QQuickState::isWhenKnown() const | - |
| 114 | { | - |
| 115 | const QQuickStatePrivate * const d = d_func(); | - |
| 116 | returnexecuted 1224 times by 18 tests: return d->when != nullptr;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_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
d->when != nullptr;executed 1224 times by 18 tests: return d->when != nullptr;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_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| 1224 |
| 117 | } | - |
| 118 | QQmlBinding *QQuickState::when() const | - |
| 119 | { | - |
| 120 | const QQuickStatePrivate * const d = d_func(); | - |
| 121 | returnexecuted 1260 times by 8 tests: return d->when.data();Executed by:- tst_examples
- tst_qqmltranslation
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
d->when.data();executed 1260 times by 8 tests: return d->when.data();Executed by:- tst_examples
- tst_qqmltranslation
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
| 1260 |
| 122 | } | - |
| 123 | | - |
| 124 | void QQuickState::setWhen(QQmlBinding *when) | - |
| 125 | { | - |
| 126 | QQuickStatePrivate * const d = d_func(); | - |
| 127 | d->when = when; | - |
| 128 | if (d->group| TRUE | evaluated 624 times by 8 testsEvaluated by:- tst_examples
- tst_qqmltranslation
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
| | FALSE | never evaluated |
) | 0-624 |
| 129 | d->group->updateAutoState();executed 624 times by 8 tests: d->group->updateAutoState();Executed by:- tst_examples
- tst_qqmltranslation
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
| 624 |
| 130 | }executed 624 times by 8 tests: end of blockExecuted by:- tst_examples
- tst_qqmltranslation
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
| 624 |
| 131 | QString QQuickState::extends() const | - |
| 132 | { | - |
| 133 | const QQuickStatePrivate * const d = d_func(); | - |
| 134 | returnexecuted 4 times by 1 test: return d->extends;Executed by:- tst_qqmlenginedebugservice
d->extends;executed 4 times by 1 test: return d->extends;Executed by:- tst_qqmlenginedebugservice
| 4 |
| 135 | } | - |
| 136 | | - |
| 137 | void QQuickState::setExtends(const QString &extends) | - |
| 138 | { | - |
| 139 | QQuickStatePrivate * const d = d_func(); | - |
| 140 | d->extends = extends; | - |
| 141 | }executed 8 times by 1 test: end of block | 8 |
| 142 | QQmlListProperty<QQuickStateOperation> QQuickState::changes() | - |
| 143 | { | - |
| 144 | QQuickStatePrivate * const d = d_func(); | - |
| 145 | returnexecuted 370 times by 18 tests: return QQmlListProperty<QQuickStateOperation>(this, &d->operations, QQuickStatePrivate::operations_append, QQuickStatePrivate::operations_count, QQuickStatePrivate::operations_at, QQuickStatePrivate::operations_clear);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_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
QQmlListProperty<QQuickStateOperation>(this, &d->operations, QQuickStatePrivate::operations_append,executed 370 times by 18 tests: return QQmlListProperty<QQuickStateOperation>(this, &d->operations, QQuickStatePrivate::operations_append, QQuickStatePrivate::operations_count, QQuickStatePrivate::operations_at, QQuickStatePrivate::operations_clear);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_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| 370 |
| 146 | QQuickStatePrivate::operations_count, QQuickStatePrivate::operations_at,executed 370 times by 18 tests: return QQmlListProperty<QQuickStateOperation>(this, &d->operations, QQuickStatePrivate::operations_append, QQuickStatePrivate::operations_count, QQuickStatePrivate::operations_at, QQuickStatePrivate::operations_clear);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_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| 370 |
| 147 | QQuickStatePrivate::operations_clear);executed 370 times by 18 tests: return QQmlListProperty<QQuickStateOperation>(this, &d->operations, QQuickStatePrivate::operations_append, QQuickStatePrivate::operations_count, QQuickStatePrivate::operations_at, QQuickStatePrivate::operations_clear);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_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| 370 |
| 148 | } | - |
| 149 | | - |
| 150 | int QQuickState::operationCount() const | - |
| 151 | { | - |
| 152 | const QQuickStatePrivate * const d = d_func(); | - |
| 153 | returnexecuted 6 times by 2 tests: return d->operations.count();Executed by:- tst_qquickdesignersupport
- tst_qquickstates
d->operations.count();executed 6 times by 2 tests: return d->operations.count();Executed by:- tst_qquickdesignersupport
- tst_qquickstates
| 6 |
| 154 | } | - |
| 155 | | - |
| 156 | QQuickStateOperation *QQuickState::operationAt(int index) const | - |
| 157 | { | - |
| 158 | const QQuickStatePrivate * const d = d_func(); | - |
| 159 | returnexecuted 18 times by 1 test: return d->operations.at(index); d->operations.at(index);executed 18 times by 1 test: return d->operations.at(index); | 18 |
| 160 | } | - |
| 161 | | - |
| 162 | QQuickState &QQuickState::operator<<(QQuickStateOperation *op) | - |
| 163 | { | - |
| 164 | QQuickStatePrivate * const d = d_func(); | - |
| 165 | d->operations.append(QQuickStatePrivate::OperationGuard(op, &d->operations)); | - |
| 166 | return never executed: return *this; *this;never executed: return *this; | 0 |
| 167 | } | - |
| 168 | | - |
| 169 | void QQuickStatePrivate::complete() | - |
| 170 | { | - |
| 171 | QQuickState * const q = q_func(); | - |
| 172 | | - |
| 173 | for (int ii = 0; ii < reverting.count()| TRUE | evaluated 162 times by 12 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
| | FALSE | evaluated 574 times by 19 testsEvaluated 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
|
; ++ii) { | 162-574 |
| 174 | for (int jj = 0; jj < revertList.count()| TRUE | evaluated 164 times by 12 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
| | FALSE | never evaluated |
; ++jj) { | 0-164 |
| 175 | const QQuickRevertAction &revert = reverting.at(ii); | - |
| 176 | const QQuickSimpleAction &simple = revertList.at(jj); | - |
| 177 | if ((revert.event| TRUE | evaluated 40 times by 3 testsEvaluated by:- tst_qquickanimations
- tst_qquicklistview
- tst_qquickstates
| | FALSE | evaluated 124 times by 11 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquickmousearea
- tst_qquickstates
|
&& simple.event() == revert.event| TRUE | evaluated 40 times by 3 testsEvaluated by:- tst_qquickanimations
- tst_qquicklistview
- tst_qquickstates
| | FALSE | never evaluated |
) || | 0-124 |
| 178 | simple.property() == revert.property| TRUE | evaluated 122 times by 11 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquickmousearea
- tst_qquickstates
| | FALSE | evaluated 2 times by 1 test |
) { | 2-122 |
| 179 | revertList.removeAt(jj); | - |
| 180 | break;executed 162 times by 12 tests: break;Executed by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
| 162 |
| 181 | } | - |
| 182 | }executed 2 times by 1 test: end of block | 2 |
| 183 | }executed 162 times by 12 tests: end of blockExecuted by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
| 162 |
| 184 | reverting.clear(); | - |
| 185 | | - |
| 186 | if (group| TRUE | evaluated 574 times by 19 testsEvaluated 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
| | FALSE | never evaluated |
) | 0-574 |
| 187 | group->stateAboutToComplete();executed 574 times by 19 tests: group->stateAboutToComplete();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 |
| 188 | q->completed(); | - |
| 189 | }executed 574 times by 19 tests: end of blockExecuted 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 |
| 190 | | - |
| 191 | | - |
| 192 | | - |
| 193 | QQuickStateOperation::ActionList | - |
| 194 | QQuickStatePrivate::generateActionList() const | - |
| 195 | { | - |
| 196 | QQuickStateOperation::ActionList applyList; | - |
| 197 | if (inState| TRUE | never evaluated | | FALSE | evaluated 602 times by 20 testsEvaluated 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
|
) | 0-602 |
| 198 | return never executed: return applyList; applyList;never executed: return applyList; | 0 |
| 199 | | - |
| 200 | | - |
| 201 | inState = true; | - |
| 202 | | - |
| 203 | if (!extends.isEmpty()| TRUE | evaluated 14 times by 1 test | | FALSE | evaluated 588 times by 20 testsEvaluated 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
|
) { | 14-588 |
| 204 | QList<QQuickState *> states = group| TRUE | evaluated 14 times by 1 test | | FALSE | never evaluated |
? group->states() : QList<QQuickState *>(); | 0-14 |
| 205 | for (int ii = 0; ii < states.count()| TRUE | evaluated 28 times by 1 test | | FALSE | evaluated 14 times by 1 test |
; ++ii) | 14-28 |
| 206 | if (states.at(ii)->name() == extends| TRUE | evaluated 14 times by 1 test | | FALSE | evaluated 14 times by 1 test |
) { | 14 |
| 207 | qmlExecuteDeferred(states.at(ii)); | - |
| 208 | applyList = static_cast<QQuickStatePrivate*>(states.at(ii)->d_func())->generateActionList(); | - |
| 209 | }executed 14 times by 1 test: end of block | 14 |
| 210 | }executed 14 times by 1 test: end of block | 14 |
| 211 | | - |
| 212 | for (QQuickStateOperation *op : operations) | - |
| 213 | applyList << op->actions();executed 710 times by 18 tests: applyList << op->actions();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_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| 710 |
| 214 | | - |
| 215 | inState = false; | - |
| 216 | returnexecuted 602 times by 20 tests: return applyList;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
applyList;executed 602 times by 20 tests: return applyList;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
| 602 |
| 217 | } | - |
| 218 | | - |
| 219 | QQuickStateGroup *QQuickState::stateGroup() const | - |
| 220 | { | - |
| 221 | const QQuickStatePrivate * const d = d_func(); | - |
| 222 | returnexecuted 174 times by 3 tests: return d->group;Executed by:- tst_qqmlenginedebugservice
- tst_qquickdesignersupport
- tst_qquickstates
d->group;executed 174 times by 3 tests: return d->group;Executed by:- tst_qqmlenginedebugservice
- tst_qquickdesignersupport
- tst_qquickstates
| 174 |
| 223 | } | - |
| 224 | | - |
| 225 | void QQuickState::setStateGroup(QQuickStateGroup *group) | - |
| 226 | { | - |
| 227 | QQuickStatePrivate * const d = d_func(); | - |
| 228 | d->group = group; | - |
| 229 | }executed 2556 times by 20 tests: end of blockExecuted 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
| 2556 |
| 230 | | - |
| 231 | void QQuickState::cancel() | - |
| 232 | { | - |
| 233 | QQuickStatePrivate * const d = d_func(); | - |
| 234 | d->transitionManager.cancel(); | - |
| 235 | }executed 1176 times by 20 tests: end of blockExecuted 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
| 1176 |
| 236 | | - |
| 237 | void QQuickStateAction::deleteFromBinding() | - |
| 238 | { | - |
| 239 | if (fromBinding| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquickstates
|
) { | 4-6 |
| 240 | QQmlPropertyPrivate::removeBinding(property); | - |
| 241 | fromBinding = nullptr; | - |
| 242 | }executed 4 times by 1 test: end of block | 4 |
| 243 | }executed 10 times by 2 tests: end of blockExecuted by:- tst_qquickanimations
- tst_qquickstates
| 10 |
| 244 | | - |
| 245 | bool QQuickState::containsPropertyInRevertList(QObject *target, const QString &name) const | - |
| 246 | { | - |
| 247 | const QQuickStatePrivate * const d = d_func(); | - |
| 248 | | - |
| 249 | if (isStateActive()| TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qquickstates
| | FALSE | never evaluated |
) { | 0-8 |
| 250 | QListIterator<QQuickSimpleAction> revertListIterator(d->revertList); | - |
| 251 | | - |
| 252 | while (revertListIterator.hasNext()| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qquickstates
| | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qquickstates
|
) { | 4-6 |
| 253 | const QQuickSimpleAction &simpleAction = revertListIterator.next(); | - |
| 254 | if (simpleAction.specifiedObject() == target| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qquickstates
| | FALSE | never evaluated |
&& simpleAction.specifiedProperty() == name| TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qquickstates
| | FALSE | evaluated 2 times by 1 testEvaluated by:- tst_qqmlenginedebugservice
|
) | 0-6 |
| 255 | returnexecuted 4 times by 2 tests: return true;Executed by:- tst_qqmlenginedebugservice
- tst_qquickstates
true;executed 4 times by 2 tests: return true;Executed by:- tst_qqmlenginedebugservice
- tst_qquickstates
| 4 |
| 256 | }executed 2 times by 1 test: end of blockExecuted by:- tst_qqmlenginedebugservice
| 2 |
| 257 | }executed 4 times by 2 tests: end of blockExecuted by:- tst_qqmlenginedebugservice
- tst_qquickstates
| 4 |
| 258 | | - |
| 259 | returnexecuted 4 times by 2 tests: return false;Executed by:- tst_qqmlenginedebugservice
- tst_qquickstates
false;executed 4 times by 2 tests: return false;Executed by:- tst_qqmlenginedebugservice
- tst_qquickstates
| 4 |
| 260 | } | - |
| 261 | | - |
| 262 | bool QQuickState::changeValueInRevertList(QObject *target, const QString &name, const QVariant &revertValue) | - |
| 263 | { | - |
| 264 | QQuickStatePrivate * const d = d_func(); | - |
| 265 | | - |
| 266 | if (isStateActive()| TRUE | evaluated 2 times by 1 testEvaluated by:- tst_qquickdesignersupport
| | FALSE | never evaluated |
) { | 0-2 |
| 267 | QMutableListIterator<QQuickSimpleAction> revertListIterator(d->revertList); | - |
| 268 | | - |
| 269 | while (revertListIterator.hasNext()| TRUE | evaluated 2 times by 1 testEvaluated by:- tst_qquickdesignersupport
| | FALSE | never evaluated |
) { | 0-2 |
| 270 | QQuickSimpleAction &simpleAction = revertListIterator.next(); | - |
| 271 | if (simpleAction.specifiedObject() == target| TRUE | evaluated 2 times by 1 testEvaluated by:- tst_qquickdesignersupport
| | FALSE | never evaluated |
&& simpleAction.specifiedProperty() == name| TRUE | evaluated 2 times by 1 testEvaluated by:- tst_qquickdesignersupport
| | FALSE | never evaluated |
) { | 0-2 |
| 272 | simpleAction.setValue(revertValue); | - |
| 273 | returnexecuted 2 times by 1 test: return true;Executed by:- tst_qquickdesignersupport
true;executed 2 times by 1 test: return true;Executed by:- tst_qquickdesignersupport
| 2 |
| 274 | } | - |
| 275 | } never executed: end of block | 0 |
| 276 | } never executed: end of block | 0 |
| 277 | | - |
| 278 | return never executed: return false; false;never executed: return false; | 0 |
| 279 | } | - |
| 280 | | - |
| 281 | bool QQuickState::changeBindingInRevertList(QObject *target, const QString &name, QQmlAbstractBinding *binding) | - |
| 282 | { | - |
| 283 | QQuickStatePrivate * const d = d_func(); | - |
| 284 | | - |
| 285 | if (isStateActive()| TRUE | evaluated 2 times by 1 testEvaluated by:- tst_qqmlenginedebugservice
| | FALSE | never evaluated |
) { | 0-2 |
| 286 | QMutableListIterator<QQuickSimpleAction> revertListIterator(d->revertList); | - |
| 287 | | - |
| 288 | while (revertListIterator.hasNext()| TRUE | evaluated 2 times by 1 testEvaluated by:- tst_qqmlenginedebugservice
| | FALSE | never evaluated |
) { | 0-2 |
| 289 | QQuickSimpleAction &simpleAction = revertListIterator.next(); | - |
| 290 | if (simpleAction.specifiedObject() == target| TRUE | evaluated 2 times by 1 testEvaluated by:- tst_qqmlenginedebugservice
| | FALSE | never evaluated |
&& simpleAction.specifiedProperty() == name| TRUE | evaluated 2 times by 1 testEvaluated by:- tst_qqmlenginedebugservice
| | FALSE | never evaluated |
) { | 0-2 |
| 291 | simpleAction.setBinding(binding); | - |
| 292 | returnexecuted 2 times by 1 test: return true;Executed by:- tst_qqmlenginedebugservice
true;executed 2 times by 1 test: return true;Executed by:- tst_qqmlenginedebugservice
| 2 |
| 293 | } | - |
| 294 | } never executed: end of block | 0 |
| 295 | } never executed: end of block | 0 |
| 296 | | - |
| 297 | return never executed: return false; false;never executed: return false; | 0 |
| 298 | } | - |
| 299 | | - |
| 300 | bool QQuickState::removeEntryFromRevertList(QObject *target, const QString &name) | - |
| 301 | { | - |
| 302 | QQuickStatePrivate * const d = d_func(); | - |
| 303 | | - |
| 304 | if (isStateActive()| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qquickstates
| | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_qquickdesignersupport
- tst_qquickstates
|
) { | 4-6 |
| 305 | QMutableListIterator<QQuickSimpleAction> revertListIterator(d->revertList); | - |
| 306 | | - |
| 307 | while (revertListIterator.hasNext()| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qquickstates
| | FALSE | never evaluated |
) { | 0-6 |
| 308 | QQuickSimpleAction &simpleAction = revertListIterator.next(); | - |
| 309 | if (simpleAction.property().object() == target| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qquickstates
| | FALSE | never evaluated |
&& simpleAction.property().name() == name| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qquickstates
| | FALSE | never evaluated |
) { | 0-6 |
| 310 | QQmlPropertyPrivate::removeBinding(simpleAction.property()); | - |
| 311 | | - |
| 312 | simpleAction.property().write(simpleAction.value()); | - |
| 313 | if (simpleAction.binding()| TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qquickstates
| | FALSE | evaluated 2 times by 1 test |
) | 2-4 |
| 314 | QQmlPropertyPrivate::setBinding(simpleAction.binding());executed 4 times by 2 tests: QQmlPropertyPrivate::setBinding(simpleAction.binding());Executed by:- tst_qqmlenginedebugservice
- tst_qquickstates
| 4 |
| 315 | | - |
| 316 | revertListIterator.remove(); | - |
| 317 | returnexecuted 6 times by 2 tests: return true;Executed by:- tst_qqmlenginedebugservice
- tst_qquickstates
true;executed 6 times by 2 tests: return true;Executed by:- tst_qqmlenginedebugservice
- tst_qquickstates
| 6 |
| 318 | } | - |
| 319 | } never executed: end of block | 0 |
| 320 | } never executed: end of block | 0 |
| 321 | | - |
| 322 | returnexecuted 4 times by 2 tests: return false;Executed by:- tst_qquickdesignersupport
- tst_qquickstates
false;executed 4 times by 2 tests: return false;Executed by:- tst_qquickdesignersupport
- tst_qquickstates
| 4 |
| 323 | } | - |
| 324 | | - |
| 325 | void QQuickState::addEntryToRevertList(const QQuickStateAction &action) | - |
| 326 | { | - |
| 327 | QQuickStatePrivate * const d = d_func(); | - |
| 328 | | - |
| 329 | QQuickSimpleAction simpleAction(action); | - |
| 330 | | - |
| 331 | d->revertList.append(simpleAction); | - |
| 332 | }executed 2 times by 1 test: end of blockExecuted by:- tst_qqmlenginedebugservice
| 2 |
| 333 | | - |
| 334 | void QQuickState::removeAllEntriesFromRevertList(QObject *target) | - |
| 335 | { | - |
| 336 | QQuickStatePrivate * const d = d_func(); | - |
| 337 | | - |
| 338 | if (isStateActive()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 339 | QMutableListIterator<QQuickSimpleAction> revertListIterator(d->revertList); | - |
| 340 | | - |
| 341 | while (revertListIterator.hasNext()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 342 | QQuickSimpleAction &simpleAction = revertListIterator.next(); | - |
| 343 | if (simpleAction.property().object() == target| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 344 | QQmlPropertyPrivate::removeBinding(simpleAction.property()); | - |
| 345 | | - |
| 346 | simpleAction.property().write(simpleAction.value()); | - |
| 347 | if (simpleAction.binding()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 348 | QQmlPropertyPrivate::setBinding(simpleAction.binding()); never executed: QQmlPropertyPrivate::setBinding(simpleAction.binding()); | 0 |
| 349 | | - |
| 350 | revertListIterator.remove(); | - |
| 351 | } never executed: end of block | 0 |
| 352 | } never executed: end of block | 0 |
| 353 | } never executed: end of block | 0 |
| 354 | } never executed: end of block | 0 |
| 355 | | - |
| 356 | void QQuickState::addEntriesToRevertList(const QList<QQuickStateAction> &actionList) | - |
| 357 | { | - |
| 358 | QQuickStatePrivate * const d = d_func(); | - |
| 359 | if (isStateActive()| TRUE | never evaluated | | FALSE | evaluated 2 times by 1 testEvaluated by:- tst_qquickdesignersupport
|
) { | 0-2 |
| 360 | QList<QQuickSimpleAction> simpleActionList; | - |
| 361 | simpleActionList.reserve(actionList.count()); | - |
| 362 | | - |
| 363 | QListIterator<QQuickStateAction> actionListIterator(actionList); | - |
| 364 | while(actionListIterator.hasNext()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 365 | const QQuickStateAction &action = actionListIterator.next(); | - |
| 366 | QQuickSimpleAction simpleAction(action); | - |
| 367 | action.property.write(action.toValue); | - |
| 368 | if (action.toBinding| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 369 | QQmlPropertyPrivate::setBinding(action.toBinding.data()); never executed: QQmlPropertyPrivate::setBinding(action.toBinding.data()); | 0 |
| 370 | | - |
| 371 | simpleActionList.append(simpleAction); | - |
| 372 | } never executed: end of block | 0 |
| 373 | | - |
| 374 | d->revertList.append(simpleActionList); | - |
| 375 | } never executed: end of block | 0 |
| 376 | }executed 2 times by 1 test: end of blockExecuted by:- tst_qquickdesignersupport
| 2 |
| 377 | | - |
| 378 | QVariant QQuickState::valueInRevertList(QObject *target, const QString &name) const | - |
| 379 | { | - |
| 380 | const QQuickStatePrivate * const d = d_func(); | - |
| 381 | | - |
| 382 | if (isStateActive()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 383 | QListIterator<QQuickSimpleAction> revertListIterator(d->revertList); | - |
| 384 | | - |
| 385 | while (revertListIterator.hasNext()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 386 | const QQuickSimpleAction &simpleAction = revertListIterator.next(); | - |
| 387 | if (simpleAction.specifiedObject() == target| TRUE | never evaluated | | FALSE | never evaluated |
&& simpleAction.specifiedProperty() == name| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 388 | return never executed: return simpleAction.value(); simpleAction.value();never executed: return simpleAction.value(); | 0 |
| 389 | } never executed: end of block | 0 |
| 390 | } never executed: end of block | 0 |
| 391 | | - |
| 392 | return never executed: return QVariant(); QVariant();never executed: return QVariant(); | 0 |
| 393 | } | - |
| 394 | | - |
| 395 | QQmlAbstractBinding *QQuickState::bindingInRevertList(QObject *target, const QString &name) const | - |
| 396 | { | - |
| 397 | const QQuickStatePrivate * const d = d_func(); | - |
| 398 | | - |
| 399 | if (isStateActive()| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
) { | 0-12 |
| 400 | QListIterator<QQuickSimpleAction> revertListIterator(d->revertList); | - |
| 401 | | - |
| 402 | while (revertListIterator.hasNext()| TRUE | evaluated 16 times by 1 test | | FALSE | evaluated 2 times by 1 test |
) { | 2-16 |
| 403 | const QQuickSimpleAction &simpleAction = revertListIterator.next(); | - |
| 404 | if (simpleAction.specifiedObject() == target| TRUE | evaluated 16 times by 1 test | | FALSE | never evaluated |
&& simpleAction.specifiedProperty() == name| TRUE | evaluated 10 times by 1 test | | FALSE | evaluated 6 times by 1 test |
) | 0-16 |
| 405 | returnexecuted 10 times by 1 test: return simpleAction.binding(); simpleAction.binding();executed 10 times by 1 test: return simpleAction.binding(); | 10 |
| 406 | }executed 6 times by 1 test: end of block | 6 |
| 407 | }executed 2 times by 1 test: end of block | 2 |
| 408 | | - |
| 409 | returnexecuted 2 times by 1 test: return nullptr; nullptr;executed 2 times by 1 test: return nullptr; | 2 |
| 410 | } | - |
| 411 | | - |
| 412 | bool QQuickState::isStateActive() const | - |
| 413 | { | - |
| 414 | returnexecuted 68 times by 3 tests: return stateGroup() && stateGroup()->state() == name();Executed by:- tst_qqmlenginedebugservice
- tst_qquickdesignersupport
- tst_qquickstates
stateGroup() && stateGroup()->state() == name();executed 68 times by 3 tests: return stateGroup() && stateGroup()->state() == name();Executed by:- tst_qqmlenginedebugservice
- tst_qquickdesignersupport
- tst_qquickstates
| 68 |
| 415 | } | - |
| 416 | | - |
| 417 | void QQuickState::apply(QQuickTransition *trans, QQuickState *revert) | - |
| 418 | { | - |
| 419 | QQuickStatePrivate * const d = d_func(); | - |
| 420 | | - |
| 421 | qmlExecuteDeferred(this); | - |
| 422 | | - |
| 423 | cancel(); | - |
| 424 | if (revert| TRUE | evaluated 588 times by 20 testsEvaluated 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
| | FALSE | never evaluated |
) | 0-588 |
| 425 | revert->cancel();executed 588 times by 20 tests: revert->cancel();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
| 588 |
| 426 | d->revertList.clear(); | - |
| 427 | d->reverting.clear(); | - |
| 428 | | - |
| 429 | if (revert| TRUE | evaluated 588 times by 20 testsEvaluated 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
| | FALSE | never evaluated |
) { | 0-588 |
| 430 | QQuickStatePrivate *revertPrivate = | - |
| 431 | static_cast<QQuickStatePrivate*>(revert->d_func()); | - |
| 432 | d->revertList = revertPrivate->revertList; | - |
| 433 | revertPrivate->revertList.clear(); | - |
| 434 | }executed 588 times by 20 tests: end of blockExecuted 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
| 588 |
| 435 | | - |
| 436 | | - |
| 437 | QQuickStateOperation::ActionList applyList = d->generateActionList(); | - |
| 438 | | - |
| 439 | | - |
| 440 | QQuickStatePrivate::SimpleActionList additionalReverts; | - |
| 441 | | - |
| 442 | for (int ii = 0; ii < applyList.count()| TRUE | evaluated 924 times by 18 testsEvaluated 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_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| | FALSE | evaluated 588 times by 20 testsEvaluated 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
|
; ++ii) { | 588-924 |
| 443 | QQuickStateAction &action = applyList[ii]; | - |
| 444 | | - |
| 445 | if (action.event| TRUE | evaluated 198 times by 6 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
| | FALSE | evaluated 726 times by 17 testsEvaluated 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_qquickitem2
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
|
) { | 198-726 |
| 446 | if (!action.event->isReversable()| TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquickstates
| | FALSE | evaluated 190 times by 6 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
|
) | 8-190 |
| 447 | continue;executed 8 times by 2 tests: continue;Executed by:- tst_qquickanimations
- tst_qquickstates
| 8 |
| 448 | bool found = false; | - |
| 449 | for (int jj = 0; jj < d->revertList.count()| TRUE | evaluated 18 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquickstates
| | FALSE | evaluated 176 times by 6 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
|
; ++jj) { | 18-176 |
| 450 | QQuickStateActionEvent *event = d->revertList.at(jj).event(); | - |
| 451 | if (event| TRUE | evaluated 14 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquickstates
| | FALSE | evaluated 4 times by 1 test |
&& event->type() == action.event->type()| TRUE | evaluated 14 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquickstates
| | FALSE | never evaluated |
) { | 0-14 |
| 452 | if (action.event->mayOverride(event)| TRUE | evaluated 14 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquickstates
| | FALSE | never evaluated |
) { | 0-14 |
| 453 | found = true; | - |
| 454 | | - |
| 455 | if (action.event != d->revertList.at(jj).event()| TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquickstates
| | FALSE | evaluated 4 times by 1 test |
&& action.event->needsCopy()| TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquickstates
| | FALSE | never evaluated |
) { | 0-10 |
| 456 | action.event->copyOriginals(d->revertList.at(jj).event()); | - |
| 457 | | - |
| 458 | QQuickSimpleAction r(action); | - |
| 459 | additionalReverts << r; | - |
| 460 | d->revertList.removeAt(jj); | - |
| 461 | --jj; | - |
| 462 | }executed 10 times by 2 tests: end of blockExecuted by:- tst_qquickanimations
- tst_qquickstates
else if (action.event->isRewindable()| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
) | 0-10 |
| 463 | action.event->saveCurrentValues();executed 4 times by 1 test: action.event->saveCurrentValues(); | 4 |
| 464 | | - |
| 465 | break;executed 14 times by 2 tests: break;Executed by:- tst_qquickanimations
- tst_qquickstates
| 14 |
| 466 | } | - |
| 467 | } never executed: end of block | 0 |
| 468 | }executed 4 times by 1 test: end of block | 4 |
| 469 | if (!found| TRUE | evaluated 176 times by 6 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
| | FALSE | evaluated 14 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquickstates
|
) { | 14-176 |
| 470 | action.event->saveOriginals(); | - |
| 471 | | - |
| 472 | | - |
| 473 | QQuickSimpleAction r(action); | - |
| 474 | additionalReverts << r; | - |
| 475 | }executed 176 times by 6 tests: end of blockExecuted by:- tst_examples
- tst_qquickanimations
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
| 176 |
| 476 | }executed 190 times by 6 tests: end of blockExecuted by:- tst_examples
- tst_qquickanimations
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
else { | 190 |
| 477 | bool found = false; | - |
| 478 | action.fromBinding = QQmlPropertyPrivate::binding(action.property); | - |
| 479 | | - |
| 480 | for (int jj = 0; jj < d->revertList.count()| TRUE | evaluated 44 times by 2 testsEvaluated by:- tst_qquickfontloader
- tst_qquickstates
| | FALSE | evaluated 692 times by 17 testsEvaluated 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_qquickitem2
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
|
; ++jj) { | 44-692 |
| 481 | if (d->revertList.at(jj).property() == action.property| TRUE | evaluated 34 times by 1 test | | FALSE | evaluated 10 times by 2 testsEvaluated by:- tst_qquickfontloader
- tst_qquickstates
|
) { | 10-34 |
| 482 | found = true; | - |
| 483 | if (d->revertList.at(jj).binding() != action.fromBinding.data()| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 28 times by 1 test |
) { | 6-28 |
| 484 | action.deleteFromBinding(); | - |
| 485 | }executed 6 times by 1 test: end of block | 6 |
| 486 | break;executed 34 times by 1 test: break; | 34 |
| 487 | } | - |
| 488 | }executed 10 times by 2 tests: end of blockExecuted by:- tst_qquickfontloader
- tst_qquickstates
| 10 |
| 489 | | - |
| 490 | if (!found| TRUE | evaluated 692 times by 17 testsEvaluated 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_qquickitem2
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| | FALSE | evaluated 34 times by 1 test |
) { | 34-692 |
| 491 | if (!action.restore| TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquickstates
| | FALSE | evaluated 688 times by 17 testsEvaluated 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_qquickitem2
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
|
) { | 4-688 |
| 492 | action.deleteFromBinding();; | - |
| 493 | }executed 4 times by 2 tests: end of blockExecuted by:- tst_qquickanimations
- tst_qquickstates
else { | 4 |
| 494 | | - |
| 495 | | - |
| 496 | QQuickSimpleAction r(action); | - |
| 497 | additionalReverts << r; | - |
| 498 | }executed 688 times by 17 tests: end of blockExecuted 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_qquickitem2
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| 688 |
| 499 | } | - |
| 500 | }executed 726 times by 17 tests: end of blockExecuted 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_qquickitem2
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| 726 |
| 501 | } | - |
| 502 | | - |
| 503 | | - |
| 504 | | - |
| 505 | for (int ii = 0; ii < d->revertList.count()| TRUE | evaluated 194 times by 12 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
| | FALSE | evaluated 588 times by 20 testsEvaluated 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
|
; ++ii) { | 194-588 |
| 506 | bool found = false; | - |
| 507 | if (d->revertList.at(ii).event()| TRUE | evaluated 44 times by 3 testsEvaluated by:- tst_qquickanimations
- tst_qquicklistview
- tst_qquickstates
| | FALSE | evaluated 150 times by 11 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquickmousearea
- tst_qquickstates
|
) { | 44-150 |
| 508 | QQuickStateActionEvent *event = d->revertList.at(ii).event(); | - |
| 509 | if (!event->isReversable()| TRUE | never evaluated | | FALSE | evaluated 44 times by 3 testsEvaluated by:- tst_qquickanimations
- tst_qquicklistview
- tst_qquickstates
|
) | 0-44 |
| 510 | continue; never executed: continue; | 0 |
| 511 | for (int jj = 0; !found| TRUE | evaluated 56 times by 3 testsEvaluated by:- tst_qquickanimations
- tst_qquicklistview
- tst_qquickstates
| | FALSE | evaluated 4 times by 1 test |
&& jj < applyList.count()| TRUE | evaluated 16 times by 2 testsEvaluated by:- tst_qquicklistview
- tst_qquickstates
| | FALSE | evaluated 40 times by 3 testsEvaluated by:- tst_qquickanimations
- tst_qquicklistview
- tst_qquickstates
|
; ++jj) { | 4-56 |
| 512 | const QQuickStateAction &action = applyList.at(jj); | - |
| 513 | if (action.event| TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qquicklistview
- tst_qquickstates
| | FALSE | evaluated 8 times by 1 test |
&& action.event->type() == event->type()| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
) { | 4-8 |
| 514 | if (action.event->mayOverride(event)| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
) | 0-4 |
| 515 | found = true;executed 4 times by 1 test: found = true; | 4 |
| 516 | }executed 4 times by 1 test: end of block | 4 |
| 517 | }executed 16 times by 2 tests: end of blockExecuted by:- tst_qquicklistview
- tst_qquickstates
| 16 |
| 518 | }executed 44 times by 3 tests: end of blockExecuted by:- tst_qquickanimations
- tst_qquicklistview
- tst_qquickstates
else { | 44 |
| 519 | for (int jj = 0; !found| TRUE | evaluated 186 times by 11 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquickmousearea
- tst_qquickstates
| | FALSE | evaluated 28 times by 1 test |
&& jj < applyList.count()| TRUE | evaluated 64 times by 4 testsEvaluated by:- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquickstates
| | FALSE | evaluated 122 times by 11 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquickmousearea
- tst_qquickstates
|
; ++jj) { | 28-186 |
| 520 | const QQuickStateAction &action = applyList.at(jj); | - |
| 521 | if (action.property == d->revertList.at(ii).property()| TRUE | evaluated 28 times by 1 test | | FALSE | evaluated 36 times by 4 testsEvaluated by:- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquickstates
|
) | 28-36 |
| 522 | found = true;executed 28 times by 1 test: found = true; | 28 |
| 523 | }executed 64 times by 4 tests: end of blockExecuted by:- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquickstates
| 64 |
| 524 | }executed 150 times by 11 tests: end of blockExecuted by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquickmousearea
- tst_qquickstates
| 150 |
| 525 | if (!found| TRUE | evaluated 162 times by 12 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
| | FALSE | evaluated 32 times by 1 test |
) { | 32-162 |
| 526 | QVariant cur = d->revertList.at(ii).property().read(); | - |
| 527 | QQmlPropertyPrivate::removeBinding(d->revertList.at(ii).property()); | - |
| 528 | | - |
| 529 | QQuickStateAction a; | - |
| 530 | a.property = d->revertList.at(ii).property(); | - |
| 531 | a.fromValue = cur; | - |
| 532 | a.toValue = d->revertList.at(ii).value(); | - |
| 533 | a.toBinding = d->revertList.at(ii).binding(); | - |
| 534 | a.specifiedObject = d->revertList.at(ii).specifiedObject(); | - |
| 535 | a.specifiedProperty = d->revertList.at(ii).specifiedProperty(); | - |
| 536 | a.event = d->revertList.at(ii).event(); | - |
| 537 | a.reverseEvent = d->revertList.at(ii).reverseEvent(); | - |
| 538 | if (a.event| TRUE | evaluated 40 times by 3 testsEvaluated by:- tst_qquickanimations
- tst_qquicklistview
- tst_qquickstates
| | FALSE | evaluated 122 times by 11 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquickmousearea
- tst_qquickstates
|
&& a.event->isRewindable()| TRUE | evaluated 40 times by 3 testsEvaluated by:- tst_qquickanimations
- tst_qquicklistview
- tst_qquickstates
| | FALSE | never evaluated |
) | 0-122 |
| 539 | a.event->saveCurrentValues();executed 40 times by 3 tests: a.event->saveCurrentValues();Executed by:- tst_qquickanimations
- tst_qquicklistview
- tst_qquickstates
| 40 |
| 540 | applyList << a; | - |
| 541 | | - |
| 542 | if (a.event| TRUE | evaluated 40 times by 3 testsEvaluated by:- tst_qquickanimations
- tst_qquicklistview
- tst_qquickstates
| | FALSE | evaluated 122 times by 11 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquickmousearea
- tst_qquickstates
|
) | 40-122 |
| 543 | d->reverting << a.event;executed 40 times by 3 tests: d->reverting << a.event;Executed by:- tst_qquickanimations
- tst_qquicklistview
- tst_qquickstates
| 40 |
| 544 | else | - |
| 545 | d->reverting << a.property;executed 122 times by 11 tests: d->reverting << a.property;Executed by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquickmousearea
- tst_qquickstates
| 122 |
| 546 | } | - |
| 547 | }executed 194 times by 12 tests: end of blockExecuted by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
| 194 |
| 548 | | - |
| 549 | d->revertList << additionalReverts; | - |
| 550 | | - |
| 551 | | - |
| 552 | | - |
| 553 | if (stateChangeDebug()| TRUE | never evaluated | | FALSE | evaluated 588 times by 20 testsEvaluated 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
|
) { | 0-588 |
| 554 | for (const QQuickStateAction &action : qAsConst(applyList)) { | - |
| 555 | if (action.event| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 556 | QMessageLogger(__FILE__, 680, __PRETTY_FUNCTION__).warning() << " QQuickStateAction event:" << action.event->type(); never executed: QMessageLogger(__FILE__, 680, __PRETTY_FUNCTION__).warning() << " QQuickStateAction event:" << action.event->type(); | 0 |
| 557 | else | - |
| 558 | QMessageLogger(__FILE__, 682, __PRETTY_FUNCTION__).warning() << " QQuickStateAction:" << action.property.object() never executed: QMessageLogger(__FILE__, 682, __PRETTY_FUNCTION__).warning() << " QQuickStateAction:" << action.property.object() << action.property.name() << "From:" << action.fromValue << "To:" << action.toValue; | 0 |
| 559 | << action.property.name() << "From:" << action.fromValue never executed: QMessageLogger(__FILE__, 682, __PRETTY_FUNCTION__).warning() << " QQuickStateAction:" << action.property.object() << action.property.name() << "From:" << action.fromValue << "To:" << action.toValue; | 0 |
| 560 | << "To:" << action.toValue; never executed: QMessageLogger(__FILE__, 682, __PRETTY_FUNCTION__).warning() << " QQuickStateAction:" << action.property.object() << action.property.name() << "From:" << action.fromValue << "To:" << action.toValue; | 0 |
| 561 | } | - |
| 562 | } never executed: end of block | 0 |
| 563 | | - |
| 564 | | - |
| 565 | d->transitionManager.transition(applyList, trans); | - |
| 566 | }executed 588 times by 20 tests: end of blockExecuted 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
| 588 |
| 567 | | - |
| 568 | QQuickStateOperation::ActionList QQuickStateOperation::actions() | - |
| 569 | { | - |
| 570 | return never executed: return ActionList(); ActionList();never executed: return ActionList(); | 0 |
| 571 | } | - |
| 572 | | - |
| 573 | QQuickState *QQuickStateOperation::state() const | - |
| 574 | { | - |
| 575 | const QQuickStateOperationPrivate * const d = d_func(); | - |
| 576 | returnexecuted 60 times by 3 tests: return d->m_state;Executed by:- tst_qqmlenginedebugservice
- tst_qquickdesignersupport
- tst_qquickstates
d->m_state;executed 60 times by 3 tests: return d->m_state;Executed by:- tst_qqmlenginedebugservice
- tst_qquickdesignersupport
- tst_qquickstates
| 60 |
| 577 | } | - |
| 578 | | - |
| 579 | void QQuickStateOperation::setState(QQuickState *state) | - |
| 580 | { | - |
| 581 | QQuickStateOperationPrivate * const d = d_func(); | - |
| 582 | d->m_state = state; | - |
| 583 | }executed 622 times by 18 tests: end of blockExecuted 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_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| 622 |
| 584 | | - |
| 585 | | - |
| 586 | | - |
| | |