Function | Condition % | eLOC - Effective Lines of Codeā“ | McCabe - Cyclomatic Complexity |
QMimeMagicRuleName: | QMimeMagicRule::QMimeMagicRule | Coverage: | 0.000% (0/1) |
| | 0 | 1 |
typeNameName: | 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 |
| | 1 | 1 |
matchStringName: | 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 |
| | 2 | 1 |
maskName: | 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 |
| | 4 | 2 |
typeName: | 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 |
| | 4 | 3 |
matchNumberName: | 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 |
| | 6 | 3 |
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 |
| | 9 | 1 |
matchesName: | 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 |
| | 10 | 5 |
matchSubstringName: | 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 |
| | 26 | 11 |
QMimeMagicRuleName: | 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 |
| | 61 | 29 |