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

Function Tree

Path:<top>::QMimeBinaryProvider
FunctionCondition %▴eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
loadIcon
Name: QMimeBinaryProvider::loadIcon
Prototype: void QMimeBinaryProvider::loadIcon(QMimeTypePrivate &data)
Coverage:  60.000% (3/5)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp
Lines: 679-690
 60.000% (3/5)
73
CacheFile
Name: QMimeBinaryProvider::CacheFile
Coverage:  68.182% (15/22)
 68.182% (15/22)
1910
loadMimeTypePrivate
Name: QMimeBinaryProvider::loadMimeTypePrivate
Prototype: void QMimeBinaryProvider::loadMimeTypePrivate(QMimeTypePrivate &data)
Coverage:  72.131% (44/61)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp
Lines: 559-652
 72.131% (44/61)
5019
isValid
Name: QMimeBinaryProvider::isValid
Prototype: bool QMimeBinaryProvider::isValid()
Coverage:  80.000% (8/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp
Lines: 193-215
 80.000% (8/10)
114
checkCache
Name: QMimeBinaryProvider::checkCache
Prototype: void QMimeBinaryProvider::checkCache()
Coverage:  88.235% (15/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp
Lines: 239-265
 88.235% (15/17)
157
CacheFileList
Name: QMimeBinaryProvider::CacheFileList
Coverage:  90.000% (18/20)
 90.000% (18/20)
198
loadMimeTypeList
Name: QMimeBinaryProvider::loadMimeTypeList
Prototype: void QMimeBinaryProvider::loadMimeTypeList()
Coverage:  90.909% (10/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp
Lines: 525-544
 90.909% (10/11)
115
QMimeBinaryProvider
Name: QMimeBinaryProvider::QMimeBinaryProvider
Prototype: QMimeBinaryProvider::QMimeBinaryProvider(QMimeDatabasePrivate *db)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp
Lines: 95-98
100.000% (1/1)
21
allMimeTypes
Name: QMimeBinaryProvider::allMimeTypes
Prototype: QList<QMimeType> QMimeBinaryProvider::allMimeTypes()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp
Lines: 546-557
100.000% (4/4)
72
findByFileName
Name: QMimeBinaryProvider::findByFileName
Prototype: QStringList QMimeBinaryProvider::findByFileName(const QString &fileName, QString *foundSuffix)
Coverage: 100.000% (11/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp
Lines: 288-309
100.000% (11/11)
175
findByMagic
Name: QMimeBinaryProvider::findByMagic
Prototype: QMimeType QMimeBinaryProvider::findByMagic(const QByteArray &data, int *accuracyPtr)
Coverage: 100.000% (8/8)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp
Lines: 405-429
100.000% (8/8)
154
iconForMime
Name: QMimeBinaryProvider::iconForMime
Prototype: QString QMimeBinaryProvider::iconForMime(CacheFile *cacheFile, int posListOffset, const QByteArray &inputMime)
Coverage: 100.000% (10/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp
Lines: 655-677
100.000% (10/10)
174
listAliases
Name: QMimeBinaryProvider::listAliases
Prototype: QStringList QMimeBinaryProvider::listAliases(const QString &name)
Coverage: 100.000% (8/8)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp
Lines: 502-523
100.000% (8/8)
154
loadGenericIcon
Name: QMimeBinaryProvider::loadGenericIcon
Prototype: void QMimeBinaryProvider::loadGenericIcon(QMimeTypePrivate &data)
Coverage: 100.000% (5/5)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp
Lines: 692-703
100.000% (5/5)
73
matchGlobList
Name: QMimeBinaryProvider::matchGlobList
Prototype: void QMimeBinaryProvider::matchGlobList(QMimeGlobMatchResult &result, CacheFile *cacheFile, int off, const QString &fileName)
Coverage: 100.000% (9/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp
Lines: 311-332
100.000% (9/9)
133
matchMagicRule
Name: QMimeBinaryProvider::matchMagicRule
Prototype: bool QMimeBinaryProvider::matchMagicRule(QMimeBinaryProvider::CacheFile *cacheFile, int numMatchlets, int firstOffset, const QByteArray &data)
Coverage: 100.000% (15/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp
Lines: 377-403
100.000% (15/15)
195
matchSuffixTree
Name: QMimeBinaryProvider::matchSuffixTree
Prototype: bool QMimeBinaryProvider::matchSuffixTree(QMimeGlobMatchResult &result, QMimeBinaryProvider::CacheFile *cacheFile, int numEntries, int firstOffset, const QString &fileName, int charPos, bool caseSensitiveCheck)
Coverage: 100.000% (27/27)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp
Lines: 334-375
100.000% (27/27)
339
mimeTypeForName
Name: QMimeBinaryProvider::mimeTypeForName
Prototype: QMimeType QMimeBinaryProvider::mimeTypeForName(const QString &name)
Coverage: 100.000% (7/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp
Lines: 278-286
100.000% (7/7)
63
parents
Name: QMimeBinaryProvider::parents
Prototype: QStringList QMimeBinaryProvider::parents(const QString &mime)
Coverage: 100.000% (20/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp
Lines: 431-470
100.000% (20/20)
308
resolveAlias
Name: QMimeBinaryProvider::resolveAlias
Prototype: QString QMimeBinaryProvider::resolveAlias(const QString &name)
Coverage: 100.000% (11/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp
Lines: 472-500
100.000% (11/11)
215
~QMimeBinaryProvider
Name: QMimeBinaryProvider::~QMimeBinaryProvider
Prototype: QMimeBinaryProvider::~QMimeBinaryProvider()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp
Lines: 175-178
100.000% (1/1)
11

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