OpenCoverage

qqmlmodelindexvaluetype.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmlmodelindexvaluetype.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7QString QQmlModelIndexValueType::propertiesString(const QModelIndex &idx)-
8{-
9 if (!idx.isValid()
!idx.isValid()Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmlenginedebugservice
FALSEnever evaluated
)
0-4
10 return
executed 4 times by 1 test: return QLatin1String("()");
Executed by:
  • tst_qqmlenginedebugservice
QLatin1String("()");
executed 4 times by 1 test: return QLatin1String("()");
Executed by:
  • tst_qqmlenginedebugservice
4
11 return
never executed: return QString(QLatin1String("(%1,%2,0x%3,%4(0x%5))")) .arg(idx.row()).arg(idx.column()).arg(idx.internalId(), 0, 16) .arg(QLatin1String(idx.model()->metaObject()->className())).arg(quintptr(idx.model()), 0, 16);
QString(QLatin1String("(%1,%2,0x%3,%4(0x%5))"))
never executed: return QString(QLatin1String("(%1,%2,0x%3,%4(0x%5))")) .arg(idx.row()).arg(idx.column()).arg(idx.internalId(), 0, 16) .arg(QLatin1String(idx.model()->metaObject()->className())).arg(quintptr(idx.model()), 0, 16);
0
12 .arg(idx.row()).arg(idx.column()).arg(idx.internalId(), 0, 16)
never executed: return QString(QLatin1String("(%1,%2,0x%3,%4(0x%5))")) .arg(idx.row()).arg(idx.column()).arg(idx.internalId(), 0, 16) .arg(QLatin1String(idx.model()->metaObject()->className())).arg(quintptr(idx.model()), 0, 16);
0
13 .arg(QLatin1String(idx.model()->metaObject()->className())).arg(quintptr(idx.model()), 0, 16);
never executed: return QString(QLatin1String("(%1,%2,0x%3,%4(0x%5))")) .arg(idx.row()).arg(idx.column()).arg(idx.internalId(), 0, 16) .arg(QLatin1String(idx.model()->metaObject()->className())).arg(quintptr(idx.model()), 0, 16);
0
14}-
15-
16-
17-
18-
19QString QQmlItemSelectionRangeValueType::toString() const-
20{-
21 return
never executed: return QString(QLatin1String("QItemSelectionRange(%1,%2)")) .arg(reinterpret_cast<const QQmlPersistentModelIndexValueType *>(&v.topLeft())->toString()) .arg(reinterpret_cast<const QQmlPersistentModelIndexValueType *>(&v.bottomRight())->toString());
QString(QLatin1String("QItemSelectionRange(%1,%2)"))
never executed: return QString(QLatin1String("QItemSelectionRange(%1,%2)")) .arg(reinterpret_cast<const QQmlPersistentModelIndexValueType *>(&v.topLeft())->toString()) .arg(reinterpret_cast<const QQmlPersistentModelIndexValueType *>(&v.bottomRight())->toString());
0
22 .arg(reinterpret_cast<const QQmlPersistentModelIndexValueType *>(&v.topLeft())->toString())
never executed: return QString(QLatin1String("QItemSelectionRange(%1,%2)")) .arg(reinterpret_cast<const QQmlPersistentModelIndexValueType *>(&v.topLeft())->toString()) .arg(reinterpret_cast<const QQmlPersistentModelIndexValueType *>(&v.bottomRight())->toString());
0
23 .arg(reinterpret_cast<const QQmlPersistentModelIndexValueType *>(&v.bottomRight())->toString());
never executed: return QString(QLatin1String("QItemSelectionRange(%1,%2)")) .arg(reinterpret_cast<const QQmlPersistentModelIndexValueType *>(&v.topLeft())->toString()) .arg(reinterpret_cast<const QQmlPersistentModelIndexValueType *>(&v.bottomRight())->toString());
0
24}-
25-
26-
27-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0