| Functionâ–´ | Condition % | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexity |
Glyph| Name: | QFontEngineFT::Glyph | | Coverage: | 100.000% (1/1) |
| | 1 | 1 |
QFontEngineFT| Name: | QFontEngineFT::QFontEngineFT | | Prototype: | QFontEngineFT::QFontEngineFT(const QFontDef &fd) | | Coverage: | 40.000% (2/5) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 641-669 |
| | 23 | 1 |
QGlyphSet| Name: | QFontEngineFT::QGlyphSet | | Coverage: | 65.517% (19/29) |
| | 27 | 13 |
addGlyphsToPath| Name: | QFontEngineFT::addGlyphsToPath | | Prototype: | void QFontEngineFT::addGlyphsToPath(glyph_t *glyphs, QFixedPoint *positions, int numGlyphs, QPainterPath *path, QTextItem::RenderFlags) | | Coverage: | 53.846% (7/13) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1429-1449 |
| | 13 | 5 |
addOutlineToPath| Name: | QFontEngineFT::addOutlineToPath | | Prototype: | void QFontEngineFT::addOutlineToPath(qreal x, qreal y, const QGlyphLayout &glyphs, QPainterPath *path, QTextItem::RenderFlags flags) | | Coverage: | 30.000% (3/10) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1405-1427 |
| | 15 | 4 |
alphaMapBoundingBox| Name: | QFontEngineFT::alphaMapBoundingBox | | Prototype: | glyph_metrics_t QFontEngineFT::alphaMapBoundingBox(glyph_t glyph, QFixed subPixelPosition, const QTransform &matrix, QFontEngine::GlyphFormat format) | | Coverage: | 40.000% (4/10) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1687-1715 |
| | 22 | 3 |
alphaMapForGlyph| Name: | QFontEngineFT::alphaMapForGlyph | | Prototype: | QImage QFontEngineFT::alphaMapForGlyph(glyph_t g, QFixed subPixelPosition) | | Coverage: | 0.000% (0/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1824-1827 |
| | 1 | 1 |
alphaMapForGlyph| Name: | QFontEngineFT::alphaMapForGlyph | | Prototype: | QImage QFontEngineFT::alphaMapForGlyph(glyph_t g, QFixed subPixelPosition, const QTransform &t) | | Coverage: | 36.364% (4/11) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1829-1845 |
| | 9 | 3 |
alphaRGBMapForGlyph| Name: | QFontEngineFT::alphaRGBMapForGlyph | | Prototype: | QImage QFontEngineFT::alphaRGBMapForGlyph(glyph_t g, QFixed subPixelPosition, const QTransform &t) | | Coverage: | 0.000% (0/12) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1847-1866 |
| | 11 | 4 |
ascent| Name: | QFontEngineFT::ascent | | Prototype: | QFixed QFontEngineFT::ascent() const | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1238-1241 |
| | 1 | 1 |
averageCharWidth| Name: | QFontEngineFT::averageCharWidth | | Prototype: | QFixed QFontEngineFT::averageCharWidth() const | | Coverage: | 50.000% (3/6) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1265-1275 |
| | 7 | 2 |
boundingBox| Name: | QFontEngineFT::boundingBox | | Prototype: | glyph_metrics_t QFontEngineFT::boundingBox(const QGlyphLayout &glyphs) | | Coverage: | 39.130% (9/23) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1594-1644 |
| | 38 | 7 |
boundingBox| Name: | QFontEngineFT::boundingBox | | Prototype: | glyph_metrics_t QFontEngineFT::boundingBox(glyph_t glyph) | | Coverage: | 57.143% (12/21) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1646-1680 |
| | 28 | 6 |
boundingBox| Name: | QFontEngineFT::boundingBox | | Prototype: | glyph_metrics_t QFontEngineFT::boundingBox(glyph_t glyph, const QTransform &matrix) | | Coverage: | 0.000% (0/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1682-1685 |
| | 1 | 1 |
cloneWithSize| Name: | QFontEngineFT::cloneWithSize | | Prototype: | QFontEngine *QFontEngineFT::cloneWithSize(qreal pixelSize) const | | Coverage: | 50.000% (2/4) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 2008-2019 |
| | 7 | 2 |
descent| Name: | QFontEngineFT::descent | | Prototype: | QFixed QFontEngineFT::descent() const | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1243-1246 |
| | 1 | 1 |
doKerning| Name: | QFontEngineFT::doKerning | | Prototype: | void QFontEngineFT::doKerning(QGlyphLayout *g, QFontEngine::ShaperFlags flags) const | | Coverage: | 53.846% (7/13) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1292-1312 |
| | 12 | 4 |
emSquareSize| Name: | QFontEngineFT::emSquareSize | | Prototype: | QFixed QFontEngineFT::emSquareSize() const | | Coverage: | 50.000% (2/4) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1213-1219 |
| | 3 | 2 |
faceId| Name: | QFontEngineFT::faceId | | Prototype: | QFontEngine::FaceId QFontEngineFT::faceId() const | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1198-1201 |
| | 1 | 1 |
getPointInOutline| Name: | QFontEngineFT::getPointInOutline | | Prototype: | int QFontEngineFT::getPointInOutline(glyph_t glyph, int flags, quint32 point, QFixed *xpos, QFixed *ypos, quint32 *nPoints) | | Coverage: | 0.000% (0/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1975-1984 |
| | 7 | 1 |
getSfntTableData| Name: | QFontEngineFT::getSfntTableData | | Prototype: | bool QFontEngineFT::getSfntTableData(uint tag, uchar *buffer, uint *length) const | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1221-1224 |
| | 1 | 1 |
getUnscaledGlyph| Name: | QFontEngineFT::getUnscaledGlyph | | Prototype: | void QFontEngineFT::getUnscaledGlyph(glyph_t glyph, QPainterPath *path, glyph_metrics_t *metrics) | | Coverage: | 0.000% (0/5) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1370-1398 |
| | 20 | 2 |
glyphCount| Name: | QFontEngineFT::glyphCount | | Prototype: | int QFontEngineFT::glyphCount() const | | Coverage: | 0.000% (0/4) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1873-1882 |
| | 6 | 2 |
glyphIndex| Name: | QFontEngineFT::glyphIndex | | Prototype: | glyph_t QFontEngineFT::glyphIndex(uint ucs4) const | | Coverage: | 85.000% (17/20) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1451-1479 |
| | 14 | 6 |
handle| Name: | QFontEngineFT::handle | | Prototype: | Qt::HANDLE QFontEngineFT::handle() const | | Coverage: | 0.000% (0/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 2021-2024 |
| | 1 | 1 |
init| Name: | QFontEngineFT::init | | Prototype: | bool QFontEngineFT::init(FaceId faceId, bool antialias, GlyphFormat format, const QByteArray &fontData) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 677-681 |
| | 1 | 1 |
init| Name: | QFontEngineFT::init | | Prototype: | bool QFontEngineFT::init(FaceId faceId, bool antialias, GlyphFormat format, QFreetypeFace *freetypeFace) | | Coverage: | 49.180% (30/61) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 683-785 |
| | 60 | 16 |
initFromFontEngine| Name: | QFontEngineFT::initFromFontEngine | | Prototype: | bool QFontEngineFT::initFromFontEngine(const QFontEngineFT *fe) | | Coverage: | 50.000% (2/4) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1986-2006 |
| | 13 | 2 |
leading| Name: | QFontEngineFT::leading | | Prototype: | QFixed QFontEngineFT::leading() const | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1248-1251 |
| | 1 | 1 |
lineThickness| Name: | QFontEngineFT::lineThickness | | Prototype: | QFixed QFontEngineFT::lineThickness() const | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1282-1285 |
| | 1 | 1 |
loadFlags| Name: | QFontEngineFT::loadFlags | | Prototype: | int QFontEngineFT::loadFlags(QGlyphSet *set, GlyphFormat format, int flags, bool &hsubpixel, int &vfactor) const | | Coverage: | 46.512% (20/43) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 810-844 |
| | 23 | 10 |
loadGlyph| Name: | QFontEngineFT::loadGlyph | | Prototype: | QFontEngineFT::Glyph *QFontEngineFT::loadGlyph(QGlyphSet *set, uint glyph, QFixed subPixelPosition, GlyphFormat format, bool fetchMetricsOnly) const | | Coverage: | 53.498% (130/243) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 857-1196 |
| | 250 | 59 |
loadGlyphFor| Name: | QFontEngineFT::loadGlyphFor | | Prototype: | QFontEngineFT::Glyph *QFontEngineFT::loadGlyphFor(glyph_t g, QFixed subPixelPosition, GlyphFormat format, const QTransform &t, bool fetchBoundingBox) | | Coverage: | 73.077% (19/26) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1796-1822 |
| | 16 | 4 |
loadGlyphSet| Name: | QFontEngineFT::loadGlyphSet | | Prototype: | QFontEngineFT::QGlyphSet *QFontEngineFT::loadGlyphSet(const QTransform &matrix) | | Coverage: | 70.000% (21/30) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1326-1368 |
| | 25 | 7 |
lockFace| Name: | QFontEngineFT::lockFace | | Prototype: | FT_Face QFontEngineFT::lockFace(Scaling scale) const | | Coverage: | 77.778% (14/18) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1884-1906 |
| | 17 | 4 |
lockedAlphaMapForGlyph| Name: | QFontEngineFT::lockedAlphaMapForGlyph | | Prototype: | QImage *QFontEngineFT::lockedAlphaMapForGlyph(glyph_t glyphIndex, QFixed subPixelPosition, QFontEngine::GlyphFormat neededFormat, const QTransform &t, QPoint *offset) | | Coverage: | 64.706% (22/34) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1747-1783 |
| | 22 | 8 |
maxCharWidth| Name: | QFontEngineFT::maxCharWidth | | Prototype: | qreal QFontEngineFT::maxCharWidth() const | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1277-1280 |
| | 1 | 1 |
non_locked_face| Name: | QFontEngineFT::non_locked_face | | Prototype: | FT_Face QFontEngineFT::non_locked_face() const | | Coverage: | 0.000% (0/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1913-1916 |
| | 1 | 1 |
properties| Name: | QFontEngineFT::properties | | Prototype: | QFontEngine::Properties QFontEngineFT::properties() const | | Coverage: | 0.000% (0/4) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1203-1211 |
| | 4 | 2 |
recalcAdvances| Name: | QFontEngineFT::recalcAdvances | | Prototype: | void QFontEngineFT::recalcAdvances(QGlyphLayout *glyphs, QFontEngine::ShaperFlags flags) const | | Coverage: | 80.000% (32/40) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1562-1592 |
| | 21 | 9 |
removeGlyphFromCache| Name: | QFontEngineFT::removeGlyphFromCache | | Prototype: | void QFontEngineFT::removeGlyphFromCache(glyph_t glyph) | | Coverage: | 0.000% (0/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1868-1871 |
| | 1 | 1 |
setDefaultHintStyle| Name: | QFontEngineFT::setDefaultHintStyle | | Prototype: | void QFontEngineFT::setDefaultHintStyle(HintStyle style) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 805-808 |
| | 1 | 1 |
setQtDefaultHintStyle| Name: | QFontEngineFT::setQtDefaultHintStyle | | Prototype: | void QFontEngineFT::setQtDefaultHintStyle(QFont::HintingPreference hintingPreference) | | Coverage: | 100.000% (9/9) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 787-803 |
| | 9 | 5 |
shouldUseDesignMetrics| Name: | QFontEngineFT::shouldUseDesignMetrics | | Prototype: | bool QFontEngineFT::shouldUseDesignMetrics(QFontEngine::ShaperFlags flags) const | | Coverage: | 75.000% (6/8) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1554-1560 |
| | 3 | 2 |
stringToCMap| Name: | QFontEngineFT::stringToCMap | | Prototype: | bool QFontEngineFT::stringToCMap(const QChar *str, int len, QGlyphLayout *glyphs, int *nglyphs, QFontEngine::ShaperFlags flags) const | | Coverage: | 74.000% (37/50) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1481-1552 |
| | 43 | 14 |
supportsTransformation| Name: | QFontEngineFT::supportsTransformation | | Prototype: | bool QFontEngineFT::supportsTransformation(const QTransform &transform) const | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1400-1403 |
| | 1 | 1 |
synthesized| Name: | QFontEngineFT::synthesized | | Prototype: | int QFontEngineFT::synthesized() const | | Coverage: | 0.000% (0/16) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1226-1236 |
| | 8 | 4 |
underlinePosition| Name: | QFontEngineFT::underlinePosition | | Prototype: | QFixed QFontEngineFT::underlinePosition() const | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1287-1290 |
| | 1 | 1 |
unlockAlphaMapForGlyph| Name: | QFontEngineFT::unlockAlphaMapForGlyph | | Prototype: | void QFontEngineFT::unlockAlphaMapForGlyph() | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1785-1788 |
| | 1 | 1 |
unlockFace| Name: | QFontEngineFT::unlockFace | | Prototype: | void QFontEngineFT::unlockFace() const | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1908-1911 |
| | 1 | 1 |
xHeight| Name: | QFontEngineFT::xHeight | | Prototype: | QFixed QFontEngineFT::xHeight() const | | Coverage: | 50.000% (3/6) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1253-1263 |
| | 7 | 2 |
~QFontEngineFT| Name: | QFontEngineFT::~QFontEngineFT | | Prototype: | QFontEngineFT::~QFontEngineFT() | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 671-675 |
| | 2 | 2 |