Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmlmodelindexvaluetype.cpp |
Switch to Source code | Preprocessed file |
Line | Source | Count | ||||||
---|---|---|---|---|---|---|---|---|
1 | - | |||||||
2 | - | |||||||
3 | - | |||||||
4 | - | |||||||
5 | - | |||||||
6 | - | |||||||
7 | QString QQmlModelIndexValueType::propertiesString(const QModelIndex &idx) | - | ||||||
8 | { | - | ||||||
9 | if (!idx.isValid()
| 0-4 | ||||||
10 | return executed 4 times by 1 test: QLatin1String("()");return QLatin1String("()"); Executed by:
executed 4 times by 1 test: return QLatin1String("()"); Executed by:
| 4 | ||||||
11 | return never executed: QString(QLatin1String("(%1,%2,0x%3,%4(0x%5))"))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); 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 | - | |||||||
19 | QString QQmlItemSelectionRangeValueType::toString() const | - | ||||||
20 | { | - | ||||||
21 | return never executed: QString(QLatin1String("QItemSelectionRange(%1,%2)"))return QString(QLatin1String("QItemSelectionRange(%1,%2)")) .arg(reinterpret_cast<const QQmlPersistentModelIndexValueType *>(&v.topLeft())->toString()) .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 | ||||||
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 code | Preprocessed file |