OpenCoverage

Qt Quick Test Coverage

Function Tree

Path:<top>::QQmlTypeNameCache
FunctionCondition %eLOC - Effective Lines of Codeā–“McCabe - Cyclomatic Complexity
QQmlTypeNameCache
Name: QQmlTypeNameCache::QQmlTypeNameCache
Prototype: QQmlTypeNameCache::QQmlTypeNameCache(const QQmlImports &importCache)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmltypenamecache.cpp
Lines: 46-49
100.000% (1/1)
21
isEmpty
Name: QQmlTypeNameCache::isEmpty
Prototype: bool QQmlTypeNameCache::isEmpty() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmltypenamecache_p.h
Lines: 194-198
100.000% (1/1)
21
query
Name: QQmlTypeNameCache::query
Prototype: template<typename Key> Result query(const QStringHash<QUrl> &urls, Key key) const
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmltypenamecache_p.h
Lines: 132-142
100.000% (4/4)
52
typeSearch
Name: QQmlTypeNameCache::typeSearch
Prototype: template<typename Key> Result typeSearch(const QVector<QQmlTypeModuleVersion> &modules, Key key) const
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmltypenamecache_p.h
Lines: 144-155
100.000% (7/7)
63
query
Name: QQmlTypeNameCache::query
Prototype: template<typename Key> Result query(const QStringHash<QQmlImportRef> &imports, Key key) const
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmltypenamecache_p.h
Lines: 116-130
100.000% (7/7)
73
add
Name: QQmlTypeNameCache::add
Prototype: void QQmlTypeNameCache::add(const QHashedString &name, const QUrl &url, const QHashedString &nameSpace)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmltypenamecache.cpp
Lines: 55-68
 42.857% (3/7)
83
Result
Name: QQmlTypeNameCache::Result
Coverage: 100.000% (6/6)
100.000% (6/6)
116
add
Name: QQmlTypeNameCache::add
Prototype: void QQmlTypeNameCache::add(const QHashedString &name, int importedScriptIndex, const QHashedString &nameSpace)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmltypenamecache.cpp
Lines: 70-87
100.000% (7/7)
113
query
Name: QQmlTypeNameCache::query
Prototype: QQmlTypeNameCache::Result QQmlTypeNameCache::query(const QHashedStringRef &name, const QQmlImportRef *importNamespace) const
Coverage:  30.000% (3/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmltypenamecache.cpp
Lines: 114-139
 30.000% (3/10)
134
query
Name: QQmlTypeNameCache::query
Prototype: QQmlTypeNameCache::Result QQmlTypeNameCache::query(const QHashedStringRef &name) const
Coverage: 100.000% (13/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmltypenamecache.cpp
Lines: 89-112
100.000% (13/13)
135
query
Name: QQmlTypeNameCache::query
Prototype: QQmlTypeNameCache::Result QQmlTypeNameCache::query(const QV4::String *name, QQmlImport::RecursionRestriction recursionRestriction) const
Coverage: 100.000% (13/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmltypenamecache.cpp
Lines: 141-166
100.000% (13/13)
155
query
Name: QQmlTypeNameCache::query
Prototype: QQmlTypeNameCache::Result QQmlTypeNameCache::query(const QV4::String *name, const QQmlImportRef *importNamespace) const
Coverage:  75.000% (12/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmltypenamecache.cpp
Lines: 168-199
 75.000% (12/16)
186

Generated by Squish Coco 4.2.0