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

Function Tree

Path:<top>::QMimeXMLProvider
FunctionCondition %eLOC - Effective Lines of Codeā–¾McCabe - Cyclomatic Complexity
ensureLoaded
Name: QMimeXMLProvider::ensureLoaded
Prototype: void QMimeXMLProvider::ensureLoaded()
Coverage:  85.000% (17/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp
Lines: 755-795
 85.000% (17/20)
248
load
Name: QMimeXMLProvider::load
Prototype: bool QMimeXMLProvider::load(const QString &fileName, QString *errorMessage)
Coverage:  40.000% (4/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp
Lines: 804-820
 40.000% (4/10)
104
findByMagic
Name: QMimeXMLProvider::findByMagic
Prototype: QMimeType QMimeXMLProvider::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: 737-753
100.000% (8/8)
94
parents
Name: QMimeXMLProvider::parents
Prototype: QStringList QMimeXMLProvider::parents(const QString &mime)
Coverage: 100.000% (7/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp
Lines: 832-842
100.000% (7/7)
73
load
Name: QMimeXMLProvider::load
Prototype: void QMimeXMLProvider::load(const QString &fileName)
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp
Lines: 797-802
 50.000% (2/4)
32
findByFileName
Name: QMimeXMLProvider::findByFileName
Prototype: QStringList QMimeXMLProvider::findByFileName(const QString &fileName, QString *foundSuffix)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp
Lines: 729-735
100.000% (1/1)
31
resolveAlias
Name: QMimeXMLProvider::resolveAlias
Prototype: QString QMimeXMLProvider::resolveAlias(const QString &name)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp
Lines: 856-860
100.000% (1/1)
21
mimeTypeForName
Name: QMimeXMLProvider::mimeTypeForName
Prototype: QMimeType QMimeXMLProvider::mimeTypeForName(const QString &name)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp
Lines: 722-727
100.000% (1/1)
21
listAliases
Name: QMimeXMLProvider::listAliases
Prototype: QStringList QMimeXMLProvider::listAliases(const QString &name)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp
Lines: 849-854
100.000% (1/1)
21
allMimeTypes
Name: QMimeXMLProvider::allMimeTypes
Prototype: QList<QMimeType> QMimeXMLProvider::allMimeTypes()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp
Lines: 867-871
100.000% (1/1)
21
isValid
Name: QMimeXMLProvider::isValid
Prototype: bool QMimeXMLProvider::isValid()
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp
Lines: 717-720
  0.000% (0/1)
11
addParent
Name: QMimeXMLProvider::addParent
Prototype: void QMimeXMLProvider::addParent(const QString &child, const QString &parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp
Lines: 844-847
100.000% (1/1)
11
addMimeType
Name: QMimeXMLProvider::addMimeType
Prototype: void QMimeXMLProvider::addMimeType(const QMimeType &mt)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp
Lines: 827-830
100.000% (1/1)
11
addMagicMatcher
Name: QMimeXMLProvider::addMagicMatcher
Prototype: void QMimeXMLProvider::addMagicMatcher(const QMimeMagicRuleMatcher &matcher)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp
Lines: 873-876
100.000% (1/1)
11
addGlobPattern
Name: QMimeXMLProvider::addGlobPattern
Prototype: void QMimeXMLProvider::addGlobPattern(const QMimeGlobPattern &glob)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp
Lines: 822-825
100.000% (1/1)
11
addAlias
Name: QMimeXMLProvider::addAlias
Prototype: void QMimeXMLProvider::addAlias(const QString &alias, const QString &name)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp
Lines: 862-865
100.000% (1/1)
11
QMimeXMLProvider
Name: QMimeXMLProvider::QMimeXMLProvider
Prototype: QMimeXMLProvider::QMimeXMLProvider(QMimeDatabasePrivate *db)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp
Lines: 707-711
100.000% (1/1)
11

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