OpenCoverage

Qt Quick Test Coverage

Function Tree

Path:<top>::QSGTextMaskMaterial
FunctionCondition %▴eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
compare
Name: QSGTextMaskMaterial::compare
Prototype: int QSGTextMaskMaterial::compare(const QSGMaterial *o) const
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp
Lines: 592-599
  0.000% (0/4)
52
setColor
Name: QSGTextMaskMaterial::setColor
Prototype: void setColor(const QVector4D &color)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultglyphnode_p_p.h
Lines: 79-79
  0.000% (0/1)
11
createShader
Name: QSGTextMaskMaterial::createShader
Prototype: QSGMaterialShader *QSGTextMaskMaterial::createShader() const
Coverage:  28.571% (2/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp
Lines: 566-577
 28.571% (2/7)
45
type
Name: QSGTextMaskMaterial::type
Prototype: QSGMaterialType *QSGTextMaskMaterial::type() const
Coverage:  28.571% (2/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp
Lines: 547-559
 28.571% (2/7)
45
init
Name: QSGTextMaskMaterial::init
Prototype: void QSGTextMaskMaterial::init(QFontEngine::GlyphFormat glyphFormat)
Coverage:  64.706% (11/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp
Lines: 415-454
 64.706% (11/17)
215
ensureUpToDate
Name: QSGTextMaskMaterial::ensureUpToDate
Prototype: bool QSGTextMaskMaterial::ensureUpToDate()
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp
Lines: 601-618
 71.429% (5/7)
113
populate
Name: QSGTextMaskMaterial::populate
Prototype: void QSGTextMaskMaterial::populate(const QPointF &p, const QVector<quint32> &glyphIndexes, const QVector<QPointF> &glyphPositions, QSGGeometry *geometry, QRectF *boundingRect, QPointF *baseLine, const QMargins &margins)
Coverage:  84.615% (11/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp
Lines: 456-545
 84.615% (11/13)
625
QSGTextMaskMaterial
Name: QSGTextMaskMaterial::QSGTextMaskMaterial
Prototype: QSGTextMaskMaterial::QSGTextMaskMaterial(const QRawFont &font, QFontEngine::GlyphFormat glyphFormat)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp
Lines: 402-408
100.000% (1/1)
11
cacheTextureHeight
Name: QSGTextMaskMaterial::cacheTextureHeight
Prototype: int QSGTextMaskMaterial::cacheTextureHeight() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp
Lines: 625-628
100.000% (1/1)
11
cacheTextureWidth
Name: QSGTextMaskMaterial::cacheTextureWidth
Prototype: int QSGTextMaskMaterial::cacheTextureWidth() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp
Lines: 620-623
100.000% (1/1)
11
color
Name: QSGTextMaskMaterial::color
Prototype: const QVector4D &color() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultglyphnode_p_p.h
Lines: 80-80
100.000% (1/1)
11
glyphCache
Name: QSGTextMaskMaterial::glyphCache
Prototype: QOpenGLTextureGlyphCache *QSGTextMaskMaterial::glyphCache() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp
Lines: 561-564
100.000% (1/1)
11
setColor
Name: QSGTextMaskMaterial::setColor
Prototype: void setColor(const QColor &c)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultglyphnode_p_p.h
Lines: 78-78
100.000% (1/1)
11
texture
Name: QSGTextMaskMaterial::texture
Prototype: QSGTexture *texture() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultglyphnode_p_p.h
Lines: 82-82
100.000% (1/1)
11
~QSGTextMaskMaterial
Name: QSGTextMaskMaterial::~QSGTextMaskMaterial
Prototype: QSGTextMaskMaterial::~QSGTextMaskMaterial()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp
Lines: 410-413
100.000% (1/1)
11

Generated by Squish Coco 4.2.0