QtBase - 2016-12-13 07:58:44 +0000

Function Tree

Path:<top>::QFontconfigDatabase
FunctionCondition %eLOC - Effective Lines of Codeā–¾McCabe - Cyclomatic Complexity
setupFontEngine
Name: QFontconfigDatabase::setupFontEngine
Prototype: void QFontconfigDatabase::setupFontEngine(QFontEngineFT *engine, const QFontDef &fontDef) const
Coverage:  56.250% (27/48)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/platformsupport/fontdatabases/fontconfig/qfontconfigdatabase.cpp
Lines: 890-976
 56.250% (27/48)
5812
fallbacksForFamily
Name: QFontconfigDatabase::fallbacksForFamily
Prototype: QStringList QFontconfigDatabase::fallbacksForFamily(const QString &family, QFont::Style style, QFont::StyleHint styleHint, QChar::Script script) const
Coverage:  79.412% (27/34)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/platformsupport/fontdatabases/fontconfig/qfontconfigdatabase.cpp
Lines: 697-772
 79.412% (27/34)
5312
populateFontDatabase
Name: QFontconfigDatabase::populateFontDatabase
Prototype: void QFontconfigDatabase::populateFontDatabase()
Coverage: 100.000% (10/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/platformsupport/fontdatabases/fontconfig/qfontconfigdatabase.cpp
Lines: 511-575
100.000% (10/10)
394
addApplicationFont
Name: QFontconfigDatabase::addApplicationFont
Prototype: QStringList QFontconfigDatabase::addApplicationFont(const QByteArray &fontData, const QString &fileName)
Coverage:  62.500% (10/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/platformsupport/fontdatabases/fontconfig/qfontconfigdatabase.cpp
Lines: 800-836
 62.500% (10/16)
246
resolveFontFamilyAlias
Name: QFontconfigDatabase::resolveFontFamilyAlias
Prototype: QString QFontconfigDatabase::resolveFontFamilyAlias(const QString &family) const
Coverage:  66.667% (8/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/platformsupport/fontdatabases/fontconfig/qfontconfigdatabase.cpp
Lines: 838-860
 66.667% (8/12)
164
defaultFont
Name: QFontconfigDatabase::defaultFont
Prototype: QFont QFontconfigDatabase::defaultFont() const
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/platformsupport/fontdatabases/fontconfig/qfontconfigdatabase.cpp
Lines: 862-888
  0.000% (0/4)
152
fontEngine
Name: QFontconfigDatabase::fontEngine
Prototype: QFontEngine *QFontconfigDatabase::fontEngine(const QFontDef &f, void *usrPtr)
Coverage:  66.667% (6/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/platformsupport/fontdatabases/fontconfig/qfontconfigdatabase.cpp
Lines: 663-684
 66.667% (6/9)
133
fontEngine
Name: QFontconfigDatabase::fontEngine
Prototype: QFontEngine *QFontconfigDatabase::fontEngine(const QByteArray &fontData, qreal pixelSize, QFont::HintingPreference hintingPreference)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/platformsupport/fontdatabases/fontconfig/qfontconfigdatabase.cpp
Lines: 686-695
100.000% (4/4)
52
fontEngineMulti
Name: QFontconfigDatabase::fontEngineMulti
Prototype: QFontEngineMulti *QFontconfigDatabase::fontEngineMulti(QFontEngine *fontEngine, QChar::Script script)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/platformsupport/fontdatabases/fontconfig/qfontconfigdatabase.cpp
Lines: 577-580
100.000% (1/1)
11

Generated by Squish Coco Non-Commercial 4.3.0-BETA-master-30-08-2018-4cb69e9