OpenCoverage

Qt Quick Test Coverage

Function Tree

Path:<top>::QQmlContext
FunctionCondition %eLOC - Effective Lines of Codeā–“McCabe - Cyclomatic Complexity
d_func [qqmlcontext.h #1]
Name: QQmlContext::d_func [qqmlcontext.h #1]
Prototype: inline QQmlContextPrivate* d_func()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcontext.h #1
Lines: 64-64
100.000% (1/1)
11
d_func [qqmlcontext.h #1]
Name: QQmlContext::d_func [qqmlcontext.h #1]
Prototype: inline const QQmlContextPrivate* d_func() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcontext.h #1
Lines: 64-64
100.000% (1/1)
11
setContextProperty
Name: QQmlContext::setContextProperty
Prototype: void QQmlContext::setContextProperty(const QString &name, QObject *value)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcontext.cpp
Lines: 327-330
100.000% (1/1)
11
QQmlContext
Name: QQmlContext::QQmlContext
Prototype: QQmlContext::QQmlContext(QQmlContextData *data)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcontext.cpp
Lines: 200-206
100.000% (1/1)
21
contextObject
Name: QQmlContext::contextObject
Prototype: QObject *QQmlContext::contextObject() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcontext.cpp
Lines: 259-263
100.000% (1/1)
21
engine
Name: QQmlContext::engine
Prototype: QQmlEngine *QQmlContext::engine() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcontext.cpp
Lines: 240-244
100.000% (1/1)
21
isValid
Name: QQmlContext::isValid
Prototype: bool QQmlContext::isValid() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcontext.cpp
Lines: 230-234
100.000% (1/1)
21
nameForObject
Name: QQmlContext::nameForObject
Prototype: QString QQmlContext::nameForObject(QObject *object) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcontext.cpp
Lines: 420-425
100.000% (1/1)
21
parentContext
Name: QQmlContext::parentContext
Prototype: QQmlContext *QQmlContext::parentContext() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcontext.cpp
Lines: 250-254
100.000% (1/1)
21
resolvedUrl
Name: QQmlContext::resolvedUrl
Prototype: QUrl QQmlContext::resolvedUrl(const QUrl &src)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcontext.cpp
Lines: 433-437
100.000% (1/1)
21
setBaseUrl
Name: QQmlContext::setBaseUrl
Prototype: void QQmlContext::setBaseUrl(const QUrl &baseUrl)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcontext.cpp
Lines: 479-485
100.000% (1/1)
31
QQmlContext
Name: QQmlContext::QQmlContext
Prototype: QQmlContext::QQmlContext(QQmlEngine *e, bool)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcontext.cpp
Lines: 159-167
100.000% (1/1)
41
QQmlContext
Name: QQmlContext::QQmlContext
Prototype: QQmlContext::QQmlContext(QQmlEngine *engine, QObject *parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcontext.cpp
Lines: 173-181
100.000% (1/1)
41
QQmlContext
Name: QQmlContext::QQmlContext
Prototype: QQmlContext::QQmlContext(QQmlContext *parentContext, QObject *parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcontext.cpp
Lines: 187-195
100.000% (1/1)
41
~QQmlContext
Name: QQmlContext::~QQmlContext
Prototype: QQmlContext::~QQmlContext()
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcontext.cpp
Lines: 215-222
100.000% (4/4)
42
baseUrl
Name: QQmlContext::baseUrl
Prototype: QUrl QQmlContext::baseUrl() const
Coverage: 100.000% (9/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcontext.cpp
Lines: 491-502
100.000% (9/9)
73
setContextObject
Name: QQmlContext::setContextObject
Prototype: void QQmlContext::setContextObject(QObject *object)
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcontext.cpp
Lines: 268-286
 71.429% (5/7)
103
setContextProperties
Name: QQmlContext::setContextProperties
Prototype: void QQmlContext::setContextProperties(const QVector<PropertyPair> &properties)
Coverage: 100.000% (2/2)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcontext.cpp
Lines: 343-362
100.000% (2/2)
112
setContextProperty
Name: QQmlContext::setContextProperty
Prototype: void QQmlContext::setContextProperty(const QString &name, const QVariant &value)
Coverage:  84.615% (11/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcontext.cpp
Lines: 291-320
 84.615% (11/13)
185
contextProperty
Name: QQmlContext::contextProperty
Prototype: QVariant QQmlContext::contextProperty(const QString &name) const
Coverage:  77.273% (17/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcontext.cpp
Lines: 380-411
 77.273% (17/22)
207

Generated by Squish Coco 4.2.0