OpenCoverage

Qt Quick Test Coverage

Function Tree

Path:<top>::QSGMaterialShader
FunctionCondition %eLOC - Effective Lines of Codeā–“McCabe - Cyclomatic Complexity
d_func
Name: QSGMaterialShader::d_func
Prototype: inline QSGMaterialShaderPrivate* d_func()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/coreapi/qsgmaterial.h
Lines: 108-108
100.000% (1/1)
11
d_func
Name: QSGMaterialShader::d_func
Prototype: inline const QSGMaterialShaderPrivate* d_func() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/coreapi/qsgmaterial.h
Lines: 108-108
100.000% (1/1)
11
program
Name: QSGMaterialShader::program
Prototype: inline QOpenGLShaderProgram *program()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/coreapi/qsgmaterial.h
Lines: 105-105
100.000% (1/1)
11
QSGMaterialShader
Name: QSGMaterialShader::QSGMaterialShader
Prototype: QSGMaterialShader::QSGMaterialShader()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/coreapi/qsgmaterial.cpp
Lines: 199-202
100.000% (1/1)
21
QSGMaterialShader
Name: QSGMaterialShader::QSGMaterialShader
Prototype: QSGMaterialShader::QSGMaterialShader(QSGMaterialShaderPrivate &dd)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/coreapi/qsgmaterial.cpp
Lines: 207-210
100.000% (1/1)
21
fragmentShader
Name: QSGMaterialShader::fragmentShader
Prototype: const char *QSGMaterialShader::fragmentShader() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/coreapi/qsgmaterial.cpp
Lines: 254-258
100.000% (1/1)
21
setShaderSourceFile
Name: QSGMaterialShader::setShaderSourceFile
Prototype: void QSGMaterialShader::setShaderSourceFile(QOpenGLShader::ShaderType type, const QString &sourceFile)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/coreapi/qsgmaterial.cpp
Lines: 335-339
100.000% (1/1)
21
setShaderSourceFiles
Name: QSGMaterialShader::setShaderSourceFiles
Prototype: void QSGMaterialShader::setShaderSourceFiles(QOpenGLShader::ShaderType type, const QStringList &sourceFiles)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/coreapi/qsgmaterial.cpp
Lines: 348-352
  0.000% (0/1)
21
vertexShader
Name: QSGMaterialShader::vertexShader
Prototype: const char *QSGMaterialShader::vertexShader() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/coreapi/qsgmaterial.cpp
Lines: 239-243
100.000% (1/1)
21
compile
Name: QSGMaterialShader::compile
Prototype: void QSGMaterialShader::compile()
Coverage:  61.538% (8/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/coreapi/qsgmaterial.cpp
Lines: 363-397
 61.538% (8/13)
195
RenderState
Name: QSGMaterialShader::RenderState
Coverage:  56.250% (9/16)
 56.250% (9/16)
2414

Generated by Squish Coco 4.2.0