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

Function Tree

Path:<top>::QMimeDatabase
FunctionCondition %eLOC - Effective Lines of Codeā–“McCabe - Cyclomatic Complexity
~QMimeDatabase
Name: QMimeDatabase::~QMimeDatabase
Prototype: QMimeDatabase::~QMimeDatabase()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimedatabase.cpp
Lines: 309-312
100.000% (1/1)
11
QMimeDatabase
Name: QMimeDatabase::QMimeDatabase
Prototype: QMimeDatabase::QMimeDatabase()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimedatabase.cpp
Lines: 300-303
100.000% (1/1)
21
allMimeTypes
Name: QMimeDatabase::allMimeTypes
Prototype: QList<QMimeType> QMimeDatabase::allMimeTypes() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimedatabase.cpp
Lines: 589-594
100.000% (1/1)
21
mimeTypeForName
Name: QMimeDatabase::mimeTypeForName
Prototype: QMimeType QMimeDatabase::mimeTypeForName(const QString &nameOrAlias) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimedatabase.cpp
Lines: 318-323
100.000% (1/1)
21
mimeTypeForData
Name: QMimeDatabase::mimeTypeForData
Prototype: QMimeType QMimeDatabase::mimeTypeForData(const QByteArray &data) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimedatabase.cpp
Lines: 470-476
100.000% (1/1)
31
mimeTypeForFileNameAndData
Name: QMimeDatabase::mimeTypeForFileNameAndData
Prototype: QMimeType QMimeDatabase::mimeTypeForFileNameAndData(const QString &fileName, const QByteArray &data) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimedatabase.cpp
Lines: 574-580
100.000% (1/1)
41
suffixForFileName
Name: QMimeDatabase::suffixForFileName
Prototype: QString QMimeDatabase::suffixForFileName(const QString &fileName) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimedatabase.cpp
Lines: 455-461
100.000% (1/1)
41
mimeTypeForFileNameAndData
Name: QMimeDatabase::mimeTypeForFileNameAndData
Prototype: QMimeType QMimeDatabase::mimeTypeForFileNameAndData(const QString &fileName, QIODevice *device) const
Coverage:  87.500% (7/8)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimedatabase.cpp
Lines: 548-556
 87.500% (7/8)
62
mimeTypeForUrl
Name: QMimeDatabase::mimeTypeForUrl
Prototype: QMimeType QMimeDatabase::mimeTypeForUrl(const QUrl &url) const
Coverage:  77.778% (7/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimedatabase.cpp
Lines: 517-527
 77.778% (7/9)
63
mimeTypesForFileName
Name: QMimeDatabase::mimeTypesForFileName
Prototype: QList<QMimeType> QMimeDatabase::mimeTypesForFileName(const QString &fileName) const
Coverage: 100.000% (2/2)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimedatabase.cpp
Lines: 438-448
100.000% (2/2)
72
mimeTypeForData
Name: QMimeDatabase::mimeTypeForData
Prototype: QMimeType QMimeDatabase::mimeTypeForData(QIODevice *device) const
Coverage: 100.000% (11/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimedatabase.cpp
Lines: 485-501
100.000% (11/11)
103
mimeTypeForFile
Name: QMimeDatabase::mimeTypeForFile
Prototype: QMimeType QMimeDatabase::mimeTypeForFile(const QString &fileName, MatchMode mode) const
Coverage:  80.000% (8/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimedatabase.cpp
Lines: 405-424
 80.000% (8/10)
114
mimeTypeForFile
Name: QMimeDatabase::mimeTypeForFile
Prototype: QMimeType QMimeDatabase::mimeTypeForFile(const QFileInfo &fileInfo, MatchMode mode) const
Coverage:  56.667% (17/30)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimedatabase.cpp
Lines: 353-398
 56.667% (17/30)
2712

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