OpenCoverage

Qt Quick Test Coverage

Function Tree

Path:<top>::QSGDefaultRenderContext
FunctionCondition %eLOC - Effective Lines of Codeā–“McCabe - Cyclomatic Complexity
createRenderer
Name: QSGDefaultRenderContext::createRenderer
Prototype: QSGRenderer *QSGDefaultRenderContext::createRenderer()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultrendercontext.cpp
Lines: 243-246
100.000% (1/1)
11
from
Name: QSGDefaultRenderContext::from
Prototype: QSGDefaultRenderContext *QSGDefaultRenderContext::from(QOpenGLContext *context)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultrendercontext.cpp
Lines: 316-319
100.000% (1/1)
11
hasBrokenIndexBufferObjects
Name: QSGDefaultRenderContext::hasBrokenIndexBufferObjects
Prototype: bool hasBrokenIndexBufferObjects() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultrendercontext_p.h
Lines: 96-96
100.000% (1/1)
11
isValid
Name: QSGDefaultRenderContext::isValid
Prototype: bool isValid() const override
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultrendercontext_p.h
Lines: 74-74
100.000% (1/1)
11
maxTextureSize
Name: QSGDefaultRenderContext::maxTextureSize
Prototype: int maxTextureSize() const override
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultrendercontext_p.h
Lines: 97-97
100.000% (1/1)
11
openglContext
Name: QSGDefaultRenderContext::openglContext
Prototype: QOpenGLContext *openglContext() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultrendercontext_p.h
Lines: 73-73
100.000% (1/1)
11
separateIndexBuffer
Name: QSGDefaultRenderContext::separateIndexBuffer
Prototype: bool QSGDefaultRenderContext::separateIndexBuffer() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultrendercontext.cpp
Lines: 321-330
100.000% (1/1)
11
initializeShader
Name: QSGDefaultRenderContext::initializeShader
Prototype: void QSGDefaultRenderContext::initializeShader(QSGMaterialShader *shader)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultrendercontext.cpp
Lines: 304-308
100.000% (1/1)
21
setAttachToGraphicsContext
Name: QSGDefaultRenderContext::setAttachToGraphicsContext
Prototype: void QSGDefaultRenderContext::setAttachToGraphicsContext(bool attach)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultrendercontext.cpp
Lines: 310-314
  0.000% (0/1)
21
QSGDefaultRenderContext
Name: QSGDefaultRenderContext::QSGDefaultRenderContext
Prototype: QSGDefaultRenderContext::QSGDefaultRenderContext(QSGContext *context)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultrendercontext.cpp
Lines: 55-66
100.000% (1/1)
31
compressedTextureForFactory
Name: QSGDefaultRenderContext::compressedTextureForFactory
Prototype: QSGTexture *QSGDefaultRenderContext::compressedTextureForFactory(const QSGCompressedTextureFactory *factory) const
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultrendercontext.cpp
Lines: 248-254
  0.000% (0/6)
32
depthStencilBufferManager
Name: QSGDefaultRenderContext::depthStencilBufferManager
Prototype: QSGDepthStencilBufferManager *QSGDefaultRenderContext::depthStencilBufferManager()
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultrendercontext.cpp
Lines: 212-219
 71.429% (5/7)
53
renderNextFrame
Name: QSGDefaultRenderContext::renderNextFrame
Prototype: void QSGDefaultRenderContext::renderNextFrame(QSGRenderer *renderer, uint fboId)
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultrendercontext.cpp
Lines: 177-186
 71.429% (5/7)
53
distanceFieldGlyphCache
Name: QSGDefaultRenderContext::distanceFieldGlyphCache
Prototype: QSGDistanceFieldGlyphCache *QSGDefaultRenderContext::distanceFieldGlyphCache(const QRawFont &font)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultrendercontext.cpp
Lines: 332-342
100.000% (4/4)
62
createTexture
Name: QSGDefaultRenderContext::createTexture
Prototype: QSGTexture *QSGDefaultRenderContext::createTexture(const QImage &image, uint flags) const
Coverage:  72.222% (13/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultrendercontext.cpp
Lines: 221-241
 72.222% (13/18)
124
depthStencilBufferForFbo
Name: QSGDefaultRenderContext::depthStencilBufferForFbo
Prototype: QSharedPointer<QSGDepthStencilBuffer> QSGDefaultRenderContext::depthStencilBufferForFbo(QOpenGLFramebufferObject *fbo)
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultrendercontext.cpp
Lines: 191-206
 71.429% (5/7)
123
fontKey
Name: QSGDefaultRenderContext::fontKey
Prototype: QString QSGDefaultRenderContext::fontKey(const QRawFont &font)
Coverage:  80.000% (8/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultrendercontext.cpp
Lines: 284-302
 80.000% (8/10)
144
compileShader
Name: QSGDefaultRenderContext::compileShader
Prototype: void QSGDefaultRenderContext::compileShader(QSGMaterialShader *shader, QSGMaterial *material, const char *vertexCode, const char *fragmentCode)
Coverage:  66.667% (6/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultrendercontext.cpp
Lines: 266-282
 66.667% (6/9)
203
invalidate
Name: QSGDefaultRenderContext::invalidate
Prototype: void QSGDefaultRenderContext::invalidate()
Coverage:  75.000% (12/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultrendercontext.cpp
Lines: 116-173
 75.000% (12/16)
256
initialize
Name: QSGDefaultRenderContext::initialize
Prototype: void QSGDefaultRenderContext::initialize(void *context)
Coverage:  56.410% (22/39)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultrendercontext.cpp
Lines: 72-113
 56.410% (22/39)
409

Generated by Squish Coco 4.2.0