| Function | Condition %▴ | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexity |
QRect| Name: | QRect | | Coverage: | 91.803% (168/183) |
| | 157 | 47 |
QDBusPendingCall| Name: | QDBusPendingCall | | Coverage: | 91.892% (34/37) |
| | 39 | 19 |
composeHelper| Name: | composeHelper | | Prototype: | static void composeHelper(QString *str, QChar::UnicodeVersion version, int from) | | Coverage: | 91.892% (34/37) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qchar.cpp | | Lines: | 1807-1868 |
| | 42 | 10 |
QHashData| Name: | QHashData | | Coverage: | 92.000% (92/100) |
| | 123 | 37 |
QTemporaryDir| Name: | QTemporaryDir | | Coverage: | 92.000% (23/25) |
| | 21 | 13 |
_q_resolveEntryAndCreateLegacyEngine_recursive| Name: | _q_resolveEntryAndCreateLegacyEngine_recursive | | Prototype: | static bool _q_resolveEntryAndCreateLegacyEngine_recursive(QFileSystemEntry &entry, QFileSystemMetaData &data, QAbstractFileEngine *&engine, bool resolvingEntry = false) | | Coverage: | 92.000% (23/25) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qfilesystemengine.cpp | | Lines: | 131-175 |
| | 20 | 9 |
qMetaTypeCustomType_unlocked| Name: | qMetaTypeCustomType_unlocked | | Prototype: | static int qMetaTypeCustomType_unlocked(const char *typeName, int length, int *firstInvalidIndex = 0) | | Coverage: | 92.000% (23/25) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp | | Lines: | 877-897 |
| | 15 | 7 |
QDirPrivate| Name: | QDirPrivate | | Coverage: | 92.079% (93/101) |
| | 83 | 36 |
QDebug| Name: | QDebug | | Coverage: | 92.105% (35/38) |
| | 36 | 14 |
calculateCoarseTimerTimeout| Name: | calculateCoarseTimerTimeout | | Prototype: | static void calculateCoarseTimerTimeout(QTimerInfo *t, timespec currentTime) | | Coverage: | 92.308% (48/52) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qtimerinfo_unix.cpp | | Lines: | 223-331 |
| | 49 | 15 |
QTimeZone| Name: | QTimeZone | | Coverage: | 92.453% (98/106) |
| | 96 | 62 |
qFindString| Name: | qFindString | | Prototype: | int qFindString( const QChar *haystack0, int haystackLen, int from, const QChar *needle0, int needleLen, Qt::CaseSensitivity cs) | | Coverage: | 92.453% (49/53) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp | | Lines: | 3067-3141 |
| | 45 | 16 |
findObject| Name: | findObject | | Prototype: | static bool findObject(const QDBusConnectionPrivate::ObjectTreeNode *root, const QString &fullpath, int &usedLength, QDBusConnectionPrivate::ObjectTreeNode &result) | | Coverage: | 92.500% (37/40) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusintegrator.cpp | | Lines: | 365-412 |
| | 29 | 9 |
QState| Name: | QState | | Coverage: | 92.562% (112/121) |
| | 122 | 45 |
QAbstractEventDispatcher| Name: | QAbstractEventDispatcher | | Coverage: | 92.593% (25/27) |
| | 26 | 13 |
operator<<| Name: | operator<< | | Prototype: | QDataStream &operator<<(QDataStream &out, const QDateTime &dateTime) | | Coverage: | 92.593% (25/27) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 4808-4862 |
| | 26 | 10 |
QTimeLinePrivate| Name: | QTimeLinePrivate | | Coverage: | 92.683% (38/41) |
| | 31 | 11 |
ligatureHelper| Name: | ligatureHelper | | Prototype: | static uint inline ligatureHelper(uint u1, uint u2) | | Coverage: | 92.683% (38/41) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qchar.cpp | | Lines: | 1767-1805 |
| | 26 | 10 |
QThreadPoolPrivate| Name: | QThreadPoolPrivate | | Coverage: | 92.857% (91/98) |
| | 94 | 33 |
lo0bits| Name: | lo0bits | | Prototype: | static int lo0bits(quint32 *y) | | Coverage: | 92.857% (26/28) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale_tools.cpp | | Lines: | 663-703 |
| | 30 | 10 |
qt_string_normalize| Name: | qt_string_normalize | | Prototype: | void qt_string_normalize(QString *data, QString::NormalizationForm mode, QChar::UnicodeVersion version, int from) | | Coverage: | 92.857% (52/56) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp | | Lines: | 7134-7198 |
| | 45 | 18 |
QRectF| Name: | QRectF | | Coverage: | 93.064% (161/173) |
| | 161 | 51 |
QMutex| Name: | QMutex | | Coverage: | 93.103% (27/29) |
| | 24 | 13 |
integralCompare| Name: | integralCompare | | Prototype: | static int integralCompare(uint promotedType, const QVariant::Private *d1, const QVariant::Private *d2) | | Coverage: | 93.103% (27/29) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qvariant.cpp | | Lines: | 3441-3462 |
| | 15 | 5 |
QFileSelector| Name: | QFileSelector | | Coverage: | 93.333% (14/15) |
| | 23 | 8 |
b2d| Name: | b2d | | Prototype: | static double b2d(Bigint *a, int *e) | | Coverage: | 93.333% (14/15) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale_tools.cpp | | Lines: | 1035-1084 |
| | 21 | 4 |
decompositionHelper| Name: | decompositionHelper | | Prototype: | static const unsigned short * decompositionHelper (uint ucs4, int *length, int *tag, unsigned short *buffer) | | Coverage: | 93.333% (14/15) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qchar.cpp | | Lines: | 1290-1315 |
| | 17 | 3 |
epochMSecsToLocalTime| Name: | epochMSecsToLocalTime | | Prototype: | static bool epochMSecsToLocalTime(qint64 msecs, QDate *localDate, QTime *localTime, QDateTimePrivate::DaylightStatus *daylightStatus = 0) | | Coverage: | 93.333% (14/15) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 2426-2460 |
| | 20 | 5 |
isValidCharacterNoDash| Name: | isValidCharacterNoDash | | Prototype: | static inline bool isValidCharacterNoDash(QChar c) | | Coverage: | 93.333% (14/15) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusutil.cpp | | Lines: | 47-54 |
| | 5 | 1 |
mult| Name: | mult | | Prototype: | static Bigint *mult(Bigint *a, Bigint *b) | | Coverage: | 93.333% (28/30) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale_tools.cpp | | Lines: | 715-795 |
| | 50 | 10 |
postProcess| Name: | postProcess | | Prototype: | static QList<QNetworkInterfacePrivate *> postProcess(QList<QNetworkInterfacePrivate *> list) | | Coverage: | 93.333% (14/15) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qnetworkinterface.cpp | | Lines: | 45-73 |
| | 13 | 5 |
qRemoveWhitespace| Name: | qRemoveWhitespace | | Prototype: | static void qRemoveWhitespace(const char *s, char *d) | | Coverage: | 93.333% (28/30) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetaobject.cpp | | Lines: | 1223-1239 |
| | 12 | 6 |
qstrtoll| Name: | qstrtoll | | Prototype: | long long qstrtoll(const char * nptr, const char **endptr, int base, bool *ok) | | Coverage: | 93.333% (14/15) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale_tools.cpp | | Lines: | 99-115 |
| | 12 | 3 |
QNetworkInterface| Name: | QNetworkInterface | | Coverage: | 93.548% (29/31) |
| | 33 | 17 |
canonicalOrderHelper| Name: | canonicalOrderHelper | | Prototype: | static void canonicalOrderHelper(QString *str, QChar::UnicodeVersion version, int from) | | Coverage: | 93.548% (58/62) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qchar.cpp | | Lines: | 1871-1957 |
| | 59 | 20 |
QUrlQuery| Name: | QUrlQuery | | Coverage: | 93.578% (102/109) |
| | 100 | 47 |
QMetaCallEvent| Name: | QMetaCallEvent | | Coverage: | 93.750% (30/32) |
| | 18 | 12 |
QSize| Name: | QSize | | Coverage: | 93.750% (15/16) |
| | 14 | 5 |
QSizeF| Name: | QSizeF | | Coverage: | 93.750% (15/16) |
| | 13 | 5 |
openModeToOpenFlags| Name: | openModeToOpenFlags | | Prototype: | static inline int openModeToOpenFlags(QIODevice::OpenMode mode) | | Coverage: | 93.750% (15/16) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qfsfileengine_unix.cpp | | Lines: | 104-125 |
| | 12 | 6 |
QItemSelection| Name: | QItemSelection | | Coverage: | 93.902% (77/82) |
| | 90 | 29 |
QSettingsPrivate| Name: | QSettingsPrivate | | Coverage: | 93.953% (404/430) |
| | 387 | 143 |
QDirIteratorPrivate| Name: | QDirIteratorPrivate | | Coverage: | 94.083% (159/169) |
| | 114 | 38 |
QFontEngineMultiFontConfig| Name: | QFontEngineMultiFontConfig | | Coverage: | 94.118% (16/17) |
| | 29 | 9 |
QRegularExpressionMatchIterator| Name: | QRegularExpressionMatchIterator | | Coverage: | 94.118% (16/17) |
| | 22 | 13 |
isValidCharacter| Name: | isValidCharacter | | Prototype: | static inline bool isValidCharacter(QChar c) | | Coverage: | 94.118% (16/17) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusutil.cpp | | Lines: | 56-63 |
| | 5 | 1 |
QDirSortItemComparator| Name: | QDirSortItemComparator | | Coverage: | 94.231% (49/52) |
| | 44 | 14 |
QFileSystemMetaData| Name: | QFileSystemMetaData | | Coverage: | 94.444% (51/54) |
| | 72 | 23 |
QDBusMessage| Name: | QDBusMessage | | Coverage: | 94.521% (69/73) |
| | 89 | 44 |
QNetworkCookie| Name: | QNetworkCookie | | Coverage: | 94.624% (88/93) |
| | 82 | 39 |
loadQtCodec| Name: | loadQtCodec | | Prototype: | static QTextCodec *loadQtCodec(const char *name) | | Coverage: | 94.737% (36/38) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/codecs/qicucodec.cpp | | Lines: | 350-378 |
| | 23 | 12 |
qMetaTypeNumber| Name: | qMetaTypeNumber | | Prototype: | static qlonglong qMetaTypeNumber(const QVariant::Private *d) | | Coverage: | 94.737% (18/19) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qvariant.cpp | | Lines: | 147-173 |
| | 12 | 10 |
qNumVariantToHelper| Name: | qNumVariantToHelper | | Prototype: | template <typename T> inline T qNumVariantToHelper(const QVariant::Private &d, const HandlersManager &handlerManager, bool *ok, const T& val) | | Coverage: | 94.737% (18/19) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qvariant.cpp | | Lines: | 2643-2662 |
| | 11 | 5 |
qt_qFindChildren_helper| Name: | qt_qFindChildren_helper | | Prototype: | void qt_qFindChildren_helper(const QObject *parent, const QString &name, const QMetaObject &mo, QList<void*> *list, Qt::FindChildOptions options) | | Coverage: | 95.000% (19/20) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qobject.cpp | | Lines: | 1851-1867 |
| | 11 | 6 |
q_toPercentEncoding| Name: | q_toPercentEncoding | | Prototype: | static void q_toPercentEncoding(QByteArray *ba, const char *dontEncode, const char *alsoEncode, char percent) | | Coverage: | 95.122% (39/41) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qbytearray.cpp | | Lines: | 4417-4455 |
| | 29 | 7 |
QIPAddressUtils| Name: | QIPAddressUtils | | Coverage: | 95.154% (216/227) |
| | 186 | 63 |
QHostInfoRunnable| Name: | QHostInfoRunnable | | Coverage: | 95.238% (20/21) |
| | 28 | 8 |
QNetworkCacheMetaData| Name: | QNetworkCacheMetaData | | Coverage: | 95.238% (20/21) |
| | 26 | 19 |
checkStaticArray| Name: | checkStaticArray | | Prototype: | static bool checkStaticArray(int &val, const QByteArray &dateString, int at, const char *array, int size) | | Coverage: | 95.238% (20/21) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/access/qnetworkcookie.cpp | | Lines: | 531-551 |
| | 15 | 5 |
localMSecsToEpochMSecs| Name: | localMSecsToEpochMSecs | | Prototype: | static qint64 localMSecsToEpochMSecs(qint64 localMsecs, QDateTimePrivate::DaylightStatus *daylightStatus, QDate *localDate = 0, QTime *localTime = 0, QString *abbreviation = 0) | | Coverage: | 95.312% (61/64) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 2465-2559 |
| | 56 | 19 |
qt_qdnsservicerecord_sort| Name: | qt_qdnsservicerecord_sort | | Prototype: | static void qt_qdnsservicerecord_sort(QList<QDnsServiceRecord> &records) | | Coverage: | 95.455% (21/22) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qdnslookup.cpp | | Lines: | 101-149 |
| | 22 | 8 |
QUtf16| Name: | QUtf16 | | Coverage: | 95.506% (85/89) |
| | 80 | 26 |
QUtf8| Name: | QUtf8 | | Coverage: | 95.513% (149/156) |
| | 154 | 47 |
qt_last_index_of| Name: | qt_last_index_of | | Prototype: | static inline int qt_last_index_of(const QChar *haystack, int haystackLen, QChar needle, int from, Qt::CaseSensitivity cs) | | Coverage: | 95.652% (22/23) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp | | Lines: | 10003-10028 |
| | 17 | 9 |
QSqlCachedResultPrivate| Name: | QSqlCachedResultPrivate | | Coverage: | 95.833% (23/24) |
| | 31 | 12 |
QTemporaryFileEngine| Name: | QTemporaryFileEngine | | Coverage: | 95.918% (47/49) |
| | 78 | 21 |
QAbstractAnimation| Name: | QAbstractAnimation | | Coverage: | 95.960% (95/99) |
| | 98 | 42 |
QBenchmarkTestMethodData| Name: | QBenchmarkTestMethodData | | Coverage: | 96.000% (24/25) |
| | 22 | 10 |
QSingleShotTimer| Name: | QSingleShotTimer | | Coverage: | 96.000% (24/25) |
| | 20 | 10 |
QTemporaryFile| Name: | QTemporaryFile | | Coverage: | 96.000% (48/50) |
| | 58 | 24 |
recode| Name: | recode | | Prototype: | static int recode(QString &result, const ushort *begin, const ushort *end, QUrl::ComponentFormattingOptions encoding, const uchar *actionTable, bool retryBadEncoding) | | Coverage: | 96.053% (73/76) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurlrecode.cpp | | Lines: | 344-445 |
| | 63 | 21 |
QMapNodeBase| Name: | QMapNodeBase | | Coverage: | 96.154% (25/26) |
| | 22 | 8 |
lastIndexOfHelper| Name: | lastIndexOfHelper | | Prototype: | static int lastIndexOfHelper(const char *haystack, int l, const char *needle, int ol, int from) | | Coverage: | 96.154% (25/26) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qbytearray.cpp | | Lines: | 2459-2490 |
| | 25 | 8 |
bm_find| Name: | bm_find | | Prototype: | static inline int bm_find(const uchar *cc, int l, int index, const uchar *puc, uint pl, const uchar *skiptable) | | Coverage: | 96.296% (26/27) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qbytearraymatcher.cpp | | Lines: | 49-82 |
| | 21 | 9 |
QHttpNetworkHeaderPrivate| Name: | QHttpNetworkHeaderPrivate | | Coverage: | 96.667% (29/30) |
| | 35 | 16 |
QMapDataBase| Name: | QMapDataBase | | Coverage: | 96.667% (174/180) |
| | 183 | 55 |
validateSingleType| Name: | validateSingleType | | Prototype: | static const char *validateSingleType(const char *signature) | | Coverage: | 96.667% (29/30) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusutil.cpp | | Lines: | 252-295 |
| | 22 | 10 |
QSqlRecord| Name: | QSqlRecord | | Coverage: | 96.774% (60/62) |
| | 63 | 42 |
qt_normalizePathSegments| Name: | qt_normalizePathSegments | | Prototype: | QString qt_normalizePathSegments(const QString &name, bool allowUncPaths) | | Coverage: | 96.809% (91/94) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp | | Lines: | 2046-2161 |
| | 61 | 21 |
curveToFunc| Name: | curveToFunc | | Prototype: | static QEasingCurve::EasingFunction curveToFunc(QEasingCurve::Type curve) | | Coverage: | 97.059% (66/68) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qeasingcurve.cpp | | Lines: | 938-1011 |
| | 35 | 35 |
buildMetaObject| Name: | buildMetaObject | | Prototype: | static int buildMetaObject(QMetaObjectBuilderPrivate *d, char *buf, int expectedSize, bool relocatable) | | Coverage: | 97.076% (166/171) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetaobjectbuilder.cpp | | Lines: | 1170-1484 |
| | 235 | 54 |
QVariantAnimation| Name: | QVariantAnimation | | Coverage: | 97.143% (34/35) |
| | 45 | 25 |
lockInternal_helper| Name: | lockInternal_helper | | Prototype: | template <bool IsTimed> static inline bool lockInternal_helper(QBasicAtomicPointer<QMutexData> &d_ptr, int timeout = -1, QElapsedTimer *elapsedTimer = 0) | | Coverage: | 97.143% (34/35) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qmutex_linux.cpp | | Lines: | 154-198 |
| | 23 | 9 |
QUrlPrivate| Name: | QUrlPrivate | | Coverage: | 97.412% (414/425) |
| | 350 | 145 |
QCryptographicHash| Name: | QCryptographicHash | | Coverage: | 97.674% (84/86) |
| | 113 | 45 |
QDBusDemarshaller| Name: | QDBusDemarshaller | | Coverage: | 97.857% (137/140) |
| | 121 | 91 |
parseIpFuture| Name: | parseIpFuture | | Prototype: | static const QChar *parseIpFuture(QString &host, const QChar *begin, const QChar *end, QUrl::ParsingMode mode) | | Coverage: | 98.000% (49/50) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp | | Lines: | 1190-1238 |
| | 28 | 10 |
extractSections| Name: | extractSections | | Prototype: | static QString extractSections(const QVector<qt_section_chunk> §ions, int start, int end, QString::SectionFlags flags) | | Coverage: | 98.276% (57/58) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp | | Lines: | 4169-4228 |
| | 41 | 17 |
QNetworkCookiePrivate| Name: | QNetworkCookiePrivate | | Coverage: | 98.333% (59/60) |
| | 57 | 21 |
QBitArray| Name: | QBitArray | | Coverage: | 98.611% (71/72) |
| | 81 | 26 |
QVersionNumber| Name: | QVersionNumber | | Coverage: | 98.901% (90/91) |
| | 85 | 34 |
QFileSystemEntry| Name: | QFileSystemEntry | | Coverage: | 99.248% (132/133) |
| | 113 | 52 |
Bfree| Name: | Bfree | | Prototype: | static void Bfree(Bigint *v) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale_tools.cpp | | Lines: | 555-558 |
| | 1 | 1 |
CaseInsensitiveLessThan| Name: | CaseInsensitiveLessThan | | Coverage: | 100.000% (1/1) |
| | 1 | 1 |
DefaultRoleNames| Name: | DefaultRoleNames | | Coverage: | 100.000% (1/1) |
| | 6 | 1 |
DefaultStateTransition| Name: | DefaultStateTransition | | Coverage: | 100.000% (1/1) |
| | 2 | 1 |
DisconnectRelayEvent| Name: | DisconnectRelayEvent | | Coverage: | 100.000% (2/2) |
| | 3 | 2 |
EnterEventChecker| Name: | EnterEventChecker | | Coverage: | 100.000% (10/10) |
| | 8 | 4 |
ExposeCompressor| Name: | ExposeCompressor | | Coverage: | 100.000% (15/15) |
| | 14 | 7 |
GraphicsView| Name: | GraphicsView | | Coverage: | 100.000% (3/3) |
| | 10 | 3 |