| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | QQuickRepeaterPrivate::QQuickRepeaterPrivate() | - |
| 7 | : model(nullptr) | - |
| 8 | , ownModel(false) | - |
| 9 | , dataSourceIsObject(false) | - |
| 10 | , delegateValidated(false) | - |
| 11 | , itemCount(0) | - |
| 12 | { | - |
| 13 | setTransparentForPositioner(true); | - |
| 14 | }executed 1512 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 1512 |
| 15 | | - |
| 16 | QQuickRepeaterPrivate::~QQuickRepeaterPrivate() | - |
| 17 | { | - |
| 18 | if (ownModel| TRUE | evaluated 1486 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 8 times by 1 test |
) | 8-1486 |
| 19 | delete model;executed 1486 times by 16 tests: delete model;Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 1486 |
| 20 | }executed 1494 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 1494 |
| 21 | QQuickRepeater::QQuickRepeater(QQuickItem *parent) | - |
| 22 | : QQuickItem(*(new QQuickRepeaterPrivate), parent) | - |
| 23 | { | - |
| 24 | }executed 1512 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 1512 |
| 25 | | - |
| 26 | QQuickRepeater::~QQuickRepeater() | - |
| 27 | { | - |
| 28 | } | - |
| 29 | QVariant QQuickRepeater::model() const | - |
| 30 | { | - |
| 31 | const QQuickRepeaterPrivate * const d = d_func(); | - |
| 32 | | - |
| 33 | if (d->dataSourceIsObject| TRUE | evaluated 10 times by 1 test | | FALSE | evaluated 424 times by 2 testsEvaluated by:- tst_examples
- tst_qquicklistview
|
) { | 10-424 |
| 34 | QObject *o = d->dataSourceAsObject; | - |
| 35 | returnexecuted 10 times by 1 test: return QVariant::fromValue(o); QVariant::fromValue(o);executed 10 times by 1 test: return QVariant::fromValue(o); | 10 |
| 36 | } | - |
| 37 | | - |
| 38 | returnexecuted 424 times by 2 tests: return d->dataSource;Executed by:- tst_examples
- tst_qquicklistview
d->dataSource;executed 424 times by 2 tests: return d->dataSource;Executed by:- tst_examples
- tst_qquicklistview
| 424 |
| 39 | } | - |
| 40 | | - |
| 41 | void QQuickRepeater::setModel(const QVariant &m) | - |
| 42 | { | - |
| 43 | QQuickRepeaterPrivate * const d = d_func(); | - |
| 44 | QVariant model = m; | - |
| 45 | if (model.userType() == qMetaTypeId<QJSValue>()| TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_examples
- tst_qquickrepeater
| | FALSE | evaluated 1706 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
) | 8-1706 |
| 46 | model = model.value<QJSValue>().toVariant();executed 8 times by 2 tests: model = model.value<QJSValue>().toVariant();Executed by:- tst_examples
- tst_qquickrepeater
| 8 |
| 47 | | - |
| 48 | if (d->dataSource == model| TRUE | evaluated 964 times by 2 testsEvaluated by:- tst_qquickpositioners
- tst_qquickrepeater
| | FALSE | evaluated 750 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
) | 750-964 |
| 49 | return;executed 964 times by 2 tests: return;Executed by:- tst_qquickpositioners
- tst_qquickrepeater
| 964 |
| 50 | | - |
| 51 | clear(); | - |
| 52 | if (d->model| TRUE | evaluated 522 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| | FALSE | evaluated 228 times by 15 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_scenegraph
|
) { | 228-522 |
| 53 | { QQmlInstanceModel *sender = (d->model); QQuickRepeater *receiver = (this); const char *signal = (qFlagLocation("2""modelUpdated(QQmlChangeSet,bool)" "\0" __FILE__ ":" "210")); const char *method = (qFlagLocation("1""modelUpdated(QQmlChangeSet,bool)" "\0" __FILE__ ":" "210")); static int signalIdx = -1; static int methodIdx = -1; if (signalIdx < 0| TRUE | evaluated 20 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| | FALSE | evaluated 502 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
|
) { ((((int)(*signal) - '0') == 2) ? static_cast<void>(0) : qt_assert("((int)(*signal) - '0') == QSIGNAL_CODE", | 20-502 |
| 54 | __FILE__ | - |
| 55 | , | - |
| 56 | 210 | - |
| 57 | )); signalIdx = QQmlInstanceModel::staticMetaObject.indexOfSignal(signal+1); }executed 20 times by 10 tests: end of blockExecuted by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
if (methodIdx < 0| TRUE | evaluated 20 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| | FALSE | evaluated 502 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
|
) { int code = ((int)(*method) - '0'); ((code == 1 || code == 2) ? static_cast<void>(0) : qt_assert("code == QSLOT_CODE || code == QSIGNAL_CODE", | 20-502 |
| 58 | __FILE__ | - |
| 59 | , | - |
| 60 | 210 | - |
| 61 | )); if (code == 1| TRUE | evaluated 20 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| | FALSE | never evaluated |
) methodIdx = QQuickRepeater::staticMetaObject.indexOfSlot(method+1);executed 20 times by 10 tests: methodIdx = QQuickRepeater::staticMetaObject.indexOfSlot(method+1);Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
else methodIdx = QQuickRepeater::staticMetaObject.indexOfSignal(method+1);never executed: methodIdx = QQuickRepeater::staticMetaObject.indexOfSignal(method+1); } ((signalIdx != -1 && methodIdx != -1) ? static_cast<void>(0) : qt_assert("signalIdx != -1 && methodIdx != -1", | 0-20 |
| 62 | __FILE__ | - |
| 63 | , | - |
| 64 | 210 | - |
| 65 | )); QMetaObject::disconnect(sender, signalIdx, receiver, methodIdx); } | - |
| 66 | ; | - |
| 67 | { QQmlInstanceModel *sender = (d->model); QQuickRepeater *receiver = (this); const char *signal = (qFlagLocation("2""createdItem(int,QObject*)" "\0" __FILE__ ":" "212")); const char *method = (qFlagLocation("1""createdItem(int,QObject*)" "\0" __FILE__ ":" "212")); static int signalIdx = -1; static int methodIdx = -1; if (signalIdx < 0| TRUE | evaluated 20 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| | FALSE | evaluated 502 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
|
) { ((((int)(*signal) - '0') == 2) ? static_cast<void>(0) : qt_assert("((int)(*signal) - '0') == QSIGNAL_CODE", | 20-502 |
| 68 | __FILE__ | - |
| 69 | , | - |
| 70 | 212 | - |
| 71 | )); signalIdx = QQmlInstanceModel::staticMetaObject.indexOfSignal(signal+1); }executed 20 times by 10 tests: end of blockExecuted by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
if (methodIdx < 0| TRUE | evaluated 20 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| | FALSE | evaluated 502 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
|
) { int code = ((int)(*method) - '0'); ((code == 1 || code == 2) ? static_cast<void>(0) : qt_assert("code == QSLOT_CODE || code == QSIGNAL_CODE", | 20-502 |
| 72 | __FILE__ | - |
| 73 | , | - |
| 74 | 212 | - |
| 75 | )); if (code == 1| TRUE | evaluated 20 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| | FALSE | never evaluated |
) methodIdx = QQuickRepeater::staticMetaObject.indexOfSlot(method+1);executed 20 times by 10 tests: methodIdx = QQuickRepeater::staticMetaObject.indexOfSlot(method+1);Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
else methodIdx = QQuickRepeater::staticMetaObject.indexOfSignal(method+1);never executed: methodIdx = QQuickRepeater::staticMetaObject.indexOfSignal(method+1); } ((signalIdx != -1 && methodIdx != -1) ? static_cast<void>(0) : qt_assert("signalIdx != -1 && methodIdx != -1", | 0-20 |
| 76 | __FILE__ | - |
| 77 | , | - |
| 78 | 212 | - |
| 79 | )); QMetaObject::disconnect(sender, signalIdx, receiver, methodIdx); } | - |
| 80 | ; | - |
| 81 | { QQmlInstanceModel *sender = (d->model); QQuickRepeater *receiver = (this); const char *signal = (qFlagLocation("2""initItem(int,QObject*)" "\0" __FILE__ ":" "214")); const char *method = (qFlagLocation("1""initItem(int,QObject*)" "\0" __FILE__ ":" "214")); static int signalIdx = -1; static int methodIdx = -1; if (signalIdx < 0| TRUE | evaluated 20 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| | FALSE | evaluated 502 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
|
) { ((((int)(*signal) - '0') == 2) ? static_cast<void>(0) : qt_assert("((int)(*signal) - '0') == QSIGNAL_CODE", | 20-502 |
| 82 | __FILE__ | - |
| 83 | , | - |
| 84 | 214 | - |
| 85 | )); signalIdx = QQmlInstanceModel::staticMetaObject.indexOfSignal(signal+1); }executed 20 times by 10 tests: end of blockExecuted by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
if (methodIdx < 0| TRUE | evaluated 20 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| | FALSE | evaluated 502 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
|
) { int code = ((int)(*method) - '0'); ((code == 1 || code == 2) ? static_cast<void>(0) : qt_assert("code == QSLOT_CODE || code == QSIGNAL_CODE", | 20-502 |
| 86 | __FILE__ | - |
| 87 | , | - |
| 88 | 214 | - |
| 89 | )); if (code == 1| TRUE | evaluated 20 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| | FALSE | never evaluated |
) methodIdx = QQuickRepeater::staticMetaObject.indexOfSlot(method+1);executed 20 times by 10 tests: methodIdx = QQuickRepeater::staticMetaObject.indexOfSlot(method+1);Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
else methodIdx = QQuickRepeater::staticMetaObject.indexOfSignal(method+1);never executed: methodIdx = QQuickRepeater::staticMetaObject.indexOfSignal(method+1); } ((signalIdx != -1 && methodIdx != -1) ? static_cast<void>(0) : qt_assert("signalIdx != -1 && methodIdx != -1", | 0-20 |
| 90 | __FILE__ | - |
| 91 | , | - |
| 92 | 214 | - |
| 93 | )); QMetaObject::disconnect(sender, signalIdx, receiver, methodIdx); } | - |
| 94 | ; | - |
| 95 | }executed 522 times by 10 tests: end of blockExecuted by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| 522 |
| 96 | d->dataSource = model; | - |
| 97 | QObject *object = qvariant_cast<QObject*>(model); | - |
| 98 | d->dataSourceAsObject = object; | - |
| 99 | d->dataSourceIsObject = object != nullptr; | - |
| 100 | QQmlInstanceModel *vim = nullptr; | - |
| 101 | if (object| TRUE | evaluated 314 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 436 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
&& (| TRUE | evaluated 12 times by 1 test | | FALSE | evaluated 302 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
vim = qobject_cast<QQmlInstanceModel *>(object))| TRUE | evaluated 12 times by 1 test | | FALSE | evaluated 302 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
) { | 12-436 |
| 102 | if (d->ownModel| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 10 times by 1 test |
) { | 2-10 |
| 103 | delete d->model; | - |
| 104 | d->ownModel = false; | - |
| 105 | }executed 2 times by 1 test: end of block | 2 |
| 106 | d->model = vim; | - |
| 107 | }executed 12 times by 1 test: end of block else { | 12 |
| 108 | if (!d->ownModel| TRUE | evaluated 222 times by 15 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 516 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
|
) { | 222-516 |
| 109 | d->model = new QQmlDelegateModel(qmlContext(this)); | - |
| 110 | d->ownModel = true; | - |
| 111 | if (isComponentComplete()| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 214 times by 15 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_scenegraph
|
) | 8-214 |
| 112 | static_cast<executed 8 times by 1 test: static_cast<QQmlDelegateModel *>(d->model.data())->componentComplete(); QQmlDelegateModel *>(d->model.data())->componentComplete();executed 8 times by 1 test: static_cast<QQmlDelegateModel *>(d->model.data())->componentComplete(); | 8 |
| 113 | }executed 222 times by 15 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_scenegraph
| 222 |
| 114 | if (QQmlDelegateModel *dataModel = qobject_cast<QQmlDelegateModel*>(d->model)| TRUE | evaluated 738 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | never evaluated |
) | 0-738 |
| 115 | dataModel->setModel(model);executed 738 times by 16 tests: dataModel->setModel(model);Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 738 |
| 116 | }executed 738 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 738 |
| 117 | if (d->model| TRUE | evaluated 750 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | never evaluated |
) { | 0-750 |
| 118 | { QQmlInstanceModel *sender = (d->model); QQuickRepeater *receiver = (this); const char *signal = (qFlagLocation("2""modelUpdated(QQmlChangeSet,bool)" "\0" __FILE__ ":" "239")); const char *method = (qFlagLocation("1""modelUpdated(QQmlChangeSet,bool)" "\0" __FILE__ ":" "239")); static int signalIdx = -1; static int methodIdx = -1; if (signalIdx < 0| TRUE | evaluated 32 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 718 times by 14 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
) { ((((int)(*signal) - '0') == 2) ? static_cast<void>(0) : qt_assert("((int)(*signal) - '0') == QSIGNAL_CODE", | 32-718 |
| 119 | __FILE__ | - |
| 120 | , | - |
| 121 | 239 | - |
| 122 | )); signalIdx = QQmlInstanceModel::staticMetaObject.indexOfSignal(signal+1); }executed 32 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
if (methodIdx < 0| TRUE | evaluated 32 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 718 times by 14 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
) { int code = ((int)(*method) - '0'); ((code == 1 || code == 2) ? static_cast<void>(0) : qt_assert("code == QSLOT_CODE || code == QSIGNAL_CODE", | 32-718 |
| 123 | __FILE__ | - |
| 124 | , | - |
| 125 | 239 | - |
| 126 | )); if (code == 1| TRUE | evaluated 32 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | never evaluated |
) methodIdx = QQuickRepeater::staticMetaObject.indexOfSlot(method+1);executed 32 times by 16 tests: methodIdx = QQuickRepeater::staticMetaObject.indexOfSlot(method+1);Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
else methodIdx = QQuickRepeater::staticMetaObject.indexOfSignal(method+1);never executed: methodIdx = QQuickRepeater::staticMetaObject.indexOfSignal(method+1); } ((signalIdx != -1 && methodIdx != -1) ? static_cast<void>(0) : qt_assert("signalIdx != -1 && methodIdx != -1", | 0-32 |
| 127 | __FILE__ | - |
| 128 | , | - |
| 129 | 239 | - |
| 130 | )); QMetaObject::connect(sender, signalIdx, receiver, methodIdx, Qt::DirectConnection); } | - |
| 131 | ; | - |
| 132 | { QQmlInstanceModel *sender = (d->model); QQuickRepeater *receiver = (this); const char *signal = (qFlagLocation("2""createdItem(int,QObject*)" "\0" __FILE__ ":" "241")); const char *method = (qFlagLocation("1""createdItem(int,QObject*)" "\0" __FILE__ ":" "241")); static int signalIdx = -1; static int methodIdx = -1; if (signalIdx < 0| TRUE | evaluated 32 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 718 times by 14 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
) { ((((int)(*signal) - '0') == 2) ? static_cast<void>(0) : qt_assert("((int)(*signal) - '0') == QSIGNAL_CODE", | 32-718 |
| 133 | __FILE__ | - |
| 134 | , | - |
| 135 | 241 | - |
| 136 | )); signalIdx = QQmlInstanceModel::staticMetaObject.indexOfSignal(signal+1); }executed 32 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
if (methodIdx < 0| TRUE | evaluated 32 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 718 times by 14 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
) { int code = ((int)(*method) - '0'); ((code == 1 || code == 2) ? static_cast<void>(0) : qt_assert("code == QSLOT_CODE || code == QSIGNAL_CODE", | 32-718 |
| 137 | __FILE__ | - |
| 138 | , | - |
| 139 | 241 | - |
| 140 | )); if (code == 1| TRUE | evaluated 32 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | never evaluated |
) methodIdx = QQuickRepeater::staticMetaObject.indexOfSlot(method+1);executed 32 times by 16 tests: methodIdx = QQuickRepeater::staticMetaObject.indexOfSlot(method+1);Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
else methodIdx = QQuickRepeater::staticMetaObject.indexOfSignal(method+1);never executed: methodIdx = QQuickRepeater::staticMetaObject.indexOfSignal(method+1); } ((signalIdx != -1 && methodIdx != -1) ? static_cast<void>(0) : qt_assert("signalIdx != -1 && methodIdx != -1", | 0-32 |
| 141 | __FILE__ | - |
| 142 | , | - |
| 143 | 241 | - |
| 144 | )); QMetaObject::connect(sender, signalIdx, receiver, methodIdx, Qt::DirectConnection); } | - |
| 145 | ; | - |
| 146 | { QQmlInstanceModel *sender = (d->model); QQuickRepeater *receiver = (this); const char *signal = (qFlagLocation("2""initItem(int,QObject*)" "\0" __FILE__ ":" "243")); const char *method = (qFlagLocation("1""initItem(int,QObject*)" "\0" __FILE__ ":" "243")); static int signalIdx = -1; static int methodIdx = -1; if (signalIdx < 0| TRUE | evaluated 32 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 718 times by 14 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
) { ((((int)(*signal) - '0') == 2) ? static_cast<void>(0) : qt_assert("((int)(*signal) - '0') == QSIGNAL_CODE", | 32-718 |
| 147 | __FILE__ | - |
| 148 | , | - |
| 149 | 243 | - |
| 150 | )); signalIdx = QQmlInstanceModel::staticMetaObject.indexOfSignal(signal+1); }executed 32 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
if (methodIdx < 0| TRUE | evaluated 32 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 718 times by 14 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
) { int code = ((int)(*method) - '0'); ((code == 1 || code == 2) ? static_cast<void>(0) : qt_assert("code == QSLOT_CODE || code == QSIGNAL_CODE", | 32-718 |
| 151 | __FILE__ | - |
| 152 | , | - |
| 153 | 243 | - |
| 154 | )); if (code == 1| TRUE | evaluated 32 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | never evaluated |
) methodIdx = QQuickRepeater::staticMetaObject.indexOfSlot(method+1);executed 32 times by 16 tests: methodIdx = QQuickRepeater::staticMetaObject.indexOfSlot(method+1);Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
else methodIdx = QQuickRepeater::staticMetaObject.indexOfSignal(method+1);never executed: methodIdx = QQuickRepeater::staticMetaObject.indexOfSignal(method+1); } ((signalIdx != -1 && methodIdx != -1) ? static_cast<void>(0) : qt_assert("signalIdx != -1 && methodIdx != -1", | 0-32 |
| 155 | __FILE__ | - |
| 156 | , | - |
| 157 | 243 | - |
| 158 | )); QMetaObject::connect(sender, signalIdx, receiver, methodIdx, Qt::DirectConnection); } | - |
| 159 | ; | - |
| 160 | regenerate(); | - |
| 161 | }executed 750 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 750 |
| 162 | modelChanged(); | - |
| 163 | countChanged(); | - |
| 164 | }executed 750 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 750 |
| 165 | QQmlComponent *QQuickRepeater::delegate() const | - |
| 166 | { | - |
| 167 | const QQuickRepeaterPrivate * const d = d_func(); | - |
| 168 | if (d->model| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
) { | 0-2 |
| 169 | if (QQmlDelegateModel *dataModel = qobject_cast<QQmlDelegateModel*>(d->model)| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
) | 0-2 |
| 170 | returnexecuted 2 times by 1 test: return dataModel->delegate(); dataModel->delegate();executed 2 times by 1 test: return dataModel->delegate(); | 2 |
| 171 | } never executed: end of block | 0 |
| 172 | | - |
| 173 | return never executed: return nullptr; nullptr;never executed: return nullptr; | 0 |
| 174 | } | - |
| 175 | | - |
| 176 | void QQuickRepeater::setDelegate(QQmlComponent *delegate) | - |
| 177 | { | - |
| 178 | QQuickRepeaterPrivate * const d = d_func(); | - |
| 179 | if (QQmlDelegateModel *dataModel = qobject_cast<QQmlDelegateModel*>(d->model)| TRUE | evaluated 220 times by 15 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 1284 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
|
) | 220-1284 |
| 180 | if (delegate| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 218 times by 15 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_scenegraph
|
== dataModel->delegate()| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 218 times by 15 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_scenegraph
|
) | 2-218 |
| 181 | return;executed 2 times by 1 test: return; | 2 |
| 182 | | - |
| 183 | if (!d->ownModel| TRUE | evaluated 1284 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| | FALSE | evaluated 218 times by 15 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_scenegraph
|
) { | 218-1284 |
| 184 | d->model = new QQmlDelegateModel(qmlContext(this)); | - |
| 185 | d->ownModel = true; | - |
| 186 | }executed 1284 times by 8 tests: end of blockExecuted by:- tst_examples
- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| 1284 |
| 187 | | - |
| 188 | if (QQmlDelegateModel *dataModel = qobject_cast<QQmlDelegateModel*>(d->model)| TRUE | evaluated 1502 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | never evaluated |
) { | 0-1502 |
| 189 | dataModel->setDelegate(delegate); | - |
| 190 | regenerate(); | - |
| 191 | delegateChanged(); | - |
| 192 | d->delegateValidated = false; | - |
| 193 | }executed 1502 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 1502 |
| 194 | }executed 1502 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 1502 |
| 195 | int QQuickRepeater::count() const | - |
| 196 | { | - |
| 197 | const QQuickRepeaterPrivate * const d = d_func(); | - |
| 198 | if (d->model| TRUE | evaluated 742 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | never evaluated |
) | 0-742 |
| 199 | returnexecuted 742 times by 16 tests: return d->model->count();Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
d->model->count();executed 742 times by 16 tests: return d->model->count();Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 742 |
| 200 | return never executed: return 0; 0;never executed: return 0; | 0 |
| 201 | } | - |
| 202 | | - |
| 203 | | - |
| 204 | | - |
| 205 | | - |
| 206 | | - |
| 207 | | - |
| 208 | | - |
| 209 | QQuickItem *QQuickRepeater::itemAt(int index) const | - |
| 210 | { | - |
| 211 | const QQuickRepeaterPrivate * const d = d_func(); | - |
| 212 | if (index >= 0| TRUE | evaluated 454 times by 2 testsEvaluated by:- tst_qquickdraghandler
- tst_qquickrepeater
| | FALSE | evaluated 4 times by 1 test |
&& index < d->deletables.count()| TRUE | evaluated 444 times by 2 testsEvaluated by:- tst_qquickdraghandler
- tst_qquickrepeater
| | FALSE | evaluated 10 times by 1 test |
) | 4-454 |
| 213 | returnexecuted 444 times by 2 tests: return d->deletables[index];Executed by:- tst_qquickdraghandler
- tst_qquickrepeater
d->deletables[index];executed 444 times by 2 tests: return d->deletables[index];Executed by:- tst_qquickdraghandler
- tst_qquickrepeater
| 444 |
| 214 | returnexecuted 14 times by 1 test: return nullptr; nullptr;executed 14 times by 1 test: return nullptr; | 14 |
| 215 | } | - |
| 216 | | - |
| 217 | void QQuickRepeater::componentComplete() | - |
| 218 | { | - |
| 219 | QQuickRepeaterPrivate * const d = d_func(); | - |
| 220 | if (d->model && d->ownModel| TRUE | evaluated 1498 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 8 times by 1 test |
) | 8-1498 |
| 221 | static_cast<executed 1498 times by 16 tests: static_cast<QQmlDelegateModel *>(d->model.data())->componentComplete();Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
QQmlDelegateModel *>(d->model.data())->componentComplete();executed 1498 times by 16 tests: static_cast<QQmlDelegateModel *>(d->model.data())->componentComplete();Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 1498 |
| 222 | QQuickItem::componentComplete(); | - |
| 223 | regenerate(); | - |
| 224 | if (d->model && d->model->count()| TRUE | evaluated 308 times by 15 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 1198 times by 4 testsEvaluated by:- tst_qquickitem2
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
|
) | 308-1198 |
| 225 | countChanged();executed 308 times by 15 tests: countChanged();Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_scenegraph
| 308 |
| 226 | }executed 1512 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 1512 |
| 227 | | - |
| 228 | void QQuickRepeater::itemChange(ItemChange change, const ItemChangeData &value) | - |
| 229 | { | - |
| 230 | QQuickItem::itemChange(change, value); | - |
| 231 | if (change == ItemParentHasChanged| TRUE | evaluated 2998 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 2918 times by 14 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
) { | 2918-2998 |
| 232 | regenerate(); | - |
| 233 | }executed 2998 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 2998 |
| 234 | }executed 5916 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 5916 |
| 235 | | - |
| 236 | void QQuickRepeater::clear() | - |
| 237 | { | - |
| 238 | QQuickRepeaterPrivate * const d = d_func(); | - |
| 239 | bool complete = isComponentComplete(); | - |
| 240 | | - |
| 241 | if (d->model| TRUE | evaluated 3928 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 236 times by 15 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_scenegraph
|
) { | 236-3928 |
| 242 | | - |
| 243 | | - |
| 244 | for (int i = d->deletables.count() - 1; i >= 0| TRUE | evaluated 8984 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 3928 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
; --i) { | 3928-8984 |
| 245 | if (QQuickItem *item = d->deletables.at(i)| TRUE | evaluated 8984 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | never evaluated |
) { | 0-8984 |
| 246 | if (complete| TRUE | evaluated 8984 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | never evaluated |
) | 0-8984 |
| 247 | itemRemoved(i, item);executed 8984 times by 16 tests: itemRemoved(i, item);Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 8984 |
| 248 | d->model->release(item); | - |
| 249 | }executed 8984 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 8984 |
| 250 | }executed 8984 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 8984 |
| 251 | for (QQuickItem *item : qAsConst(d->deletables)) { | - |
| 252 | if (item| TRUE | evaluated 8984 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | never evaluated |
) | 0-8984 |
| 253 | item->setParentItem(nullptr);executed 8984 times by 16 tests: item->setParentItem(nullptr);Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 8984 |
| 254 | }executed 8984 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 8984 |
| 255 | }executed 3928 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 3928 |
| 256 | d->deletables.clear(); | - |
| 257 | d->itemCount = 0; | - |
| 258 | }executed 4164 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 4164 |
| 259 | | - |
| 260 | void QQuickRepeater::regenerate() | - |
| 261 | { | - |
| 262 | QQuickRepeaterPrivate * const d = d_func(); | - |
| 263 | if (!isComponentComplete()| TRUE | evaluated 3358 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 3414 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
) | 3358-3414 |
| 264 | return;executed 3358 times by 16 tests: return;Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 3358 |
| 265 | | - |
| 266 | clear(); | - |
| 267 | | - |
| 268 | if (!d->model| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 3406 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
|| !d->model->count()| TRUE | evaluated 2180 times by 7 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
| | FALSE | evaluated 1226 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
|| !d->model->isValid()| TRUE | never evaluated | | FALSE | evaluated 1226 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
|| !parentItem()| TRUE | evaluated 632 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 594 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
|| !isComponentComplete()| TRUE | never evaluated | | FALSE | evaluated 594 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
) | 0-3406 |
| 269 | return;executed 2820 times by 16 tests: return;Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 2820 |
| 270 | | - |
| 271 | d->itemCount = count(); | - |
| 272 | d->deletables.resize(d->itemCount); | - |
| 273 | d->requestItems(); | - |
| 274 | }executed 594 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 594 |
| 275 | | - |
| 276 | void QQuickRepeaterPrivate::requestItems() | - |
| 277 | { | - |
| 278 | for (int i = 0; i < itemCount| TRUE | evaluated 7052 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 594 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
; i++) { | 594-7052 |
| 279 | QObject *object = model->object(i, QQmlIncubator::AsynchronousIfNested); | - |
| 280 | if (object| TRUE | evaluated 6992 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 60 times by 1 test |
) | 60-6992 |
| 281 | model->release(object);executed 6992 times by 16 tests: model->release(object);Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 6992 |
| 282 | }executed 7052 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 7052 |
| 283 | }executed 594 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 594 |
| 284 | | - |
| 285 | void QQuickRepeater::createdItem(int index, QObject *) | - |
| 286 | { | - |
| 287 | QQuickRepeaterPrivate * const d = d_func(); | - |
| 288 | QObject *object = d->model->object(index, QQmlIncubator::AsynchronousIfNested); | - |
| 289 | QQuickItem *item = qmlobject_cast<QQuickItem*>(object); | - |
| 290 | itemAdded(index, item); | - |
| 291 | }executed 9258 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 9258 |
| 292 | | - |
| 293 | void QQuickRepeater::initItem(int index, QObject *object) | - |
| 294 | { | - |
| 295 | QQuickRepeaterPrivate * const d = d_func(); | - |
| 296 | QQuickItem *item = qmlobject_cast<QQuickItem*>(object); | - |
| 297 | | - |
| 298 | if (!d->deletables.at(index)| TRUE | evaluated 9258 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | never evaluated |
) { | 0-9258 |
| 299 | if (!item| TRUE | never evaluated | | FALSE | evaluated 9258 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
) { | 0-9258 |
| 300 | if (object| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 301 | d->model->release(object); | - |
| 302 | if (!d->delegateValidated| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 303 | d->delegateValidated = true; | - |
| 304 | QObject* delegate = this->delegate(); | - |
| 305 | qmlWarning(delegate ? delegate : this) << QQuickRepeater::tr("Delegate must be of Item type"); | - |
| 306 | } never executed: end of block | 0 |
| 307 | } never executed: end of block | 0 |
| 308 | return; never executed: return; | 0 |
| 309 | } | - |
| 310 | d->deletables[index] = item; | - |
| 311 | item->setParentItem(parentItem()); | - |
| 312 | if (index > 0| TRUE | evaluated 8428 times by 15 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 830 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
&& d->deletables.at(index-1)) { | 830-8428 |
| 313 | item->stackAfter(d->deletables.at(index-1)); | - |
| 314 | }executed 8382 times by 15 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
else { | 8382 |
| 315 | QQuickItem *after = this; | - |
| 316 | for (int si = index+1; si < d->itemCount| TRUE | evaluated 6556 times by 15 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 730 times by 16 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
; ++si) { | 730-6556 |
| 317 | if (d->deletables.at(si)| TRUE | evaluated 146 times by 2 testsEvaluated by:- tst_qquickpositioners
- tst_qquickrepeater
| | FALSE | evaluated 6410 times by 15 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
) { | 146-6410 |
| 318 | after = d->deletables.at(si); | - |
| 319 | break;executed 146 times by 2 tests: break;Executed by:- tst_qquickpositioners
- tst_qquickrepeater
| 146 |
| 320 | } | - |
| 321 | }executed 6410 times by 15 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 6410 |
| 322 | item->stackBefore(after); | - |
| 323 | }executed 876 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 876 |
| 324 | } | - |
| 325 | }executed 9258 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 9258 |
| 326 | | - |
| 327 | void QQuickRepeater::modelUpdated(const QQmlChangeSet &changeSet, bool reset) | - |
| 328 | { | - |
| 329 | QQuickRepeaterPrivate * const d = d_func(); | - |
| 330 | | - |
| 331 | if (!isComponentComplete()| TRUE | evaluated 692 times by 15 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 2238 times by 2 testsEvaluated by:- tst_qquickpositioners
- tst_qquickrepeater
|
) | 692-2238 |
| 332 | return;executed 692 times by 15 tests: return;Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_scenegraph
| 692 |
| 333 | | - |
| 334 | if (reset| TRUE | evaluated 10 times by 1 test | | FALSE | evaluated 2228 times by 2 testsEvaluated by:- tst_qquickpositioners
- tst_qquickrepeater
|
) { | 10-2228 |
| 335 | regenerate(); | - |
| 336 | if (changeSet.difference() != 0| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 2 times by 1 test |
) | 2-8 |
| 337 | countChanged();executed 8 times by 1 test: countChanged(); | 8 |
| 338 | return;executed 10 times by 1 test: return; | 10 |
| 339 | } | - |
| 340 | | - |
| 341 | int difference = 0; | - |
| 342 | QHash<int, QVector<QPointer<QQuickItem> > > moved; | - |
| 343 | for (const QQmlChangeSet::Change &remove : changeSet.removes()) { | - |
| 344 | int index = qMin(remove.index, d->deletables.count()); | - |
| 345 | int count = qMin(remove.index + remove.count, d->deletables.count()) - index; | - |
| 346 | if (remove.isMove()| TRUE | evaluated 14 times by 1 test | | FALSE | evaluated 110 times by 2 testsEvaluated by:- tst_qquickpositioners
- tst_qquickrepeater
|
) { | 14-110 |
| 347 | moved.insert(remove.moveId, d->deletables.mid(index, count)); | - |
| 348 | d->deletables.erase( | - |
| 349 | d->deletables.begin() + index, | - |
| 350 | d->deletables.begin() + index + count); | - |
| 351 | }executed 14 times by 1 test: end of block else while (count--| TRUE | evaluated 216 times by 2 testsEvaluated by:- tst_qquickpositioners
- tst_qquickrepeater
| | FALSE | evaluated 110 times by 2 testsEvaluated by:- tst_qquickpositioners
- tst_qquickrepeater
|
) { | 14-216 |
| 352 | QQuickItem *item = d->deletables.at(index); | - |
| 353 | d->deletables.remove(index); | - |
| 354 | itemRemoved(index, item); | - |
| 355 | if (item| TRUE | evaluated 216 times by 2 testsEvaluated by:- tst_qquickpositioners
- tst_qquickrepeater
| | FALSE | never evaluated |
) { | 0-216 |
| 356 | d->model->release(item); | - |
| 357 | item->setParentItem(nullptr); | - |
| 358 | }executed 216 times by 2 tests: end of blockExecuted by:- tst_qquickpositioners
- tst_qquickrepeater
| 216 |
| 359 | --d->itemCount; | - |
| 360 | }executed 216 times by 2 tests: end of blockExecuted by:- tst_qquickpositioners
- tst_qquickrepeater
| 216 |
| 361 | | - |
| 362 | difference -= remove.count; | - |
| 363 | }executed 124 times by 2 tests: end of blockExecuted by:- tst_qquickpositioners
- tst_qquickrepeater
| 124 |
| 364 | | - |
| 365 | for (const QQmlChangeSet::Change &insert : changeSet.inserts()) { | - |
| 366 | int index = qMin(insert.index, d->deletables.count()); | - |
| 367 | if (insert.isMove()| TRUE | evaluated 14 times by 1 test | | FALSE | evaluated 2102 times by 2 testsEvaluated by:- tst_qquickpositioners
- tst_qquickrepeater
|
) { | 14-2102 |
| 368 | QVector<QPointer<QQuickItem> > items = moved.value(insert.moveId); | - |
| 369 | d->deletables = d->deletables.mid(0, index) + items + d->deletables.mid(index); | - |
| 370 | QQuickItem *stackBefore = index + items.count() < d->deletables.count()| TRUE | evaluated 12 times by 1 test | | FALSE | evaluated 2 times by 1 test |
| 2-12 |
| 371 | ? d->deletables.at(index + items.count()) | - |
| 372 | : this; | - |
| 373 | if (stackBefore| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 6 times by 1 test |
) { | 6-8 |
| 374 | for (int i = index; i < index + items.count()| TRUE | evaluated 12 times by 1 test | | FALSE | evaluated 8 times by 1 test |
; ++i) { | 8-12 |
| 375 | if (i < d->deletables.count()| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
) { | 0-12 |
| 376 | QPointer<QQuickItem> item = d->deletables.at(i); | - |
| 377 | if (item| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
) | 4-8 |
| 378 | item->stackBefore(stackBefore);executed 8 times by 1 test: item->stackBefore(stackBefore); | 8 |
| 379 | }executed 12 times by 1 test: end of block | 12 |
| 380 | }executed 12 times by 1 test: end of block | 12 |
| 381 | }executed 8 times by 1 test: end of block | 8 |
| 382 | }executed 14 times by 1 test: end of block else for (int i = 0; i < insert.count| TRUE | evaluated 2206 times by 2 testsEvaluated by:- tst_qquickpositioners
- tst_qquickrepeater
| | FALSE | evaluated 2102 times by 2 testsEvaluated by:- tst_qquickpositioners
- tst_qquickrepeater
|
; ++i) { | 14-2206 |
| 383 | int modelIndex = index + i; | - |
| 384 | ++d->itemCount; | - |
| 385 | d->deletables.insert(modelIndex, nullptr); | - |
| 386 | QObject *object = d->model->object(modelIndex, QQmlIncubator::AsynchronousIfNested); | - |
| 387 | if (object| TRUE | evaluated 2206 times by 2 testsEvaluated by:- tst_qquickpositioners
- tst_qquickrepeater
| | FALSE | never evaluated |
) | 0-2206 |
| 388 | d->model->release(object);executed 2206 times by 2 tests: d->model->release(object);Executed by:- tst_qquickpositioners
- tst_qquickrepeater
| 2206 |
| 389 | }executed 2206 times by 2 tests: end of blockExecuted by:- tst_qquickpositioners
- tst_qquickrepeater
| 2206 |
| 390 | difference += insert.count; | - |
| 391 | }executed 2116 times by 2 tests: end of blockExecuted by:- tst_qquickpositioners
- tst_qquickrepeater
| 2116 |
| 392 | | - |
| 393 | if (difference != 0| TRUE | evaluated 2208 times by 2 testsEvaluated by:- tst_qquickpositioners
- tst_qquickrepeater
| | FALSE | evaluated 20 times by 1 test |
) | 20-2208 |
| 394 | countChanged();executed 2208 times by 2 tests: countChanged();Executed by:- tst_qquickpositioners
- tst_qquickrepeater
| 2208 |
| 395 | }executed 2228 times by 2 tests: end of blockExecuted by:- tst_qquickpositioners
- tst_qquickrepeater
| 2228 |
| 396 | | - |
| 397 | | - |
| 398 | | - |
| | |