OpenCoverage

Qt Quick Test Coverage

Function Tree

Path:<top>::QQmlDelegateModelItem
FunctionCondition %eLOC - Effective Lines of Codeā–¾McCabe - Cyclomatic Complexity
destroyObject
Name: QQmlDelegateModelItem::destroyObject
Prototype: void QQmlDelegateModelItem::destroyObject()
Coverage:  80.000% (8/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 2031-2055
 80.000% (8/10)
174
set_groups
Name: QQmlDelegateModelItem::set_groups
Prototype: QV4::ReturnedValue QQmlDelegateModelItem::set_groups(const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc)
Coverage:  36.364% (4/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 1898-1917
 36.364% (4/11)
144
set_member
Name: QQmlDelegateModelItem::set_member
Prototype: QV4::ReturnedValue QQmlDelegateModelItem::set_member(QQmlDelegateModelItem *cacheItem, uint flag, const QV4::Value &arg)
Coverage:  63.636% (7/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 1924-1943
 63.636% (7/11)
134
setModelIndex
Name: QQmlDelegateModelItem::setModelIndex
Prototype: void QQmlDelegateModelItem::setModelIndex(int idx)
Coverage:  80.000% (8/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 2010-2029
 80.000% (8/10)
134
get_groups
Name: QQmlDelegateModelItem::get_groups
Prototype: QV4::ReturnedValue QQmlDelegateModelItem::get_groups(const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *, int)
Coverage:  72.727% (8/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 1882-1896
 72.727% (8/11)
94
~QQmlDelegateModelItem
Name: QQmlDelegateModelItem::~QQmlDelegateModelItem
Prototype: QQmlDelegateModelItem::~QQmlDelegateModelItem()
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 1980-1995
 71.429% (5/7)
83
get_model
Name: QQmlDelegateModelItem::get_model
Prototype: QV4::ReturnedValue QQmlDelegateModelItem::get_model(const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *, int)
Coverage:  37.500% (3/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 1870-1880
 37.500% (3/8)
73
dataForObject
Name: QQmlDelegateModelItem::dataForObject
Prototype: QQmlDelegateModelItem *QQmlDelegateModelItem::dataForObject(QObject *object)
Coverage:  88.889% (8/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 2057-2068
 88.889% (8/9)
73
Dispose
Name: QQmlDelegateModelItem::Dispose
Prototype: void QQmlDelegateModelItem::Dispose()
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 1997-2008
100.000% (7/7)
73
groupIndex
Name: QQmlDelegateModelItem::groupIndex
Prototype: int QQmlDelegateModelItem::groupIndex(Compositor::Group group)
Coverage:  50.000% (3/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 2070-2078
 50.000% (3/6)
52
isReferenced
Name: QQmlDelegateModelItem::isReferenced
Prototype: bool isReferenced() 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: 109-113
100.000% (1/1)
31
setValue
Name: QQmlDelegateModelItem::setValue
Prototype: void setValue(const QString &role, const QVariant &value)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel_p_p.h
Lines: 130-130
  0.000% (0/1)
11
rowChanged
Name: QQmlDelegateModelItem::rowChanged
Prototype: void QQmlDelegateModelItem::rowChanged()
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: 221-224
100.000% (1/1)
11
resolveIndex
Name: QQmlDelegateModelItem::resolveIndex
Prototype: bool resolveIndex(const QQmlAdaptorModel &, int)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel_p_p.h
Lines: 131-131
  0.000% (0/1)
11
releaseObject
Name: QQmlDelegateModelItem::releaseObject
Prototype: bool releaseObject()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel_p_p.h
Lines: 106-106
100.000% (1/1)
11
referenceObject
Name: QQmlDelegateModelItem::referenceObject
Prototype: void referenceObject()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel_p_p.h
Lines: 105-105
100.000% (1/1)
11
modelObject
Name: QQmlDelegateModelItem::modelObject
Prototype: QObject *modelObject()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel_p_p.h
Lines: 117-117
100.000% (1/1)
11
modelIndexChanged
Name: QQmlDelegateModelItem::modelIndexChanged
Prototype: void QQmlDelegateModelItem::modelIndexChanged()
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: 215-218
100.000% (1/1)
11
modelIndex
Name: QQmlDelegateModelItem::modelIndex
Prototype: int modelIndex() 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: 125-125
100.000% (1/1)
11
isObjectReferenced
Name: QQmlDelegateModelItem::isObjectReferenced
Prototype: bool isObjectReferenced() 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: 107-107
100.000% (1/1)
11
get_member
Name: QQmlDelegateModelItem::get_member
Prototype: QV4::ReturnedValue QQmlDelegateModelItem::get_member(QQmlDelegateModelItem *thisItem, uint flag, const QV4::Value &)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 1919-1922
100.000% (1/1)
11
get_index
Name: QQmlDelegateModelItem::get_index
Prototype: QV4::ReturnedValue QQmlDelegateModelItem::get_index(QQmlDelegateModelItem *thisItem, uint flag, const QV4::Value &)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 1945-1948
100.000% (1/1)
11
get
Name: QQmlDelegateModelItem::get
Prototype: QV4::ReturnedValue get()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel_p_p.h
Lines: 128-128
100.000% (1/1)
11
columnChanged
Name: QQmlDelegateModelItem::columnChanged
Prototype: void QQmlDelegateModelItem::columnChanged()
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: 227-230
100.000% (1/1)
11
QQmlDelegateModelItem
Name: QQmlDelegateModelItem::QQmlDelegateModelItem
Prototype: QQmlDelegateModelItem::QQmlDelegateModelItem( QQmlDelegateModelItemMetaType *metaType, int modelIndex)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 1962-1978
100.000% (1/1)
11

Generated by Squish Coco 4.2.0