OpenCoverage

Qt Quick Test Coverage

Function Tree

Path:<top>::QQuickOpenGLShaderEffectCommon
Functionâ–´Condition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
QQuickOpenGLShaderEffectCommon
Name: QQuickOpenGLShaderEffectCommon::QQuickOpenGLShaderEffectCommon
Prototype: QQuickOpenGLShaderEffectCommon(QObject *host, std::function<void(int)> mappedPropertyChanged)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickopenglshadereffect_p.h
Lines: 86-88
100.000% (1/1)
11
clearSignalMappers
Name: QQuickOpenGLShaderEffectCommon::clearSignalMappers
Prototype: void QQuickOpenGLShaderEffectCommon::clearSignalMappers(int shader)
Coverage: 100.000% (5/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickopenglshadereffect.cpp
Lines: 613-620
100.000% (5/5)
43
connectPropertySignals
Name: QQuickOpenGLShaderEffectCommon::connectPropertySignals
Prototype: void QQuickOpenGLShaderEffectCommon::connectPropertySignals(QQuickItem *item, const QMetaObject *itemMetaObject, Key::ShaderType shaderType)
Coverage:  75.758% (25/33)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickopenglshadereffect.cpp
Lines: 244-284
 75.758% (25/33)
2610
disconnectPropertySignals
Name: QQuickOpenGLShaderEffectCommon::disconnectPropertySignals
Prototype: void QQuickOpenGLShaderEffectCommon::disconnectPropertySignals(QQuickItem *item, Key::ShaderType shaderType)
Coverage:  94.444% (17/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickopenglshadereffect.cpp
Lines: 224-242
 94.444% (17/18)
136
lookThroughShaderCode
Name: QQuickOpenGLShaderEffectCommon::lookThroughShaderCode
Coverage: 100.000% (1/1)
100.000% (1/1)
11
lookThroughShaderCode
Name: QQuickOpenGLShaderEffectCommon::lookThroughShaderCode
Prototype: void QQuickOpenGLShaderEffectCommon::lookThroughShaderCode(QQuickItem *item, const QMetaObject *itemMetaObject, Key::ShaderType shaderType, const QByteArray &code)
Coverage:  79.545% (35/44)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickopenglshadereffect.cpp
Lines: 315-373
 79.545% (35/44)
4112
propertyChanged
Name: QQuickOpenGLShaderEffectCommon::propertyChanged
Prototype: void QQuickOpenGLShaderEffectCommon::propertyChanged(QQuickItem *item, const QMetaObject *itemMetaObject, int mappedId, bool *textureProviderChanged)
Coverage:  55.556% (15/27)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickopenglshadereffect.cpp
Lines: 571-611
 55.556% (15/27)
219
sourceDestroyed
Name: QQuickOpenGLShaderEffectCommon::sourceDestroyed
Prototype: void QQuickOpenGLShaderEffectCommon::sourceDestroyed(QObject *object)
Coverage:  94.118% (16/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickopenglshadereffect.cpp
Lines: 544-555
 94.118% (16/17)
65
updateMaterial
Name: QQuickOpenGLShaderEffectCommon::updateMaterial
Prototype: void QQuickOpenGLShaderEffectCommon::updateMaterial(QQuickOpenGLShaderEffectNode *node, QQuickOpenGLShaderEffectMaterial *material, bool updateUniforms, bool updateUniformValues, bool updateTextureProviders)
Coverage:  77.049% (47/61)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickopenglshadereffect.cpp
Lines: 442-514
 77.049% (47/61)
5718
updateParseLog
Name: QQuickOpenGLShaderEffectCommon::updateParseLog
Prototype: void QQuickOpenGLShaderEffectCommon::updateParseLog(bool ignoreAttributes)
Coverage: 100.000% (25/25)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickopenglshadereffect.cpp
Lines: 286-313
100.000% (25/25)
219
updateShader
Name: QQuickOpenGLShaderEffectCommon::updateShader
Coverage: 100.000% (1/1)
100.000% (1/1)
11
updateShader
Name: QQuickOpenGLShaderEffectCommon::updateShader
Prototype: void QQuickOpenGLShaderEffectCommon::updateShader(QQuickItem *item, const QMetaObject *itemMetaObject, Key::ShaderType shaderType)
Coverage:  50.000% (16/32)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickopenglshadereffect.cpp
Lines: 375-440
 50.000% (16/32)
4410
updateWindow
Name: QQuickOpenGLShaderEffectCommon::updateWindow
Prototype: void QQuickOpenGLShaderEffectCommon::updateWindow(QQuickWindow *window)
Coverage:  93.750% (30/32)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickopenglshadereffect.cpp
Lines: 516-542
 93.750% (30/32)
1510
~QQuickOpenGLShaderEffectCommon
Name: QQuickOpenGLShaderEffectCommon::~QQuickOpenGLShaderEffectCommon
Prototype: QQuickOpenGLShaderEffectCommon::~QQuickOpenGLShaderEffectCommon()
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickopenglshadereffect.cpp
Lines: 218-222
100.000% (4/4)
22

Generated by Squish Coco 4.2.0