| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | QQmlListReferencePrivate::QQmlListReferencePrivate() | - |
| 6 | : propertyType(-1), refCount(1) | - |
| 7 | { | - |
| 8 | }executed 208 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquickmultipointtoucharea
- tst_qquickpath
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickshape
- tst_qquickstates
- tst_qquickvisualdatamodel
| 208 |
| 9 | | - |
| 10 | QQmlListReference QQmlListReferencePrivate::init(const QQmlListProperty<QObject> &prop, int propType, QQmlEngine *engine) | - |
| 11 | { | - |
| 12 | QQmlListReference rv; | - |
| 13 | | - |
| 14 | if (!prop.object| TRUE | never evaluated | | FALSE | evaluated 56 times by 9 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickitem2
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
) returnnever executed: return rv; rv;never executed: return rv; | 0-56 |
| 15 | | - |
| 16 | QQmlEnginePrivate *p = engine| TRUE | evaluated 52 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmllistreference
- tst_qquickitem2
|
?QQmlEnginePrivate::get(engine):nullptr; | 4-52 |
| 17 | | - |
| 18 | int listType = p| TRUE | evaluated 52 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmllistreference
- tst_qquickitem2
|
?p->listType(propType):QQmlMetaType::listType(propType); | 4-52 |
| 19 | if (listType == -1| TRUE | never evaluated | | FALSE | evaluated 56 times by 9 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickitem2
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
) returnnever executed: return rv; rv;never executed: return rv; | 0-56 |
| 20 | | - |
| 21 | rv.d = new QQmlListReferencePrivate; | - |
| 22 | rv.d->object = prop.object; | - |
| 23 | rv.d->elementType = QQmlPropertyPrivate::rawMetaObjectForType(p, listType); | - |
| 24 | rv.d->property = prop; | - |
| 25 | rv.d->propertyType = propType; | - |
| 26 | | - |
| 27 | returnexecuted 56 times by 9 tests: return rv;Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickitem2
- tst_qquickrepeater
- tst_qquickvisualdatamodel
rv;executed 56 times by 9 tests: return rv;Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickitem2
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 56 |
| 28 | } | - |
| 29 | | - |
| 30 | void QQmlListReferencePrivate::addref() | - |
| 31 | { | - |
| 32 | ((refCount > 0) ? static_cast<void>(0) : qt_assert("refCount > 0", __FILE__, 74)); | - |
| 33 | ++refCount; | - |
| 34 | }executed 78 times by 9 tests: end of blockExecuted by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickitem2
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 78 |
| 35 | | - |
| 36 | void QQmlListReferencePrivate::release() | - |
| 37 | { | - |
| 38 | ((refCount > 0) ? static_cast<void>(0) : qt_assert("refCount > 0", __FILE__, 80)); | - |
| 39 | --refCount; | - |
| 40 | if (!refCount| TRUE | evaluated 208 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquickmultipointtoucharea
- tst_qquickpath
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickshape
- tst_qquickstates
- tst_qquickvisualdatamodel
| | FALSE | evaluated 78 times by 9 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickitem2
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
) | 78-208 |
| 41 | delete this;executed 208 times by 16 tests: delete this;Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquickmultipointtoucharea
- tst_qquickpath
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickshape
- tst_qquickstates
- tst_qquickvisualdatamodel
| 208 |
| 42 | }executed 286 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquickmultipointtoucharea
- tst_qquickpath
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickshape
- tst_qquickstates
- tst_qquickvisualdatamodel
| 286 |
| 43 | QQmlListReference::QQmlListReference() | - |
| 44 | : d(nullptr) | - |
| 45 | { | - |
| 46 | }executed 86 times by 9 tests: end of blockExecuted by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickitem2
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 86 |
| 47 | QQmlListReference::QQmlListReference(QObject *object, const char *property, QQmlEngine *engine) | - |
| 48 | : d(nullptr) | - |
| 49 | { | - |
| 50 | if (!object| TRUE | never evaluated | | FALSE | evaluated 182 times by 9 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickdesignersupport
- tst_qquickmultipointtoucharea
- tst_qquickpath
- tst_qquickpathview
- tst_qquickshape
- tst_qquickstates
|
|| !property| TRUE | never evaluated | | FALSE | evaluated 182 times by 9 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickdesignersupport
- tst_qquickmultipointtoucharea
- tst_qquickpath
- tst_qquickpathview
- tst_qquickshape
- tst_qquickstates
|
) return;never executed: return; | 0-182 |
| 51 | | - |
| 52 | QQmlPropertyData local; | - |
| 53 | QQmlPropertyData *data = | - |
| 54 | QQmlPropertyCache::property(engine, object, QLatin1String(property), nullptr, local); | - |
| 55 | | - |
| 56 | if (!data| TRUE | evaluated 28 times by 1 test | | FALSE | evaluated 154 times by 9 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickdesignersupport
- tst_qquickmultipointtoucharea
- tst_qquickpath
- tst_qquickpathview
- tst_qquickshape
- tst_qquickstates
|
|| !data->isQList()| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 152 times by 9 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickdesignersupport
- tst_qquickmultipointtoucharea
- tst_qquickpath
- tst_qquickpathview
- tst_qquickshape
- tst_qquickstates
|
) return;executed 30 times by 1 test: return; | 2-154 |
| 57 | | - |
| 58 | QQmlEnginePrivate *p = engine| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 146 times by 9 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickdesignersupport
- tst_qquickmultipointtoucharea
- tst_qquickpath
- tst_qquickpathview
- tst_qquickshape
- tst_qquickstates
|
?QQmlEnginePrivate::get(engine):nullptr; | 6-146 |
| 59 | | - |
| 60 | int listType = p| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 146 times by 9 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickdesignersupport
- tst_qquickmultipointtoucharea
- tst_qquickpath
- tst_qquickpathview
- tst_qquickshape
- tst_qquickstates
|
?p->listType(data->propType()):QQmlMetaType::listType(data->propType()); | 6-146 |
| 61 | if (listType == -1| TRUE | never evaluated | | FALSE | evaluated 152 times by 9 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickdesignersupport
- tst_qquickmultipointtoucharea
- tst_qquickpath
- tst_qquickpathview
- tst_qquickshape
- tst_qquickstates
|
) return;never executed: return; | 0-152 |
| 62 | | - |
| 63 | d = new QQmlListReferencePrivate; | - |
| 64 | d->object = object; | - |
| 65 | d->elementType = p| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 146 times by 9 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickdesignersupport
- tst_qquickmultipointtoucharea
- tst_qquickpath
- tst_qquickpathview
- tst_qquickshape
- tst_qquickstates
|
? p->rawMetaObjectForType(listType) : QQmlMetaType::qmlType(listType).baseMetaObject(); | 6-146 |
| 66 | d->propertyType = data->propType(); | - |
| 67 | | - |
| 68 | void *args[] = { &d->property, nullptr }; | - |
| 69 | QMetaObject::metacall(object, QMetaObject::ReadProperty, data->coreIndex(), args); | - |
| 70 | }executed 152 times by 9 tests: end of blockExecuted by:- tst_multipointtoucharea_interop
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickdesignersupport
- tst_qquickmultipointtoucharea
- tst_qquickpath
- tst_qquickpathview
- tst_qquickshape
- tst_qquickstates
| 152 |
| 71 | | - |
| 72 | | - |
| 73 | QQmlListReference::QQmlListReference(const QQmlListReference &o) | - |
| 74 | : d(o.d) | - |
| 75 | { | - |
| 76 | if (d| TRUE | evaluated 76 times by 9 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickitem2
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | never evaluated |
) d->addref();executed 76 times by 9 tests: d->addref();Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickitem2
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 0-76 |
| 77 | }executed 76 times by 9 tests: end of blockExecuted by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickitem2
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 76 |
| 78 | | - |
| 79 | | - |
| 80 | QQmlListReference &QQmlListReference::operator=(const QQmlListReference &o) | - |
| 81 | { | - |
| 82 | if (o.d| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
) o.d->addref();executed 2 times by 1 test: o.d->addref(); | 0-2 |
| 83 | if (d| TRUE | never evaluated | | FALSE | evaluated 2 times by 1 test |
) d->release();never executed: d->release(); | 0-2 |
| 84 | d = o.d; | - |
| 85 | returnexecuted 2 times by 1 test: return *this; *this;executed 2 times by 1 test: return *this; | 2 |
| 86 | } | - |
| 87 | | - |
| 88 | | - |
| 89 | QQmlListReference::~QQmlListReference() | - |
| 90 | { | - |
| 91 | if (d| TRUE | evaluated 286 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquickmultipointtoucharea
- tst_qquickpath
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickshape
- tst_qquickstates
- tst_qquickvisualdatamodel
| | FALSE | evaluated 58 times by 1 test |
) d->release();executed 286 times by 16 tests: d->release();Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquickmultipointtoucharea
- tst_qquickpath
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickshape
- tst_qquickstates
- tst_qquickvisualdatamodel
| 58-286 |
| 92 | }executed 344 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquickmultipointtoucharea
- tst_qquickpath
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickshape
- tst_qquickstates
- tst_qquickvisualdatamodel
| 344 |
| 93 | | - |
| 94 | | - |
| 95 | | - |
| 96 | | - |
| 97 | bool QQmlListReference::isValid() const | - |
| 98 | { | - |
| 99 | returnexecuted 3194 times by 15 tests: return d && d->object;Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquickmultipointtoucharea
- tst_qquickpath
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickshape
- tst_qquickstates
- tst_qquickvisualdatamodel
d && d->object;executed 3194 times by 15 tests: return d && d->object;Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquickmultipointtoucharea
- tst_qquickpath
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickshape
- tst_qquickstates
- tst_qquickvisualdatamodel
| 3194 |
| 100 | } | - |
| 101 | | - |
| 102 | | - |
| 103 | | - |
| 104 | | - |
| 105 | QObject *QQmlListReference::object() const | - |
| 106 | { | - |
| 107 | if (isValid()| TRUE | evaluated 26 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistreference
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 12 times by 1 test |
) returnexecuted 26 times by 5 tests: return d->object;Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistreference
- tst_qquickrepeater
- tst_qquickvisualdatamodel
d->object;executed 26 times by 5 tests: return d->object;Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistreference
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 12-26 |
| 108 | else returnexecuted 12 times by 1 test: return nullptr; nullptr;executed 12 times by 1 test: return nullptr; | 12 |
| 109 | } | - |
| 110 | const QMetaObject *QQmlListReference::listElementType() const | - |
| 111 | { | - |
| 112 | if (isValid()| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 12 times by 1 test |
) returnexecuted 8 times by 1 test: return d->elementType.metaObject(); d->elementType.metaObject();executed 8 times by 1 test: return d->elementType.metaObject(); | 8-12 |
| 113 | else returnexecuted 12 times by 1 test: return nullptr; nullptr;executed 12 times by 1 test: return nullptr; | 12 |
| 114 | } | - |
| 115 | | - |
| 116 | | - |
| 117 | | - |
| 118 | | - |
| 119 | | - |
| 120 | | - |
| 121 | | - |
| 122 | bool QQmlListReference::canAppend() const | - |
| 123 | { | - |
| 124 | returnexecuted 30 times by 1 test: return (isValid() && d->property.append); (isValid() && d->property.append);executed 30 times by 1 test: return (isValid() && d->property.append); | 30 |
| 125 | } | - |
| 126 | | - |
| 127 | | - |
| 128 | | - |
| 129 | | - |
| 130 | | - |
| 131 | | - |
| 132 | | - |
| 133 | bool QQmlListReference::canAt() const | - |
| 134 | { | - |
| 135 | returnexecuted 852 times by 13 tests: return (isValid() && d->property.at);Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickpath
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickshape
- tst_qquickstates
- tst_qquickvisualdatamodel
(isValid() && d->property.at);executed 852 times by 13 tests: return (isValid() && d->property.at);Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickpath
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickshape
- tst_qquickstates
- tst_qquickvisualdatamodel
| 852 |
| 136 | } | - |
| 137 | | - |
| 138 | | - |
| 139 | | - |
| 140 | | - |
| 141 | | - |
| 142 | | - |
| 143 | | - |
| 144 | bool QQmlListReference::canClear() const | - |
| 145 | { | - |
| 146 | returnexecuted 32 times by 1 test: return (isValid() && d->property.clear); (isValid() && d->property.clear);executed 32 times by 1 test: return (isValid() && d->property.clear); | 32 |
| 147 | } | - |
| 148 | | - |
| 149 | | - |
| 150 | | - |
| 151 | | - |
| 152 | | - |
| 153 | | - |
| 154 | | - |
| 155 | bool QQmlListReference::canCount() const | - |
| 156 | { | - |
| 157 | returnexecuted 2160 times by 13 tests: return (isValid() && d->property.count);Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquickmultipointtoucharea
- tst_qquickpath
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickshape
- tst_qquickvisualdatamodel
(isValid() && d->property.count);executed 2160 times by 13 tests: return (isValid() && d->property.count);Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquickmultipointtoucharea
- tst_qquickpath
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickshape
- tst_qquickvisualdatamodel
| 2160 |
| 158 | } | - |
| 159 | | - |
| 160 | | - |
| 161 | | - |
| 162 | | - |
| 163 | | - |
| 164 | | - |
| 165 | | - |
| 166 | bool QQmlListReference::isManipulable() const | - |
| 167 | { | - |
| 168 | returnexecuted 16 times by 1 test: return (isValid() && d->property.append && d->property.count && d->property.at && d->property.clear); (isValid()executed 16 times by 1 test: return (isValid() && d->property.append && d->property.count && d->property.at && d->property.clear); | 16 |
| 169 | && d->property.appendexecuted 16 times by 1 test: return (isValid() && d->property.append && d->property.count && d->property.at && d->property.clear); | 16 |
| 170 | && d->property.countexecuted 16 times by 1 test: return (isValid() && d->property.append && d->property.count && d->property.at && d->property.clear); | 16 |
| 171 | && d->property.atexecuted 16 times by 1 test: return (isValid() && d->property.append && d->property.count && d->property.at && d->property.clear); | 16 |
| 172 | && d->property.clear);executed 16 times by 1 test: return (isValid() && d->property.append && d->property.count && d->property.at && d->property.clear); | 16 |
| 173 | } | - |
| 174 | | - |
| 175 | | - |
| 176 | | - |
| 177 | | - |
| 178 | | - |
| 179 | | - |
| 180 | | - |
| 181 | bool QQmlListReference::isReadable() const | - |
| 182 | { | - |
| 183 | returnexecuted 16 times by 1 test: return (isValid() && d->property.count && d->property.at); (isValid() && d->property.count && d->property.at);executed 16 times by 1 test: return (isValid() && d->property.count && d->property.at); | 16 |
| 184 | } | - |
| 185 | | - |
| 186 | | - |
| 187 | | - |
| 188 | | - |
| 189 | | - |
| 190 | | - |
| 191 | bool QQmlListReference::append(QObject *object) const | - |
| 192 | { | - |
| 193 | if (!canAppend()| TRUE | evaluated 14 times by 1 test | | FALSE | evaluated 6 times by 1 test |
) returnexecuted 14 times by 1 test: return false; false;executed 14 times by 1 test: return false; | 6-14 |
| 194 | | - |
| 195 | if (object| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 2 times by 1 test |
&& !QQmlMetaObject::canConvert(object, d->elementType)| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 2 times by 1 test |
) | 2-4 |
| 196 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
| 197 | | - |
| 198 | d->property.append(&d->property, object); | - |
| 199 | | - |
| 200 | returnexecuted 4 times by 1 test: return true; true;executed 4 times by 1 test: return true; | 4 |
| 201 | } | - |
| 202 | | - |
| 203 | | - |
| 204 | | - |
| 205 | | - |
| 206 | | - |
| 207 | | - |
| 208 | QObject *QQmlListReference::at(int index) const | - |
| 209 | { | - |
| 210 | if (!canAt()| TRUE | evaluated 14 times by 1 test | | FALSE | evaluated 762 times by 12 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickpath
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickshape
- tst_qquickstates
- tst_qquickvisualdatamodel
|
) returnexecuted 14 times by 1 test: return nullptr; nullptr;executed 14 times by 1 test: return nullptr; | 14-762 |
| 211 | | - |
| 212 | returnexecuted 762 times by 12 tests: return d->property.at(&d->property, index);Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickpath
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickshape
- tst_qquickstates
- tst_qquickvisualdatamodel
d->property.at(&d->property, index);executed 762 times by 12 tests: return d->property.at(&d->property, index);Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickpath
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickshape
- tst_qquickstates
- tst_qquickvisualdatamodel
| 762 |
| 213 | } | - |
| 214 | | - |
| 215 | | - |
| 216 | | - |
| 217 | | - |
| 218 | | - |
| 219 | | - |
| 220 | bool QQmlListReference::clear() const | - |
| 221 | { | - |
| 222 | if (!canClear()| TRUE | evaluated 14 times by 1 test | | FALSE | evaluated 2 times by 1 test |
) returnexecuted 14 times by 1 test: return false; false;executed 14 times by 1 test: return false; | 2-14 |
| 223 | | - |
| 224 | d->property.clear(&d->property); | - |
| 225 | | - |
| 226 | returnexecuted 2 times by 1 test: return true; true;executed 2 times by 1 test: return true; | 2 |
| 227 | } | - |
| 228 | | - |
| 229 | | - |
| 230 | | - |
| 231 | | - |
| 232 | int QQmlListReference::count() const | - |
| 233 | { | - |
| 234 | if (!canCount()| TRUE | evaluated 14 times by 1 test | | FALSE | evaluated 2070 times by 13 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquickmultipointtoucharea
- tst_qquickpath
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickshape
- tst_qquickvisualdatamodel
|
) returnexecuted 14 times by 1 test: return 0; 0;executed 14 times by 1 test: return 0; | 14-2070 |
| 235 | | - |
| 236 | returnexecuted 2070 times by 13 tests: return d->property.count(&d->property);Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquickmultipointtoucharea
- tst_qquickpath
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickshape
- tst_qquickvisualdatamodel
d->property.count(&d->property);executed 2070 times by 13 tests: return d->property.count(&d->property);Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquickmultipointtoucharea
- tst_qquickpath
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickshape
- tst_qquickvisualdatamodel
| 2070 |
| 237 | } | - |
| 238 | | - |
| | |