OpenCoverage

Qt Quick Test Coverage

Function Tree

Path:<top>::QQmlPartsModel
FunctionCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexityâ–´
count
Name: QQmlPartsModel::count
Prototype: int QQmlPartsModel::count() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 3201-3207
100.000% (1/1)
41
createdPackage
Name: QQmlPartsModel::createdPackage
Prototype: void QQmlPartsModel::createdPackage(int index, QQuickPackage *package)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 3296-3299
100.000% (1/1)
11
destroyingPackage
Name: QQmlPartsModel::destroyingPackage
Prototype: void QQmlPartsModel::destroyingPackage(QQuickPackage *package)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 3309-3314
100.000% (1/1)
31
filterGroupChanged
Name: QQmlPartsModel::filterGroupChanged
Prototype: void QQmlPartsModel::filterGroupChanged()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/.moc/moc_qqmldelegatemodel_p_p.cpp
Lines: 385-388
100.000% (1/1)
11
isValid
Name: QQmlPartsModel::isValid
Prototype: bool QQmlPartsModel::isValid() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 3209-3212
100.000% (1/1)
11
setWatchedRoles
Name: QQmlPartsModel::setWatchedRoles
Prototype: void QQmlPartsModel::setWatchedRoles(const QList<QByteArray> &roles)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 3266-3271
100.000% (1/1)
31
stringValue
Name: QQmlPartsModel::stringValue
Prototype: QString QQmlPartsModel::stringValue(int index, const QString &role)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 3261-3264
100.000% (1/1)
11
watchedRoles
Name: QQmlPartsModel::watchedRoles
Prototype: QList<QByteArray> watchedRoles() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel_p_p.h
Lines: 370-370
100.000% (1/1)
11
QQmlPartsModel
Name: QQmlPartsModel::QQmlPartsModel
Prototype: QQmlPartsModel::QQmlPartsModel(QQmlDelegateModel *model, const QString &part, QObject *parent)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 3093-3107
 50.000% (2/4)
52
filterGroup
Name: QQmlPartsModel::filterGroup
Prototype: QString QQmlPartsModel::filterGroup() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 3113-3118
100.000% (4/4)
32
initPackage
Name: QQmlPartsModel::initPackage
Prototype: void QQmlPartsModel::initPackage(int index, QQuickPackage *package)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 3301-3307
100.000% (4/4)
32
resetFilterGroup
Name: QQmlPartsModel::resetFilterGroup
Prototype: void QQmlPartsModel::resetFilterGroup()
Coverage:  75.000% (3/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 3136-3143
 75.000% (3/4)
42
incubationStatus
Name: QQmlPartsModel::incubationStatus
Prototype: QQmlIncubator::Status QQmlPartsModel::incubationStatus(int index)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 3273-3284
 42.857% (3/7)
73
indexOf
Name: QQmlPartsModel::indexOf
Prototype: int QQmlPartsModel::indexOf(QObject *item, QObject *) const
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 3286-3294
 71.429% (5/7)
53
setFilterGroup
Name: QQmlPartsModel::setFilterGroup
Prototype: void QQmlPartsModel::setFilterGroup(const QString &group)
Coverage:  44.444% (4/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 3120-3134
 44.444% (4/9)
83
release
Name: QQmlPartsModel::release
Prototype: QQmlInstanceModel::ReleaseFlags QQmlPartsModel::release(QObject *item)
Coverage:  90.000% (9/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 3243-3259
 90.000% (9/10)
124
updateFilterGroup
Name: QQmlPartsModel::updateFilterGroup
Prototype: void QQmlPartsModel::updateFilterGroup( Compositor::Group group, const QQmlChangeSet &changeSet)
Coverage:  40.000% (4/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 3183-3199
 40.000% (4/10)
94
emitModelUpdated
Name: QQmlPartsModel::emitModelUpdated
Prototype: void QQmlPartsModel::emitModelUpdated(const QQmlChangeSet &changeSet, bool reset)
Coverage:  66.667% (10/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 3316-3334
 66.667% (10/15)
145
object
Name: QQmlPartsModel::object
Prototype: QObject *QQmlPartsModel::object(int index, QQmlIncubator::IncubationMode incubationMode)
Coverage:  55.000% (11/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 3214-3241
 55.000% (11/20)
176
updateFilterGroup
Name: QQmlPartsModel::updateFilterGroup
Prototype: void QQmlPartsModel::updateFilterGroup()
Coverage:  68.000% (17/25)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 3145-3181
 68.000% (17/25)
259

Generated by Squish Coco 4.2.0