Function | Condition % | eLOC - Effective Lines of Codeā¾ | McCabe - Cyclomatic Complexity |
loadMimeTypePrivateName: | 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 |
| | 50 | 19 |
matchSuffixTreeName: | 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 |
| | 33 | 9 |
parentsName: | 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 |
| | 30 | 8 |
resolveAliasName: | 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 |
| | 21 | 5 |
matchMagicRuleName: | 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 |
| | 19 | 5 |
CacheFileListName: | QMimeBinaryProvider::CacheFileList | Coverage: | 90.000% (18/20) |
| | 19 | 8 |
CacheFileName: | QMimeBinaryProvider::CacheFile | Coverage: | 68.182% (15/22) |
| | 19 | 10 |
iconForMimeName: | 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 |
| | 17 | 4 |
findByFileNameName: | 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 |
| | 17 | 5 |
listAliasesName: | 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 |
| | 15 | 4 |
findByMagicName: | 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 |
| | 15 | 4 |
checkCacheName: | 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 |
| | 15 | 7 |
matchGlobListName: | 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 |
| | 13 | 3 |
loadMimeTypeListName: | 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 |
| | 11 | 5 |
isValidName: | 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 |
| | 11 | 4 |
loadIconName: | 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 |
| | 7 | 3 |
loadGenericIconName: | 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 |
| | 7 | 3 |
allMimeTypesName: | 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 |
| | 7 | 2 |
mimeTypeForNameName: | 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 |
| | 6 | 3 |
QMimeBinaryProviderName: | 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 |
| | 2 | 1 |
~QMimeBinaryProviderName: | 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 |
| | 1 | 1 |