OpenCoverage

Qt Quick Test Coverage

Function Tree

Path:<top>::QSGPlainTexture
FunctionCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexityâ–´
QSGPlainTexture
Name: QSGPlainTexture::QSGPlainTexture
Prototype: QSGPlainTexture::QSGPlainTexture()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/util/qsgtexture.cpp
Lines: 641-651
100.000% (1/1)
21
bind
Name: QSGPlainTexture::bind
Coverage:  0.000% (0/1)
  0.000% (0/1)
01
fromImage
Name: QSGPlainTexture::fromImage
Prototype: static QSGPlainTexture *fromImage(const QImage &image)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/util/qsgtexture_p.h
Lines: 106-110
100.000% (1/1)
31
hasAlphaChannel
Name: QSGPlainTexture::hasAlphaChannel
Prototype: bool hasAlphaChannel() const override
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/util/qsgtexture_p.h
Lines: 97-97
100.000% (1/1)
11
hasMipmaps
Name: QSGPlainTexture::hasMipmaps
Prototype: bool hasMipmaps() const override
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/util/qsgtexture_p.h
Lines: 99-99
100.000% (1/1)
11
image
Name: QSGPlainTexture::image
Prototype: const QImage &image()
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/util/qsgtexture_p.h
Lines: 102-102
  0.000% (0/1)
11
ownsTexture
Name: QSGPlainTexture::ownsTexture
Prototype: bool ownsTexture() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/util/qsgtexture_p.h
Lines: 89-89
  0.000% (0/1)
11
setHasAlphaChannel
Name: QSGPlainTexture::setHasAlphaChannel
Prototype: void setHasAlphaChannel(bool alpha)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/util/qsgtexture_p.h
Lines: 96-96
100.000% (1/1)
11
setImage
Name: QSGPlainTexture::setImage
Prototype: void QSGPlainTexture::setImage(const QImage &image)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/util/qsgtexture.cpp
Lines: 673-681
100.000% (1/1)
61
setOwnsTexture
Name: QSGPlainTexture::setOwnsTexture
Prototype: void setOwnsTexture(bool owns)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/util/qsgtexture_p.h
Lines: 88-88
100.000% (1/1)
11
setTextureSize
Name: QSGPlainTexture::setTextureSize
Prototype: void setTextureSize(const QSize &size)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/util/qsgtexture_p.h
Lines: 93-93
100.000% (1/1)
11
textureSize
Name: QSGPlainTexture::textureSize
Prototype: QSize textureSize() const override
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/util/qsgtexture_p.h
Lines: 94-94
100.000% (1/1)
11
setTextureId
Name: QSGPlainTexture::setTextureId
Prototype: void QSGPlainTexture::setTextureId(int id)
Coverage:  33.333% (2/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/util/qsgtexture.cpp
Lines: 701-713
 33.333% (2/6)
72
~QSGPlainTexture
Name: QSGPlainTexture::~QSGPlainTexture
Prototype: QSGPlainTexture::~QSGPlainTexture()
Coverage:  87.500% (7/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/util/qsgtexture.cpp
Lines: 654-660
 87.500% (7/8)
22
textureId
Name: QSGPlainTexture::textureId
Prototype: int QSGPlainTexture::textureId() const
Coverage:  80.000% (8/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/util/qsgtexture.cpp
Lines: 683-699
 80.000% (8/10)
74
bind
Name: QSGPlainTexture::bind
Prototype: void QSGPlainTexture::bind()
Coverage:  47.059% (56/119)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/util/qsgtexture.cpp
Lines: 715-891
 47.059% (56/119)
17433

Generated by Squish Coco 4.2.0