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

Function Tree

Path:<top>::QMimeMagicRule
FunctionCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexityâ–´
QMimeMagicRule
Name: QMimeMagicRule::QMimeMagicRule
Coverage:  0.000% (0/1)
  0.000% (0/1)
01
matchString
Name: QMimeMagicRule::matchString
Prototype: bool QMimeMagicRule::matchString(const QByteArray &data) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimemagicrule.cpp
Lines: 148-152
100.000% (1/1)
21
operator==
Name: QMimeMagicRule::operator==
Prototype: bool QMimeMagicRule::operator==(const QMimeMagicRule &other) const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimemagicrule.cpp
Lines: 85-96
  0.000% (0/1)
91
typeName
Name: QMimeMagicRule::typeName
Prototype: QByteArray QMimeMagicRule::typeName(QMimeMagicRule::Type theType)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimemagicrule.cpp
Lines: 80-83
  0.000% (0/1)
11
mask
Name: QMimeMagicRule::mask
Prototype: QByteArray QMimeMagicRule::mask() const
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimemagicrule.cpp
Lines: 326-334
  0.000% (0/4)
42
matchNumber
Name: QMimeMagicRule::matchNumber
Prototype: template <typename T> bool QMimeMagicRule::matchNumber(const QByteArray &data) const
Coverage: 100.000% (7/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimemagicrule.cpp
Lines: 154-171
100.000% (7/7)
63
type
Name: QMimeMagicRule::type
Prototype: QMimeMagicRule::Type QMimeMagicRule::type(const QByteArray &theTypeName)
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimemagicrule.cpp
Lines: 71-78
 71.429% (5/7)
43
matches
Name: QMimeMagicRule::matches
Prototype: bool QMimeMagicRule::matches(const QByteArray &data) const
Coverage: 100.000% (15/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimemagicrule.cpp
Lines: 336-358
100.000% (15/15)
105
matchSubstring
Name: QMimeMagicRule::matchSubstring
Prototype: bool QMimeMagicRule::matchSubstring(const char *dataPtr, int dataSize, int rangeStart, int rangeLength, int valueLength, const char *valueData, const char *mask)
Coverage: 100.000% (32/32)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimemagicrule.cpp
Lines: 99-146
100.000% (32/32)
2611
QMimeMagicRule
Name: QMimeMagicRule::QMimeMagicRule
Prototype: QMimeMagicRule::QMimeMagicRule(const QString &type, const QByteArray &value, const QString &offsets, const QByteArray &mask, QString *errorString)
Coverage:  73.750% (59/80)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimemagicrule.cpp
Lines: 226-324
 73.750% (59/80)
6129

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