OpenCoverage

Qt Quick Test Coverage

Function Tree

Path:<top>::QObjectMethod
FunctionCondition %▾eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
virtualCall
Name: QObjectMethod::virtualCall
Prototype: ReturnedValue QObjectMethod::virtualCall(const FunctionObject *m, const Value *thisObject, const Value *argv, int argc)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp
Lines: 1936-1940
100.000% (1/1)
21
create
Name: QObjectMethod::create
Prototype: ReturnedValue QObjectMethod::create(ExecutionContext *scope, const QQmlValueTypeWrapper *valueType, int index)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp
Lines: 1873-1881
100.000% (1/1)
61
method_destroy
Name: QObjectMethod::method_destroy
Prototype: QV4::ReturnedValue QObjectMethod::method_destroy(QV4::ExecutionEngine *engine, const Value *args, int argc) const
Coverage:  86.667% (13/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp
Lines: 1917-1934
 86.667% (13/15)
115
extractQtMethod
Name: QObjectMethod::extractQtMethod
Prototype: QPair<QObject *, int> QObjectMethod::extractQtMethod(const QV4::FunctionObject *function)
Coverage:  85.714% (6/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp
Lines: 96-107
 85.714% (6/7)
73
callInternal
Name: QObjectMethod::callInternal
Prototype: ReturnedValue QObjectMethod::callInternal(const Value *thisObject, const Value *argv, int argc) const
Coverage:  77.143% (27/35)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp
Lines: 1942-2006
 77.143% (27/35)
4212
create
Name: QObjectMethod::create
Prototype: ReturnedValue QObjectMethod::create(ExecutionContext *scope, QObject *object, int index)
Coverage:  75.000% (3/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp
Lines: 1860-1871
 75.000% (3/4)
72
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

Generated by Squish Coco 4.2.0