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

Function Tree

Path:<top>::QMimeDatabasePrivate
FunctionCondition %eLOC - Effective Lines of Codeā–¾McCabe - Cyclomatic Complexity
mimeTypeForFileNameAndData
Name: QMimeDatabasePrivate::mimeTypeForFileNameAndData
Prototype: QMimeType QMimeDatabasePrivate::mimeTypeForFileNameAndData(const QString &fileName, QIODevice *device, int *accuracyPtr)
Coverage:  44.000% (11/25)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimedatabase.cpp
Lines: 161-216
 44.000% (11/25)
269
inherits
Name: QMimeDatabasePrivate::inherits
Prototype: bool QMimeDatabasePrivate::inherits(const QString &mime, const QString &parent)
Coverage: 100.000% (8/8)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimedatabase.cpp
Lines: 223-238
100.000% (8/8)
114
findByData
Name: QMimeDatabasePrivate::findByData
Prototype: QMimeType QMimeDatabasePrivate::findByData(const QByteArray &data, int *accuracyPtr)
Coverage:  80.000% (8/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimedatabase.cpp
Lines: 140-159
 80.000% (8/10)
114
provider
Name: QMimeDatabasePrivate::provider
Prototype: QMimeProviderBase *QMimeDatabasePrivate::provider()
Coverage: 100.000% (7/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimedatabase.cpp
Lines: 82-94
100.000% (7/7)
73
mimeTypeForFileName
Name: QMimeDatabasePrivate::mimeTypeForFileName
Prototype: QStringList QMimeDatabasePrivate::mimeTypeForFileName(const QString &fileName, QString *foundSuffix)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimedatabase.cpp
Lines: 111-119
100.000% (4/4)
52
~QMimeDatabasePrivate
Name: QMimeDatabasePrivate::~QMimeDatabasePrivate
Prototype: QMimeDatabasePrivate::~QMimeDatabasePrivate()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimedatabase.cpp
Lines: 76-80
100.000% (1/1)
21
setProvider
Name: QMimeDatabasePrivate::setProvider
Prototype: void QMimeDatabasePrivate::setProvider(QMimeProviderBase *theProvider)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimedatabase.cpp
Lines: 96-100
  0.000% (0/1)
21
QMimeDatabasePrivate
Name: QMimeDatabasePrivate::QMimeDatabasePrivate
Prototype: QMimeDatabasePrivate::QMimeDatabasePrivate()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimedatabase.cpp
Lines: 71-74
100.000% (1/1)
21
mimeTypeForName
Name: QMimeDatabasePrivate::mimeTypeForName
Prototype: QMimeType QMimeDatabasePrivate::mimeTypeForName(const QString &nameOrAlias)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimedatabase.cpp
Lines: 106-109
100.000% (1/1)
11
instance
Name: QMimeDatabasePrivate::instance
Prototype: QMimeDatabasePrivate *QMimeDatabasePrivate::instance()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimedatabase.cpp
Lines: 66-69
100.000% (1/1)
11
allMimeTypes
Name: QMimeDatabasePrivate::allMimeTypes
Prototype: QList<QMimeType> QMimeDatabasePrivate::allMimeTypes()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimedatabase.cpp
Lines: 218-221
100.000% (1/1)
11

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