Function | Condition % | eLOC - Effective Lines of Codeā¾ | McCabe - Cyclomatic Complexity |
loadGlyphName: | 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 |
initName: | 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 |
stringToCMapName: | 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 |
boundingBoxName: | 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 |
boundingBoxName: | 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 |
QGlyphSetName: | QFontEngineFT::QGlyphSet | Coverage: | 65.517% (19/29) |
| | 27 | 13 |
loadGlyphSetName: | 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 |
loadFlagsName: | 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 |
QFontEngineFTName: | 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 |
lockedAlphaMapForGlyphName: | 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 |
alphaMapBoundingBoxName: | 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 |
recalcAdvancesName: | 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 |
getUnscaledGlyphName: | 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 |
lockFaceName: | 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 |
loadGlyphForName: | 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 |
addOutlineToPathName: | 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 |
glyphIndexName: | 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 |
initFromFontEngineName: | 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 |
addGlyphsToPathName: | 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 |
doKerningName: | 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 |
alphaRGBMapForGlyphName: | 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 |
setQtDefaultHintStyleName: | 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 |
alphaMapForGlyphName: | 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 |
synthesizedName: | 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 |
xHeightName: | 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 |
getPointInOutlineName: | 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 |
cloneWithSizeName: | 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 |
averageCharWidthName: | 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 |
glyphCountName: | 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 |
propertiesName: | 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 |
shouldUseDesignMetricsName: | 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 |
emSquareSizeName: | 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 |
~QFontEngineFTName: | 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 |
unlockFaceName: | 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 |
unlockAlphaMapForGlyphName: | 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 |
underlinePositionName: | 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 |
supportsTransformationName: | 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 |
setDefaultHintStyleName: | 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 |
removeGlyphFromCacheName: | 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 |
non_locked_faceName: | 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 |
maxCharWidthName: | 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 |
lineThicknessName: | 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 |
leadingName: | 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 |
initName: | 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 |
handleName: | 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 |
getSfntTableDataName: | 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 |
faceIdName: | 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 |
descentName: | 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 |
boundingBoxName: | 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 |
ascentName: | 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 |
alphaMapForGlyphName: | 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 |
GlyphName: | QFontEngineFT::Glyph | Coverage: | 100.000% (1/1) |
| | 1 | 1 |