| Function | Condition % | eLOC - Effective Lines of Codeā¾ | McCabe - Cyclomatic Complexity |
loadGlyph| Name: | QFontEngineFT::loadGlyph | | Prototype: | QFontEngineFT::Glyph *QFontEngineFT::loadGlyph(QGlyphSet *set, uint glyph, QFixed subPixelPosition, GlyphFormat format, bool fetchMetricsOnly) const | | Coverage: | 51.587% (130/252) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 886-1252 |
| | 260 | 62 |
init| Name: | QFontEngineFT::init | | Prototype: | bool QFontEngineFT::init(FaceId faceId, bool antialias, GlyphFormat format, QFreetypeFace *freetypeFace) | | Coverage: | 46.875% (30/64) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 706-813 |
| | 62 | 17 |
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: | 1559-1630 |
| | 43 | 14 |
boundingBox| Name: | QFontEngineFT::boundingBox | | Prototype: | glyph_metrics_t QFontEngineFT::boundingBox(const QGlyphLayout &glyphs) | | Coverage: | 40.000% (12/30) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1692-1749 |
| | 43 | 9 |
boundingBox| Name: | QFontEngineFT::boundingBox | | Prototype: | glyph_metrics_t QFontEngineFT::boundingBox(glyph_t glyph) | | Coverage: | 54.167% (13/24) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1751-1788 |
| | 30 | 7 |
QGlyphSet| Name: | QFontEngineFT::QGlyphSet | | Coverage: | 65.517% (19/29) |
| | 27 | 13 |
loadGlyphSet| Name: | QFontEngineFT::loadGlyphSet | | Prototype: | QFontEngineFT::QGlyphSet *QFontEngineFT::loadGlyphSet(const QTransform &matrix) | | Coverage: | 75.000% (21/28) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1404-1446 |
| | 25 | 7 |
loadFlags| Name: | QFontEngineFT::loadFlags | | Prototype: | int QFontEngineFT::loadFlags(QGlyphSet *set, GlyphFormat format, int flags, bool &hsubpixel, int &vfactor) const | | Coverage: | 45.652% (21/46) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 838-876 |
| | 25 | 11 |
alphaMapBoundingBox| Name: | QFontEngineFT::alphaMapBoundingBox | | Prototype: | glyph_metrics_t QFontEngineFT::alphaMapBoundingBox(glyph_t glyph, QFixed subPixelPosition, const QTransform &matrix, QFontEngine::GlyphFormat format) | | Coverage: | 38.462% (5/13) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1795-1826 |
| | 24 | 4 |
recalcAdvances| Name: | QFontEngineFT::recalcAdvances | | Prototype: | void QFontEngineFT::recalcAdvances(QGlyphLayout *glyphs, QFontEngine::ShaperFlags flags) const | | Coverage: | 77.273% (34/44) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1657-1690 |
| | 23 | 10 |
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: | 662-690 |
| | 23 | 1 |
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: | 1858-1894 |
| | 22 | 8 |
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: | 1448-1476 |
| | 20 | 2 |
lockFace| Name: | QFontEngineFT::lockFace | | Prototype: | FT_Face QFontEngineFT::lockFace(Scaling scale) const | | Coverage: | 76.190% (16/21) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 2020-2043 |
| | 17 | 5 |
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: | 1907-1933 |
| | 16 | 4 |
bitmapForGlyph| Name: | QFontEngineFT::bitmapForGlyph | | Prototype: | QImage QFontEngineFT::bitmapForGlyph(glyph_t g, QFixed subPixelPosition, const QTransform &t) | | Coverage: | 0.000% (0/22) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1979-2002 |
| | 16 | 6 |
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: | 1483-1505 |
| | 15 | 4 |
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: | 1529-1557 |
| | 14 | 6 |
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: | 2123-2143 |
| | 13 | 2 |
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: | 1507-1527 |
| | 13 | 5 |
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: | 1370-1390 |
| | 12 | 4 |
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: | 1958-1977 |
| | 11 | 4 |
averageCharWidth| Name: | QFontEngineFT::averageCharWidth | | Prototype: | QFixed QFontEngineFT::averageCharWidth() const | | Coverage: | 40.000% (4/10) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1334-1350 |
| | 10 | 3 |
xHeight| Name: | QFontEngineFT::xHeight | | Prototype: | QFixed QFontEngineFT::xHeight() const | | Coverage: | 50.000% (5/10) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1318-1332 |
| | 9 | 3 |
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: | 815-831 |
| | 9 | 5 |
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: | 1940-1956 |
| | 9 | 3 |
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: | 1282-1292 |
| | 8 | 4 |
scaledBitmapMetrics| Name: | QFontEngineFT::scaledBitmapMetrics | | Prototype: | glyph_metrics_t QFontEngineFT::scaledBitmapMetrics(const glyph_metrics_t &m) const | | Coverage: | 0.000% (0/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1645-1655 |
| | 8 | 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: | 2112-2121 |
| | 7 | 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: | 2145-2156 |
| | 7 | 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: | 2009-2018 |
| | 6 | 2 |
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: | 1259-1267 |
| | 4 | 2 |
maxCharWidth| Name: | QFontEngineFT::maxCharWidth | | Prototype: | qreal QFontEngineFT::maxCharWidth() const | | Coverage: | 50.000% (2/4) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1352-1358 |
| | 4 | 2 |
leading| Name: | QFontEngineFT::leading | | Prototype: | QFixed QFontEngineFT::leading() const | | Coverage: | 50.000% (2/4) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1310-1316 |
| | 4 | 2 |
descent| Name: | QFontEngineFT::descent | | Prototype: | QFixed QFontEngineFT::descent() const | | Coverage: | 50.000% (2/4) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1302-1308 |
| | 4 | 2 |
ascent| Name: | QFontEngineFT::ascent | | Prototype: | QFixed QFontEngineFT::ascent() const | | Coverage: | 50.000% (2/4) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1294-1300 |
| | 4 | 2 |
shouldUseDesignMetrics| Name: | QFontEngineFT::shouldUseDesignMetrics | | Prototype: | bool QFontEngineFT::shouldUseDesignMetrics(QFontEngine::ShaperFlags flags) const | | Coverage: | 50.000% (2/4) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1632-1638 |
| | 3 | 2 |
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: | 1269-1275 |
| | 3 | 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: | 692-696 |
| | 2 | 2 |
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: | 2045-2048 |
| | 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: | 1896-1899 |
| | 1 | 1 |
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: | 1365-1368 |
| | 1 | 1 |
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: | 1478-1481 |
| | 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: | 833-836 |
| | 1 | 1 |
scaledBitmapMetrics| Name: | QFontEngineFT::scaledBitmapMetrics | | Prototype: | QFixed QFontEngineFT::scaledBitmapMetrics(QFixed m) const | | Coverage: | 0.000% (0/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp | | Lines: | 1640-1643 |
| | 1 | 1 |
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: | 2004-2007 |
| | 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: | 2050-2053 |
| | 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: | 1360-1363 |
| | 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: | 698-702 |
| | 1 | 1 |
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: | 2158-2161 |
| | 1 | 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: | 1277-1280 |
| | 1 | 1 |
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: | 1254-1257 |
| | 1 | 1 |
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: | 1790-1793 |
| | 1 | 1 |
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: | 1935-1938 |
| | 1 | 1 |
Glyph| Name: | QFontEngineFT::Glyph | | Coverage: | 100.000% (1/1) |
| | 1 | 1 |