OpenCoverage

Qt Quick Test Coverage

Functions

Page:<>1
McCabe - Cyclomatic Complexity: 560
...10
McCabe - Cyclomatic Complexity: 8
...20
McCabe - Cyclomatic Complexity: 5
...22
McCabe - Cyclomatic Complexity: 4
23
McCabe - Cyclomatic Complexity: 4
24
McCabe - Cyclomatic Complexity: 4
25
McCabe - Cyclomatic Complexity: 4
2627
McCabe - Cyclomatic Complexity: 4
28
McCabe - Cyclomatic Complexity: 3
29
McCabe - Cyclomatic Complexity: 3
30
McCabe - Cyclomatic Complexity: 3
...40
McCabe - Cyclomatic Complexity: 3
...50
McCabe - Cyclomatic Complexity: 2
...100
McCabe - Cyclomatic Complexity: 1
...200
McCabe - Cyclomatic Complexity: 1
...202
McCabe - Cyclomatic Complexity: 1
FunctionCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexityâ–¾
QQmlProfilerEvent::squeeze
Name: QQmlProfilerEvent::squeeze
Prototype: template<typename Container, typename Number> typename std::enable_if<(sizeof(Number) > 1), bool>::type squeeze(const Container &numbers)
Coverage:  72.727% (8/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/qqmlprofilerevent_p.h
Lines: 289-300
 72.727% (8/11)
64
QQmlProfilerClientPrivate::resolveType
Name: QQmlProfilerClientPrivate::resolveType
Prototype: int QQmlProfilerClientPrivate::resolveType(const QQmlProfilerTypedEvent &event)
Coverage: 100.000% (11/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/qqmlprofilerclient.cpp
Lines: 49-74
100.000% (11/11)
154
QQmlProfilerClientPrivate::resolveStackTop
Name: QQmlProfilerClientPrivate::resolveStackTop
Prototype: int QQmlProfilerClientPrivate::resolveStackTop()
Coverage: 100.000% (12/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/qqmlprofilerclient.cpp
Lines: 76-94
100.000% (12/12)
134
QQmlProfilerClient::setRequestedFeatures
Name: QQmlProfilerClient::setRequestedFeatures
Prototype: void QQmlProfilerClient::setRequestedFeatures(quint64 features)
Coverage:  62.500% (5/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/qqmlprofilerclient.cpp
Lines: 268-293
 62.500% (5/8)
184
QQmlPendingGroupPropertyBindings::resolveMissingPropertyCaches
Name: QQmlPendingGroupPropertyBindings::resolveMissingPropertyCaches
Prototype: void QQmlPendingGroupPropertyBindings::resolveMissingPropertyCaches(QQmlEnginePrivate *enginePrivate, QQmlPropertyCacheVector *propertyCaches) const
Coverage:  50.000% (4/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/compiler/qqmlpropertycachecreator.cpp
Lines: 83-97
 50.000% (4/8)
84
QQmlPartsModel::updateFilterGroup
Name: QQmlPartsModel::updateFilterGroup
Prototype: void QQmlPartsModel::updateFilterGroup( Compositor::Group group, const QQmlChangeSet &changeSet)
Coverage:  40.000% (4/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 3183-3199
 40.000% (4/10)
94
QQmlPartsModel::release
Name: QQmlPartsModel::release
Prototype: QQmlInstanceModel::ReleaseFlags QQmlPartsModel::release(QObject *item)
Coverage:  90.000% (9/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 3243-3259
 90.000% (9/10)
124
QQmlOpenMetaObjectType::createProperties
Name: QQmlOpenMetaObjectType::createProperties
Prototype: void QQmlOpenMetaObjectType::createProperties(const QVector<QByteArray> &names)
Coverage:  80.000% (8/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlopenmetaobject.cpp
Lines: 116-136
 80.000% (8/10)
164
QQmlOpenMetaObject::setValue
Name: QQmlOpenMetaObject::setValue
Prototype: bool QQmlOpenMetaObject::setValue(const QByteArray &name, const QVariant &val, bool force)
Coverage:  84.615% (11/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlopenmetaobject.cpp
Lines: 354-375
 84.615% (11/13)
124
QQmlOpenMetaObject::createProperty
Name: QQmlOpenMetaObject::createProperty
Prototype: int QQmlOpenMetaObject::createProperty(const char *name, const char *)
Coverage:  80.000% (8/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlopenmetaobject.cpp
Lines: 404-419
 80.000% (8/10)
84
QQmlObjectCreator::setPropertyBinding::[lambda]
Name: QQmlObjectCreator::setPropertyBinding::[lambda]
Prototype: [qmlBinding, bindingTarget, targetProperty, subprop, bindingProperty, valueTypeProperty](QQmlObjectCreatorSharedState *sharedState)
Coverage:  69.231% (9/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp
Lines: 910-929
 69.231% (9/13)
114
QQmlObjectCreator::populateDeferredBinding
Name: QQmlObjectCreator::populateDeferredBinding
Prototype: bool QQmlObjectCreator::populateDeferredBinding(const QQmlProperty &qmlProperty, QQmlData::DeferredData *deferredData, const QV4::CompiledData::Binding *binding)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp
Lines: 292-362
  0.000% (0/10)
464
QQmlObjectCreator::clear
Name: QQmlObjectCreator::clear
Prototype: void QQmlObjectCreator::clear()
Coverage:  85.714% (12/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlobjectcreator.cpp
Lines: 1403-1418
 85.714% (12/14)
94
QQmlLocaleData::method_timeFormat
Name: QQmlLocaleData::method_timeFormat
Prototype: ReturnedValue QQmlLocaleData::method_timeFormat (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc)
Coverage:  54.545% (6/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmllocale.cpp
Lines: 577-577
 54.545% (6/11)
14
QQmlLocaleData::method_get_weekDays
Name: QQmlLocaleData::method_get_weekDays
Prototype: ReturnedValue QQmlLocaleData::method_get_weekDays(const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *, int)
Coverage:  80.000% (8/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmllocale.cpp
Lines: 500-520
 80.000% (8/10)
144
QQmlLocaleData::method_dateTimeFormat
Name: QQmlLocaleData::method_dateTimeFormat
Prototype: ReturnedValue QQmlLocaleData::method_dateTimeFormat (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc)
Coverage:  54.545% (6/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmllocale.cpp
Lines: 576-576
 54.545% (6/11)
14
QQmlLocaleData::method_dateFormat
Name: QQmlLocaleData::method_dateFormat
Prototype: ReturnedValue QQmlLocaleData::method_dateFormat (const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc)
Coverage:  54.545% (6/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmllocale.cpp
Lines: 578-578
 54.545% (6/11)
14
QQmlLocaleData::method_currencySymbol
Name: QQmlLocaleData::method_currencySymbol
Prototype: ReturnedValue QQmlLocaleData::method_currencySymbol(const QV4::FunctionObject *b, const QV4::Value *thisObject, const QV4::Value *argv, int argc)
Coverage:  45.455% (5/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmllocale.cpp
Lines: 541-558
 45.455% (5/11)
114
QQmlListReference::QQmlListReference
Name: QQmlListReference::QQmlListReference
Prototype: QQmlListReference::QQmlListReference(QObject *object, const char *property, QQmlEngine *engine)
Coverage:  75.000% (15/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmllist.cpp
Lines: 133-156
 75.000% (15/20)
144
QQmlListModelParser::verifyBindings
Name: QQmlListModelParser::verifyBindings
Prototype: void QQmlListModelParser::verifyBindings(const QV4::CompiledData::Unit *qmlUnit, const QList<const QV4::CompiledData::Binding *> &bindings)
Coverage: 100.000% (8/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmllistmodel.cpp
Lines: 2778-2791
100.000% (8/8)
84
QQmlListModelParser::definesEmptyList
Name: QQmlListModelParser::definesEmptyList
Prototype: bool QQmlListModelParser::definesEmptyList(const QString &s)
Coverage:  75.000% (9/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmllistmodel.cpp
Lines: 2814-2824
 75.000% (9/12)
64
QQmlListModelParser::applyBindings
Name: QQmlListModelParser::applyBindings
Prototype: void QQmlListModelParser::applyBindings(QObject *obj, QV4::CompiledData::CompilationUnit *compilationUnit, const QList<const QV4::CompiledData::Binding *> &bindings)
Coverage:  75.000% (6/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmllistmodel.cpp
Lines: 2793-2812
 75.000% (6/8)
114
QQmlListModel::roleNames
Name: QQmlListModel::roleNames
Prototype: QHash<int, QByteArray> QQmlListModel::roleNames() const
Coverage: 100.000% (11/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmllistmodel.cpp
Lines: 2169-2184
100.000% (11/11)
84
QQmlListModel::get
Name: QQmlListModel::get
Prototype: QQmlV4Handle QQmlListModel::get(int index) const
Coverage: 100.000% (12/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmllistmodel.cpp
Lines: 2523-2547
100.000% (12/12)
134
QQmlListCompositor::transition
Name: QQmlListCompositor::transition
Prototype: void QQmlListCompositor::transition( Group from, Group to, QVector<QQmlChangeSet::Change> *removes, QVector<QQmlChangeSet::Change> *inserts)
Coverage: 100.000% (14/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/util/qqmllistcompositor.cpp
Lines: 1340-1356
100.000% (14/14)
84
QQmlJavaScriptExpression::~QQmlJavaScriptExpression
Name: QQmlJavaScriptExpression::~QQmlJavaScriptExpression
Prototype: QQmlJavaScriptExpression::~QQmlJavaScriptExpression()
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmljavascriptexpression.cpp
Lines: 103-116
100.000% (10/10)
94
QQmlJS::toDigit
Name: QQmlJS::toDigit
Prototype: static inline int toDigit(char c)
Coverage:  0.000% (0/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/parser/qqmljsengine_p.cpp
Lines: 51-60
  0.000% (0/16)
74
QQmlJS::Minify::append
Name: QQmlJS::Minify::append
Prototype: void Minify::append(const QString &s)
Coverage:  91.667% (11/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/tools/qmlmin/main.cpp
Lines: 266-282
 91.667% (11/12)
84
QQmlJS::MemoryPool::~MemoryPool
Name: QQmlJS::MemoryPool::~MemoryPool
Prototype: ~MemoryPool()
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/parser/qqmljsmemorypool_p.h
Lines: 76-87
100.000% (10/10)
64
QQmlJS::Lexer::parseModeFlags
Name: QQmlJS::Lexer::parseModeFlags
Prototype: int parseModeFlags() const
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/parser/qqmljslexer_p.h
Lines: 128-137
100.000% (10/10)
84
QQmlJS::AST::PatternElement::boundNames
Name: QQmlJS::AST::PatternElement::boundNames
Prototype: void PatternElement::boundNames(QStringList *names)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/parser/qqmljsast.cpp
Lines: 1235-1245
100.000% (10/10)
64
QQmlJS::AST::ObjectPattern::convertLiteralToAssignmentPattern
Name: QQmlJS::AST::ObjectPattern::convertLiteralToAssignmentPattern
Prototype: bool ObjectPattern::convertLiteralToAssignmentPattern(MemoryPool *pool, SourceLocation *errorLocation, QString *errorMessage)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/parser/qqmljsast.cpp
Lines: 393-403
100.000% (10/10)
74
QQmlJS::AST::FormalParameterList::length
Name: QQmlJS::AST::FormalParameterList::length
Prototype: int length()
Coverage:  91.667% (11/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/parser/qqmljsast_p.h
Lines: 2179-2194
 91.667% (11/12)
114
QQmlJS::AST::FormalParameterList::isSimpleParameterList
Name: QQmlJS::AST::FormalParameterList::isSimpleParameterList
Prototype: bool isSimpleParameterList()
Coverage:  87.500% (14/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/parser/qqmljsast_p.h
Lines: 2165-2177
 87.500% (14/16)
94
QQmlJS::AST::FormalParameterList::formals
Name: QQmlJS::AST::FormalParameterList::formals
Prototype: QStringList FormalParameterList::formals() const
Coverage:  90.000% (9/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/parser/qqmljsast.cpp
Lines: 976-993
 90.000% (9/10)
114
QQmlJS::AST::ArrayPattern::isValidArrayLiteral
Name: QQmlJS::AST::ArrayPattern::isValidArrayLiteral
Prototype: bool ArrayPattern::isValidArrayLiteral(SourceLocation *errorLocation) const
Coverage:  58.333% (7/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/parser/qqmljsast.cpp
Lines: 288-298
 58.333% (7/12)
74
QQmlInterceptorMetaObject::intercepts
Name: QQmlInterceptorMetaObject::intercepts
Prototype: bool intercepts(QQmlPropertyIndex propertyIndex) const
Coverage: 100.000% (14/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlvmemetaobject_p.h
Lines: 109-118
100.000% (14/14)
64
QQmlInterceptorMetaObject::get
Name: QQmlInterceptorMetaObject::get
Prototype: inline QQmlInterceptorMetaObject *QQmlInterceptorMetaObject::get(QObject *obj)
Coverage:  80.000% (8/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlvmemetaobject_p.h
Lines: 133-143
 80.000% (8/10)
54
QQmlInstantiatorPrivate::clear
Name: QQmlInstantiatorPrivate::clear
Prototype: void QQmlInstantiatorPrivate::clear()
Coverage:  80.000% (8/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmlinstantiator.cpp
Lines: 73-87
 80.000% (8/10)
104
QQmlInstantiationInterrupt::shouldInterrupt
Name: QQmlInstantiationInterrupt::shouldInterrupt
Prototype: bool QQmlInstantiationInterrupt::shouldInterrupt() const
Coverage:  80.000% (8/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlvme_p.h
Lines: 170-181
 80.000% (8/10)
74
QQmlIncubatorPrivate::forceCompletion
Name: QQmlIncubatorPrivate::forceCompletion
Prototype: void QQmlIncubatorPrivate::forceCompletion(QQmlInstantiationInterrupt &i)
Coverage:  66.667% (8/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlincubator.cpp
Lines: 260-268
 66.667% (8/12)
54
QQmlIncubatorPrivate::calculateStatus
Name: QQmlIncubatorPrivate::calculateStatus
Prototype: QQmlIncubator::Status QQmlIncubatorPrivate::calculateStatus() const
Coverage:  75.000% (9/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlincubator.cpp
Lines: 695-705
 75.000% (9/12)
74
QQmlImportsPrivate::getQmldirContent
Name: QQmlImportsPrivate::getQmldirContent
Prototype: bool QQmlImportsPrivate::getQmldirContent(const QString &qmldirIdentifier, const QString &uri, QQmlTypeLoaderQmldirContent *qmldir, QList<QQmlError> *errors)
Coverage:  90.000% (9/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlimport.cpp
Lines: 1203-1225
 90.000% (9/10)
134
QQmlImportInstance::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
QQmlImportInstance::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
QQmlImportDatabase::importPathList
Name: QQmlImportDatabase::importPathList
Prototype: QStringList QQmlImportDatabase::importPathList(PathType type) const
Coverage: 100.000% (12/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlimport.cpp
Lines: 1976-1989
100.000% (12/12)
84
QQmlGuardedContextData::setContextData
Name: QQmlGuardedContextData::setContextData
Prototype: void QQmlGuardedContextData::setContextData(QQmlContextData *contextData)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcontext_p.h
Lines: 272-285
100.000% (10/10)
94
QQmlGuard::setObject [qqmlguard_p.h #1]
Name: QQmlGuard::setObject [qqmlguard_p.h #1]
Prototype: template<class T> void QQmlGuard<T>::setObject(T *g)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlguard_p.h #1
Lines: 231-239
100.000% (10/10)
44
QQmlFileSelector::setSelector
Name: QQmlFileSelector::setSelector
Prototype: void QQmlFileSelector::setSelector(QFileSelector *selector)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlfileselector.cpp
Lines: 154-169
  0.000% (0/10)
94
QQmlFileNetworkReply::networkFinished
Name: QQmlFileNetworkReply::networkFinished
Prototype: void QQmlFileNetworkReply::networkFinished()
Coverage:  0.000% (0/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlfile.cpp
Lines: 166-202
  0.000% (0/11)
234
QQmlFile::status
Name: QQmlFile::status
Prototype: QQmlFile::Status QQmlFile::status() const
Coverage:  0.000% (0/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlfile.cpp
Lines: 272-284
  0.000% (0/12)
74
QQmlFile::load
Name: QQmlFile::load
Prototype: void QQmlFile::load(QQmlEngine *engine, const QUrl &url)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlfile.cpp
Lines: 314-342
  0.000% (0/10)
134
QQmlFile::load
Name: QQmlFile::load
Prototype: void QQmlFile::load(QQmlEngine *engine, const QString &url)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlfile.cpp
Lines: 344-376
  0.000% (0/10)
164
QQmlFile::isSynchronous
Name: QQmlFile::isSynchronous
Prototype: bool QQmlFile::isSynchronous(const QString &url)
Coverage:  0.000% (0/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlfile.cpp
Lines: 469-500
  0.000% (0/14)
124
QQmlFile::isLocalFile
Name: QQmlFile::isLocalFile
Prototype: bool QQmlFile::isLocalFile(const QString &url)
Coverage:  71.429% (10/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlfile.cpp
Lines: 534-564
 71.429% (10/14)
124
QQmlExpressionPrivate::v4value
Name: QQmlExpressionPrivate::v4value
Prototype: QV4::ReturnedValue QQmlExpressionPrivate::v4value(bool *isUndefined)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlexpression.cpp
Lines: 250-263
100.000% (10/10)
84
QQmlError::toString
Name: QQmlError::toString
Prototype: QString QQmlError::toString() const
Coverage: 100.000% (15/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlerror.cpp
Lines: 283-306
100.000% (15/15)
134
QQmlDesignerMetaObject::notifyPropertyChange
Name: QQmlDesignerMetaObject::notifyPropertyChange
Prototype: void QQmlDesignerMetaObject::notifyPropertyChange(int id)
Coverage:  40.000% (4/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/designer/qqmldesignermetaobject.cpp
Lines: 284-295
 40.000% (4/10)
64
QQmlDelegateModelItem::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
QQmlDelegateModelItem::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
QQmlDelegateModelItem::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
QQmlDelegateModelItem::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::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
QQmlDelegateModelGroup::setDefaultInclude
Name: QQmlDelegateModelGroup::setDefaultInclude
Prototype: void QQmlDelegateModelGroup::setDefaultInclude(bool include)
Coverage:  90.000% (9/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 2495-2509
 90.000% (9/10)
84
QQmlDelegateModelAttached::resetCurrentIndex
Name: QQmlDelegateModelAttached::resetCurrentIndex
Prototype: void QQmlDelegateModelAttached::resetCurrentIndex()
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 2170-2182
100.000% (10/10)
84
QQmlDelegateModelAttached::groups
Name: QQmlDelegateModelAttached::groups
Prototype: QStringList QQmlDelegateModelAttached::groups() const
Coverage:  80.000% (8/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 2205-2216
 80.000% (8/10)
74
QQmlDelegateModel::setModel
Name: QQmlDelegateModel::setModel
Prototype: void QQmlDelegateModel::setModel(const QVariant &model)
Coverage: 100.000% (12/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 377-395
100.000% (12/12)
114
QQmlDelegateModel::isDescendantOf
Name: QQmlDelegateModel::isDescendantOf
Prototype: bool QQmlDelegateModel::isDescendantOf(const QPersistentModelIndex& desc, const QList< QPersistentModelIndex >& parents) const
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 1648-1658
  0.000% (0/10)
54
QQmlDelegateModel::_q_rowsMoved
Name: QQmlDelegateModel::_q_rowsMoved
Prototype: void QQmlDelegateModel::_q_rowsMoved( const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationRow)
Coverage: 100.000% (12/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 1619-1632
100.000% (12/12)
84
QQmlDelegateModel::_q_rowsAboutToBeRemoved
Name: QQmlDelegateModel::_q_rowsAboutToBeRemoved
Prototype: void QQmlDelegateModel::_q_rowsAboutToBeRemoved(const QModelIndex &parent, int begin, int end)
Coverage:  81.250% (13/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 1592-1610
 81.250% (13/16)
134
QQmlDelegateModel::_q_itemsInserted
Name: QQmlDelegateModel::_q_itemsInserted
Prototype: void QQmlDelegateModel::_q_itemsInserted(int index, int count)
Coverage: 100.000% (12/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 1303-1323
100.000% (12/12)
134
QQmlDelayedCallQueue::DelayedFunctionCall::execute
Name: QQmlDelayedCallQueue::DelayedFunctionCall::execute
Prototype: void QQmlDelayedCallQueue::DelayedFunctionCall::execute(QV4::ExecutionEngine *engine) const
Coverage:  80.000% (16/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmldelayedcallqueue.cpp
Lines: 56-85
 80.000% (16/20)
194
QQmlDebugMessageClient::messageReceived
Name: QQmlDebugMessageClient::messageReceived
Prototype: void QQmlDebugMessageClient::messageReceived(const QByteArray &data)
Coverage:  70.000% (7/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/qqmldebugmessageclient.cpp
Lines: 61-88
 70.000% (7/10)
224
QQmlDebugConnection::waitForConnected
Name: QQmlDebugConnection::waitForConnected
Prototype: bool QQmlDebugConnection::waitForConnected(int msecs)
Coverage:  57.143% (8/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/qqmldebugconnection.cpp
Lines: 307-322
 57.143% (8/14)
114
QQmlDebugConnection::close
Name: QQmlDebugConnection::close
Prototype: void QQmlDebugConnection::close()
Coverage:  60.000% (6/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/qqmldebugconnection.cpp
Lines: 289-305
 60.000% (6/10)
104
QQmlDataBlob::setError
Name: QQmlDataBlob::setError
Prototype: void QQmlDataBlob::setError(const QList<QQmlError> &errors)
Coverage:  50.000% (5/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmltypeloader.cpp
Lines: 439-458
 50.000% (5/10)
114
QQmlDataBlob::addDependency
Name: QQmlDataBlob::addDependency
Prototype: void QQmlDataBlob::addDependency(QQmlDataBlob *blob)
Coverage:  64.706% (11/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmltypeloader.cpp
Lines: 499-518
 64.706% (11/17)
114
QQmlDataBlob::SourceCodeData::sourceTimeStamp
Name: QQmlDataBlob::SourceCodeData::sourceTimeStamp
Prototype: QDateTime QQmlDataBlob::SourceCodeData::sourceTimeStamp() const
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmltypeloader.cpp
Lines: 3199-3212
100.000% (10/10)
84
QQmlData::get
Name: QQmlData::get
Prototype: static QQmlData *get(const QObject *object, bool create = false)
Coverage:  75.000% (9/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmldata_p.h
Lines: 244-258
 75.000% (9/12)
94
QQmlDMObjectDataMetaObject::metaCall
Name: QQmlDMObjectDataMetaObject::metaCall
Prototype: int metaCall(QObject *o, QMetaObject::Call call, int id, void **arguments) override
Coverage:  77.778% (14/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/util/qqmladaptormodel.cpp
Lines: 811-830
 77.778% (14/18)
134
QQmlDMCachedModelData::setValue
Name: QQmlDMCachedModelData::setValue
Prototype: void QQmlDMCachedModelData::setValue(const QString &role, const QVariant &value)
Coverage:  80.000% (8/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/util/qqmladaptormodel.cpp
Lines: 316-327
 80.000% (8/10)
64
QQmlConnections::setTarget
Name: QQmlConnections::setTarget
Prototype: void QQmlConnections::setTarget(QObject *obj)
Coverage:  80.000% (8/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmlconnections.cpp
Lines: 165-183
 80.000% (8/10)
124
QQmlComponentPrivate::complete
Name: QQmlComponentPrivate::complete
Prototype: void QQmlComponentPrivate::complete(QQmlEnginePrivate *enginePriv, ConstructionState *state)
Coverage:  90.000% (9/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcomponent.cpp
Lines: 910-926
 90.000% (9/10)
84
QQmlComponent::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
QQmlBindingInstantiationContext::instantiatingPropertyCache
Name: QQmlBindingInstantiationContext::instantiatingPropertyCache
Prototype: QQmlRefPointer<QQmlPropertyCache> QQmlBindingInstantiationContext::instantiatingPropertyCache(QQmlEnginePrivate *enginePrivate) const
Coverage:  60.000% (6/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/compiler/qqmlpropertycachecreator.cpp
Lines: 71-81
 60.000% (6/10)
64
QQmlBinding::setEnabled
Name: QQmlBinding::setEnabled
Prototype: void QQmlBinding::setEnabled(bool e, QQmlPropertyData::WriteFlags flags)
Coverage:  92.857% (13/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlbinding.cpp
Lines: 537-551
 92.857% (13/14)
94
QQmlBindPrivate::validate
Name: QQmlBindPrivate::validate
Prototype: void QQmlBindPrivate::validate(QObject *binding) const
Coverage: 100.000% (14/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmlbind.cpp
Lines: 79-93
100.000% (14/14)
84
QQmlApplicationEnginePrivate::startLoad
Name: QQmlApplicationEnginePrivate::startLoad
Prototype: void QQmlApplicationEnginePrivate::startLoad(const QUrl &url, const QByteArray &data, bool dataFlag)
Coverage:  66.667% (6/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlapplicationengine.cpp
Lines: 105-122
 66.667% (6/9)
104
QQmlAnimationTimer::unregisterRunningAnimation
Name: QQmlAnimationTimer::unregisterRunningAnimation
Prototype: void QQmlAnimationTimer::unregisterRunningAnimation(QAbstractAnimationJob *animation)
Coverage: 100.000% (11/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/animations/qabstractanimationjob.cpp
Lines: 224-237
100.000% (11/11)
84
QQmlAnimationTimer::restartAnimationTimer
Name: QQmlAnimationTimer::restartAnimationTimer
Prototype: void QQmlAnimationTimer::restartAnimationTimer()
Coverage: 100.000% (12/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/animations/qabstractanimationjob.cpp
Lines: 133-141
100.000% (12/12)
64
QQmlAnimationTimer::registerAnimation
Name: QQmlAnimationTimer::registerAnimation
Prototype: void QQmlAnimationTimer::registerAnimation(QAbstractAnimationJob *animation, bool isTopLevel)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/animations/qabstractanimationjob.cpp
Lines: 170-185
100.000% (10/10)
104
QQmlAnimationTimer::closestPauseAnimationTimeToFinish
Name: QQmlAnimationTimer::closestPauseAnimationTimeToFinish
Prototype: int QQmlAnimationTimer::closestPauseAnimationTimeToFinish()
Coverage: 100.000% (11/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/animations/qabstractanimationjob.cpp
Lines: 239-255
100.000% (11/11)
104
QQDMIncubationTask::statusChanged
Name: QQDMIncubationTask::statusChanged
Prototype: void QQDMIncubationTask::statusChanged(Status status)
Coverage:  80.000% (8/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmldelegatemodel.cpp
Lines: 873-890
 80.000% (8/10)
124
QParallelAnimationGroupJob::updateDirection
Name: QParallelAnimationGroupJob::updateDirection
Prototype: void QParallelAnimationGroupJob::updateDirection(QAbstractAnimationJob::Direction direction)
Coverage:  41.667% (5/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/animations/qparallelanimationgroupjob.cpp
Lines: 187-204
 41.667% (5/12)
84
QParallelAnimationGroupJob::shouldAnimationStart
Name: QParallelAnimationGroupJob::shouldAnimationStart
Prototype: bool QParallelAnimationGroupJob::shouldAnimationStart(QAbstractAnimationJob *animation, bool startIfAtEnd) const
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/animations/qparallelanimationgroupjob.cpp
Lines: 156-169
100.000% (10/10)
84
QPacketProtocol::send
Name: QPacketProtocol::send
Prototype: void QPacketProtocol::send(const QByteArray &data)
Coverage:  41.667% (5/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/plugins/qmltooling/packetprotocol/qpacketprotocol.cpp
Lines: 140-161
 41.667% (5/12)
124
QObjectWrapper::getProperty
Name: QObjectWrapper::getProperty
Prototype: ReturnedValue QObjectWrapper::getProperty(ExecutionEngine *engine, QObject *object, int propertyIndex, bool captureRequired)
Coverage:  60.000% (6/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp
Lines: 336-354
 60.000% (6/10)
134
QObjectWrapper::create
Name: QObjectWrapper::create
Prototype: ReturnedValue QObjectWrapper::create(ExecutionEngine *engine, QObject *object)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp
Lines: 683-694
100.000% (10/10)
74
QObjectMethod::method_toString
Name: QObjectMethod::method_toString
Prototype: QV4::ReturnedValue QObjectMethod::method_toString(QV4::ExecutionEngine *engine) const
Coverage:  72.727% (8/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp
Lines: 1895-1915
 72.727% (8/11)
114
QJSValueIterator::name
Name: QJSValueIterator::name
Prototype: QString QJSValueIterator::name() const
Coverage:  83.333% (10/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/jsapi/qjsvalueiterator.cpp
Lines: 171-181
 83.333% (10/12)
104
Page:<>1
McCabe - Cyclomatic Complexity: 560
...10
McCabe - Cyclomatic Complexity: 8
...20
McCabe - Cyclomatic Complexity: 5
...22
McCabe - Cyclomatic Complexity: 4
23
McCabe - Cyclomatic Complexity: 4
24
McCabe - Cyclomatic Complexity: 4
25
McCabe - Cyclomatic Complexity: 4
2627
McCabe - Cyclomatic Complexity: 4
28
McCabe - Cyclomatic Complexity: 3
29
McCabe - Cyclomatic Complexity: 3
30
McCabe - Cyclomatic Complexity: 3
...40
McCabe - Cyclomatic Complexity: 3
...50
McCabe - Cyclomatic Complexity: 2
...100
McCabe - Cyclomatic Complexity: 1
...200
McCabe - Cyclomatic Complexity: 1
...202
McCabe - Cyclomatic Complexity: 1

Generated by Squish Coco 4.2.0