OpenCoverage

Qt Quick Test Coverage

Function Tree

Path:<top>::Context
FunctionCondition %eLOC - Effective Lines of Codeā–“McCabe - Cyclomatic Complexity
emitBlockFooter
Name: Context::emitBlockFooter
Prototype: void Context::emitBlockFooter(Codegen *codegen)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/compiler/qv4compilercontext.cpp
Lines: 258-273
100.000% (7/7)
73
addLocalVar
Name: Context::addLocalVar
Prototype: bool Context::addLocalVar(const QString &name, Context::MemberType type, VariableScope scope, FunctionExpression *function)
Coverage: 100.000% (35/35)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/compiler/qv4compilercontext.cpp
Lines: 74-107
100.000% (35/35)
229
setupFunctionIndices
Name: Context::setupFunctionIndices
Prototype: void Context::setupFunctionIndices(Moth::BytecodeGenerator *bytecodeGenerator)
Coverage: 100.000% (33/33)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/compiler/qv4compilercontext.cpp
Lines: 275-320
100.000% (33/33)
2613
resolveName
Name: Context::resolveName
Prototype: Context::ResolvedName Context::resolveName(const QString &name)
Coverage:  95.122% (39/41)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/compiler/qv4compilercontext.cpp
Lines: 109-165
 95.122% (39/41)
4011
emitBlockHeader
Name: Context::emitBlockHeader
Prototype: void Context::emitBlockHeader(Codegen *codegen)
Coverage:  98.462% (64/65)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/compiler/qv4compilercontext.cpp
Lines: 167-256
 98.462% (64/65)
5817

Generated by Squish Coco 4.2.0