OpenCoverage

Qt Quick Test Coverage

Function Tree

Path:<top>::QQmlComponent
FunctionCondition %eLOC - Effective Lines of Codeā–“McCabe - Cyclomatic Complexity
d_func [qqmlcomponent.h #2]
Name: QQmlComponent::d_func [qqmlcomponent.h #2]
Prototype: inline QQmlComponentPrivate* d_func()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcomponent.h #2
Lines: 70-70
100.000% (1/1)
11
d_func [qqmlcomponent.h #2]
Name: QQmlComponent::d_func [qqmlcomponent.h #2]
Prototype: inline const QQmlComponentPrivate* d_func() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcomponent.h #2
Lines: 70-70
100.000% (1/1)
11
isError
Name: QQmlComponent::isError
Prototype: bool QQmlComponent::isError() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcomponent.cpp
Lines: 441-444
100.000% (1/1)
11
isLoading
Name: QQmlComponent::isLoading
Prototype: bool QQmlComponent::isLoading() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcomponent.cpp
Lines: 449-452
100.000% (1/1)
11
isNull
Name: QQmlComponent::isNull
Prototype: bool QQmlComponent::isNull() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcomponent.cpp
Lines: 425-428
100.000% (1/1)
11
isReady
Name: QQmlComponent::isReady
Prototype: bool QQmlComponent::isReady() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcomponent.cpp
Lines: 433-436
100.000% (1/1)
11
QQmlComponent
Name: QQmlComponent::QQmlComponent
Prototype: QQmlComponent::QQmlComponent(QQmlComponentPrivate &dd, QObject *parent)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcomponent.cpp
Lines: 744-747
  0.000% (0/1)
21
QQmlComponent
Name: QQmlComponent::QQmlComponent
Prototype: QQmlComponent::QQmlComponent(QObject *parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcomponent.cpp
Lines: 361-364
100.000% (1/1)
21
QQmlComponent
Name: QQmlComponent::QQmlComponent
Prototype: QQmlComponent::QQmlComponent(QQmlEngine *engine, QObject *parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcomponent.cpp
Lines: 489-494
100.000% (1/1)
21
QQmlComponent
Name: QQmlComponent::QQmlComponent
Prototype: QQmlComponent::QQmlComponent(QQmlEngine *engine, const QUrl &url, QObject *parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcomponent.cpp
Lines: 504-507
100.000% (1/1)
21
QQmlComponent
Name: QQmlComponent::QQmlComponent
Prototype: QQmlComponent::QQmlComponent(QQmlEngine *engine, const QUrl &url, CompilationMode mode, QObject *parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcomponent.cpp
Lines: 518-524
100.000% (1/1)
21
QQmlComponent
Name: QQmlComponent::QQmlComponent
Prototype: QQmlComponent::QQmlComponent(QQmlEngine *engine, const QString &fileName, QObject *parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcomponent.cpp
Lines: 532-536
100.000% (1/1)
21
completeCreate
Name: QQmlComponent::completeCreate
Prototype: void QQmlComponent::completeCreate()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcomponent.cpp
Lines: 938-943
100.000% (1/1)
21
loadUrl
Name: QQmlComponent::loadUrl
Prototype: void QQmlComponent::loadUrl(const QUrl &url)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcomponent.cpp
Lines: 612-616
100.000% (1/1)
21
loadUrl
Name: QQmlComponent::loadUrl
Prototype: void QQmlComponent::loadUrl(const QUrl &url, QQmlComponent::CompilationMode mode)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcomponent.cpp
Lines: 624-628
100.000% (1/1)
21
progress
Name: QQmlComponent::progress
Prototype: qreal QQmlComponent::progress() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcomponent.cpp
Lines: 465-469
100.000% (1/1)
21
progressChanged
Name: QQmlComponent::progressChanged
Prototype: void QQmlComponent::progressChanged(qreal _t1)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/.moc/moc_qqmlcomponent.cpp
Lines: 248-252
100.000% (1/1)
21
statusChanged
Name: QQmlComponent::statusChanged
Prototype: void QQmlComponent::statusChanged(QQmlComponent::Status _t1)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/.moc/moc_qqmlcomponent.cpp
Lines: 241-245
100.000% (1/1)
21
url
Name: QQmlComponent::url
Prototype: QUrl QQmlComponent::url() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcomponent.cpp
Lines: 735-739
100.000% (1/1)
21
QQmlComponent
Name: QQmlComponent::QQmlComponent
Prototype: QQmlComponent::QQmlComponent(QQmlEngine *engine, const QString &fileName, CompilationMode mode, QObject *parent)
Coverage:  66.667% (2/3)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcomponent.cpp
Lines: 545-552
 66.667% (2/3)
31
beginCreate
Name: QQmlComponent::beginCreate
Prototype: QObject *QQmlComponent::beginCreate(QQmlContext *publicContext)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcomponent.cpp
Lines: 807-815
100.000% (1/1)
41
creationContext
Name: QQmlComponent::creationContext
Prototype: QQmlContext *QQmlComponent::creationContext() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcomponent.cpp
Lines: 598-605
100.000% (4/4)
42
errors
Name: QQmlComponent::errors
Prototype: QList<QQmlError> QQmlComponent::errors() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcomponent.cpp
Lines: 687-694
100.000% (4/4)
42
QQmlComponent
Name: QQmlComponent::QQmlComponent
Prototype: QQmlComponent::QQmlComponent(QQmlEngine *engine, QV4::CompiledData::CompilationUnit *compilationUnit, int start, QObject *parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcomponent.cpp
Lines: 557-565
100.000% (1/1)
51
create
Name: QQmlComponent::create
Prototype: QObject *QQmlComponent::create(QQmlContext *context)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcomponent.cpp
Lines: 766-778
100.000% (7/7)
83
status
Name: QQmlComponent::status
Prototype: QQmlComponent::Status QQmlComponent::status() const
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcomponent.cpp
Lines: 408-420
100.000% (10/10)
84
errorString
Name: QQmlComponent::errorString
Prototype: QString QQmlComponent::errorString() const
Coverage: 100.000% (5/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcomponent.cpp
Lines: 711-723
100.000% (5/5)
93
setData
Name: QQmlComponent::setData
Prototype: void QQmlComponent::setData(const QByteArray &data, const QUrl &url)
Coverage: 100.000% (5/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcomponent.cpp
Lines: 572-592
100.000% (5/5)
112
~QQmlComponent
Name: QQmlComponent::~QQmlComponent
Prototype: QQmlComponent::~QQmlComponent()
Coverage:  90.909% (10/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcomponent.cpp
Lines: 369-389
 90.909% (10/11)
115
qmlAttachedProperties
Name: QQmlComponent::qmlAttachedProperties
Prototype: QQmlComponentAttached *QQmlComponent::qmlAttachedProperties(QObject *obj)
Coverage:  75.000% (6/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcomponent.cpp
Lines: 971-990
 75.000% (6/8)
123
create
Name: QQmlComponent::create
Prototype: void QQmlComponent::create(QQmlIncubator &incubator, QQmlContext *context, QQmlContext *forContext)
Coverage:  62.500% (10/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcomponent.cpp
Lines: 1012-1050
 62.500% (10/16)
236
createObject
Name: QQmlComponent::createObject
Prototype: void QQmlComponent::createObject(QQmlV4Function *args)
Coverage:  87.500% (21/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcomponent.cpp
Lines: 1254-1308
 87.500% (21/24)
358
incubateObject
Name: QQmlComponent::incubateObject
Prototype: void QQmlComponent::incubateObject(QQmlV4Function *args)
Coverage:  78.788% (26/33)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcomponent.cpp
Lines: 1368-1427
 78.788% (26/33)
4111

Generated by Squish Coco 4.2.0