| Function | Condition %▾ | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexity |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
QFileSelector| Name: | QFileSelector | | Coverage: | 93.333% (14/15) |
| | 23 | 8 |
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 |
QMutex| Name: | QMutex | | Coverage: | 93.103% (27/29) |
| | 24 | 13 |
QRectF| Name: | QRectF | | Coverage: | 93.064% (161/173) |
| | 161 | 51 |
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 |
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 |
QThreadPoolPrivate| Name: | QThreadPoolPrivate | | Coverage: | 92.857% (91/98) |
| | 94 | 33 |
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 |
QTimeLinePrivate| Name: | QTimeLinePrivate | | Coverage: | 92.683% (38/41) |
| | 31 | 11 |
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 |
QAbstractEventDispatcher| Name: | QAbstractEventDispatcher | | Coverage: | 92.593% (25/27) |
| | 26 | 13 |
QState| Name: | QState | | Coverage: | 92.562% (112/121) |
| | 122 | 45 |
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 |
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 |
QTimeZone| Name: | QTimeZone | | Coverage: | 92.453% (98/106) |
| | 96 | 62 |
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 |
QDebug| Name: | QDebug | | Coverage: | 92.105% (35/38) |
| | 36 | 14 |
QDirPrivate| Name: | QDirPrivate | | Coverage: | 92.079% (93/101) |
| | 83 | 36 |
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 |
_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 |
QTemporaryDir| Name: | QTemporaryDir | | Coverage: | 92.000% (23/25) |
| | 21 | 13 |
QHashData| Name: | QHashData | | Coverage: | 92.000% (92/100) |
| | 123 | 37 |
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 |
QDBusPendingCall| Name: | QDBusPendingCall | | Coverage: | 91.892% (34/37) |
| | 39 | 19 |
QRect| Name: | QRect | | Coverage: | 91.803% (168/183) |
| | 157 | 47 |
QRegularExpression| Name: | QRegularExpression | | Coverage: | 91.781% (67/73) |
| | 90 | 31 |
qVariantToHelper| Name: | qVariantToHelper | | Prototype: | template <typename T> inline T qVariantToHelper(const QVariant::Private &d, const HandlersManager &handlerManager) | | Coverage: | 91.667% (11/12) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qvariant.cpp | | Lines: | 2203-2219 |
| | 8 | 4 |
qDecodeDataUrl| Name: | qDecodeDataUrl | | Prototype: | bool qDecodeDataUrl(const QUrl &uri, QString &mimeType, QByteArray &payload) | | Coverage: | 91.667% (22/24) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdataurl.cpp | | Lines: | 46-86 |
| | 21 | 8 |
customConvert| Name: | customConvert | | Prototype: | static bool customConvert(const QVariant::Private *d, int t, void *result, bool *ok) | | Coverage: | 91.667% (11/12) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qvariant.cpp | | Lines: | 1082-1092 |
| | 6 | 4 |
containsTLDEntry| Name: | containsTLDEntry | | Prototype: | static bool containsTLDEntry(const QString &entry) | | Coverage: | 91.667% (11/12) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qtldurl.cpp | | Lines: | 43-64 |
| | 13 | 4 |
QParallelAnimationGroupPrivate| Name: | QParallelAnimationGroupPrivate | | Coverage: | 91.667% (55/60) |
| | 43 | 24 |
QDnsLookupThreadPool| Name: | QDnsLookupThreadPool | | Coverage: | 91.667% (11/12) |
| | 16 | 6 |
QBasicAtomicBitField| Name: | QBasicAtomicBitField | | Coverage: | 91.667% (11/12) |
| | 11 | 4 |
QAbstractAnimationPrivate| Name: | QAbstractAnimationPrivate | | Coverage: | 91.549% (65/71) |
| | 43 | 16 |
QLoggingRule| Name: | QLoggingRule | | Coverage: | 91.429% (64/70) |
| | 50 | 22 |
qt_qFindChild_helper| Name: | qt_qFindChild_helper | | Prototype: | QObject *qt_qFindChild_helper(const QObject *parent, const QString &name, const QMetaObject &mo, Qt::FindChildOptions options) | | Coverage: | 91.304% (21/23) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qobject.cpp | | Lines: | 1919-1939 |
| | 15 | 7 |
isPseudoFs| Name: | isPseudoFs | | Prototype: | static bool isPseudoFs(const QStorageIterator &it) | | Coverage: | 91.304% (21/23) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qstorageinfo_unix.cpp | | Lines: | 150-173 |
| | 15 | 5 |
fromIsoTimeString| Name: | fromIsoTimeString | | Prototype: | static QTime fromIsoTimeString(const QStringRef &string, Qt::DateFormat format, bool *isMidnight24) | | Coverage: | 91.228% (52/57) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 1857-1924 |
| | 45 | 14 |
QDate| Name: | QDate | | Coverage: | 91.228% (260/285) |
| | 181 | 103 |
QNetworkCookieJar| Name: | QNetworkCookieJar | | Coverage: | 91.045% (61/67) |
| | 60 | 25 |
QStringListModel| Name: | QStringListModel | | Coverage: | 91.026% (71/78) |
| | 69 | 27 |
qMetaTypeUNumber| Name: | qMetaTypeUNumber | | Prototype: | static qulonglong qMetaTypeUNumber(const QVariant::Private *d) | | Coverage: | 90.909% (10/11) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qvariant.cpp | | Lines: | 175-191 |
| | 8 | 6 |
findChildObject| Name: | findChildObject | | Prototype: | static QObject *findChildObject(const QDBusConnectionPrivate::ObjectTreeNode *root, const QString &fullpath, int start) | | Coverage: | 90.909% (20/22) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusintegrator.cpp | | Lines: | 414-455 |
| | 23 | 7 |
decomposeHelper| Name: | decomposeHelper | | Prototype: | static void decomposeHelper(QString *str, bool canonical, QChar::UnicodeVersion version, int from) | | Coverage: | 90.909% (20/22) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qchar.cpp | | Lines: | 1707-1740 |
| | 22 | 6 |
QSqlQueryPrivate| Name: | QSqlQueryPrivate | | Coverage: | 90.909% (10/11) |
| | 9 | 5 |
QProcessEnvironmentPrivate| Name: | QProcessEnvironmentPrivate | | Coverage: | 90.909% (20/22) |
| | 32 | 10 |
QOpenSslLocks| Name: | QOpenSslLocks | | Coverage: | 90.909% (10/11) |
| | 16 | 7 |
QMimeGlobMatchResult| Name: | QMimeGlobMatchResult | | Coverage: | 90.909% (20/22) |
| | 16 | 8 |
QEventTransitionPrivate| Name: | QEventTransitionPrivate | | Coverage: | 90.909% (10/11) |
| | 10 | 5 |
QConfFile| Name: | QConfFile | | Coverage: | 90.909% (30/33) |
| | 34 | 15 |
buildMatchRule| Name: | buildMatchRule | | Prototype: | static QByteArray buildMatchRule(const QString &service, const QString &objectPath, const QString &interface, const QString &member, const QStringList &argMatch, const QString & ) | | Coverage: | 90.476% (19/21) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusintegrator.cpp | | Lines: | 337-363 |
| | 17 | 8 |
QXmlStreamWriterPrivate| Name: | QXmlStreamWriterPrivate | | Coverage: | 90.476% (133/147) |
| | 137 | 51 |
QAnimationTimer| Name: | QAnimationTimer | | Coverage: | 90.435% (104/115) |
| | 93 | 40 |
QFutureWatcherBase| Name: | QFutureWatcherBase | | Coverage: | 90.385% (47/52) |
| | 52 | 31 |
putEscapedString| Name: | putEscapedString | | Prototype: | template <typename Char> static inline void putEscapedString(QTextStreamPrivate *d, const Char *begin, int length, bool isUnicode = true) | | Coverage: | 90.323% (56/62) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdebug.cpp | | Lines: | 186-293 |
| | 72 | 20 |
QUnicodeTools| Name: | QUnicodeTools | | Coverage: | 90.312% (289/320) |
| | 265 | 124 |
QSequentialAnimationGroupPrivate| Name: | QSequentialAnimationGroupPrivate | | Coverage: | 90.278% (130/144) |
| | 124 | 44 |
QUtf32| Name: | QUtf32 | | Coverage: | 90.099% (91/101) |
| | 86 | 24 |
QHostAddress| Name: | QHostAddress | | Coverage: | 90.038% (235/261) |
| | 196 | 101 |
match| Name: | match | | Prototype: | static bool match(const uchar *found, uint foundLen, const char *target, uint targetLen) | | Coverage: | 90.000% (9/10) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qtranslator.cpp | | Lines: | 88-95 |
| | 3 | 2 |
QXcbShmGraphicsBuffer| Name: | QXcbShmGraphicsBuffer | | Coverage: | 90.000% (9/10) |
| | 11 | 8 |
QStorageIterator| Name: | QStorageIterator | | Coverage: | 90.000% (9/10) |
| | 8 | 8 |
QEasingCurvePrivate| Name: | QEasingCurvePrivate | | Coverage: | 90.000% (27/30) |
| | 32 | 10 |
QAbstractPrintDialogPrivate| Name: | QAbstractPrintDialogPrivate | | Coverage: | 90.000% (9/10) |
| | 8 | 3 |
QStateMachinePrivate| Name: | QStateMachinePrivate | | Coverage: | 89.789% (765/852) |
| | 945 | 322 |
QInotifyFileSystemWatcherEngine| Name: | QInotifyFileSystemWatcherEngine | | Coverage: | 89.655% (78/87) |
| | 108 | 30 |
QTestResult| Name: | QTestResult | | Coverage: | 89.623% (95/106) |
| | 100 | 46 |
QDBusConnectionManager| Name: | QDBusConnectionManager | | Coverage: | 89.610% (69/77) |
| | 99 | 34 |
qConvertToNumber| Name: | qConvertToNumber | | Prototype: | static qlonglong qConvertToNumber(const QVariant::Private *d, bool *ok) | | Coverage: | 89.583% (43/48) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qvariant.cpp | | Lines: | 193-246 |
| | 19 | 25 |
QNetworkReplyFileImpl| Name: | QNetworkReplyFileImpl | | Coverage: | 89.583% (43/48) |
| | 78 | 19 |
qt_urlRecodeByteArray| Name: | qt_urlRecodeByteArray | | Prototype: | QString qt_urlRecodeByteArray(const QByteArray &ba) | | Coverage: | 89.474% (17/19) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurlrecode.cpp | | Lines: | 587-624 |
| | 19 | 7 |
qstrtoull| Name: | qstrtoull | | Prototype: | unsigned long long qstrtoull(const char * nptr, const char **endptr, int base, bool *ok) | | Coverage: | 89.474% (17/19) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale_tools.cpp | | Lines: | 71-97 |
| | 17 | 5 |
init| Name: | init | | Prototype: | static void init(QTextBoundaryFinder::BoundaryType type, const QChar *chars, int length, QCharAttributes *attributes) | | Coverage: | 89.474% (17/19) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qtextboundaryfinder.cpp | | Lines: | 46-77 |
| | 20 | 8 |
hi0bits| Name: | hi0bits | | Prototype: | static int hi0bits(quint32 x) | | Coverage: | 89.474% (17/19) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale_tools.cpp | | Lines: | 635-661 |
| | 18 | 7 |
QUnicodeTables| Name: | QUnicodeTables | | Coverage: | 89.474% (34/38) |
| | 38 | 18 |
QLatin1Codec| Name: | QLatin1Codec | | Coverage: | 89.474% (17/19) |
| | 24 | 9 |
QVariant| Name: | QVariant | | Coverage: | 89.455% (509/569) |
| | 360 | 231 |
QAbstractTransition| Name: | QAbstractTransition | | Coverage: | 89.333% (67/75) |
| | 70 | 31 |
QMetaMethodBuilder| Name: | QMetaMethodBuilder | | Coverage: | 89.286% (75/84) |
| | 65 | 36 |
QThreadPoolThread| Name: | QThreadPoolThread | | Coverage: | 89.189% (33/37) |
| | 38 | 14 |
QNetworkReply| Name: | QNetworkReply | | Coverage: | 89.189% (33/37) |
| | 54 | 33 |
QLoggingRegistry| Name: | QLoggingRegistry | | Coverage: | 89.189% (66/74) |
| | 78 | 30 |
QDateTime| Name: | QDateTime | | Coverage: | 89.086% (302/339) |
| | 359 | 150 |
qt_qhostinfo_lookup| Name: | qt_qhostinfo_lookup | | Prototype: | QHostInfo qt_qhostinfo_lookup(const QString &name, QObject *receiver, const char *member, bool *valid, int *id) | | Coverage: | 88.889% (8/9) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostinfo.cpp | | Lines: | 675-694 |
| | 9 | 3 |
qDBusRemoveWatch| Name: | qDBusRemoveWatch | | Prototype: | static void qDBusRemoveWatch(DBusWatch *watch, void *data) | | Coverage: | 88.889% (8/9) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusintegrator.cpp | | Lines: | 227-249 |
| | 13 | 3 |
qCleanupFuncinfo| Name: | qCleanupFuncinfo | | Prototype: | QByteArray qCleanupFuncinfo(QByteArray info) | | Coverage: | 88.889% (104/117) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/global/qlogging.cpp | | Lines: | 796-947 |
| | 88 | 37 |
is_S| Name: | is_S | | Prototype: | static inline bool is_S(QChar ch) | | Coverage: | 88.889% (8/9) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/xml/sax/qxml.cpp | | Lines: | 2832-2836 |
| | 2 | 1 |
isProxyError| Name: | isProxyError | | Prototype: | static bool isProxyError(QAbstractSocket::SocketError error) | | Coverage: | 88.889% (8/9) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | | Lines: | 526-539 |
| | 3 | 8 |
isParentOf| Name: | isParentOf | | Prototype: | template <typename String> static bool isParentOf(const String &parent, const QString &dirName) | | Coverage: | 88.889% (8/9) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qstorageinfo_unix.cpp | | Lines: | 142-148 |
| | 3 | 1 |
isHex| Name: | isHex | | Prototype: | inline static bool isHex(char c) | | Coverage: | 88.889% (8/9) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp | | Lines: | 417-421 |
| | 2 | 1 |
isFastPattern| Name: | isFastPattern | | Prototype: | static bool isFastPattern(const QString &pattern) | | Coverage: | 88.889% (8/9) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeglobpattern.cpp | | Lines: | 140-149 |
| | 6 | 1 |
argv0BaseName| Name: | argv0BaseName | | Prototype: | static QString argv0BaseName() | | Coverage: | 88.889% (8/9) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbintegration.cpp | | Lines: | 400-411 |
| | 8 | 3 |
QFileSystemWatcher| Name: | QFileSystemWatcher | | Coverage: | 88.889% (48/54) |
| | 60 | 23 |