OpenCoverage

Qt Quick Test Coverage

Function Tree

Path:<top>::QQmlImportInstance
FunctionCondition %▴eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
getVersionedScripts
Name: QQmlImportInstance::getVersionedScripts
Prototype: QQmlDirScripts QQmlImportInstance::getVersionedScripts(const QQmlDirScripts &qmldirscripts, int vmaj, int vmin)
Coverage:  61.111% (11/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlimport.cpp
Lines: 699-717
 61.111% (11/18)
94
resolveType
Name: QQmlImportInstance::resolveType
Prototype: bool QQmlImportInstance::resolveType(QQmlTypeLoader *typeLoader, const QHashedStringRef& type, int *vmajor, int *vminor, QQmlType *type_return, QString *base, bool *typeRecursionDetected, QQmlType::RegistrationType registrationType, QQmlImport::RecursionRestriction recursionRestriction, QList<QQmlError> *errors) const
Coverage:  63.866% (76/119)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlimport.cpp
Lines: 736-857
 63.866% (76/119)
8232
setQmldirContent
Name: QQmlImportInstance::setQmldirContent
Prototype: bool QQmlImportInstance::setQmldirContent(const QString &resolvedUrl, const QQmlTypeLoaderQmldirContent &qmldir, QQmlImportNamespace *nameSpace, QList<QQmlError> *errors)
Coverage:  83.333% (10/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlimport.cpp
Lines: 673-697
 83.333% (10/12)
144

Generated by Squish Coco 4.2.0