| Function | Condition %▴ | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexity |
QDirPrivate| Name: | QDirPrivate | | Coverage: | 91.753% (89/97) |
| | 83 | 36 |
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: | 1813-1874 |
| | 42 | 10 |
QHashData| Name: | QHashData | | Coverage: | 92.000% (92/100) |
| | 123 | 37 |
_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: | 137-181 |
| | 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: | 894-914 |
| | 15 | 7 |
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: | 230-338 |
| | 49 | 15 |
QRingBuffer| Name: | QRingBuffer | | Coverage: | 92.453% (147/159) |
| | 161 | 52 |
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: | 3097-3171 |
| | 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: | 371-418 |
| | 29 | 9 |
qConvertToUnsignedNumber| Name: | qConvertToUnsignedNumber | | Prototype: | static qulonglong qConvertToUnsignedNumber(const QVariant::Private *d, bool *ok) | | Coverage: | 92.500% (37/40) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qvariant.cpp | | Lines: | 264-316 |
| | 19 | 25 |
QRegularExpression| Name: | QRegularExpression | | Coverage: | 92.537% (62/67) |
| | 90 | 31 |
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: | 4830-4884 |
| | 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: | 1773-1811 |
| | 26 | 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: | 7154-7218 |
| | 45 | 18 |
QRectF| Name: | QRectF | | Coverage: | 93.064% (161/173) |
| | 161 | 51 |
QMutex| Name: | QMutex | | Coverage: | 93.103% (27/29) |
| | 24 | 13 |
QFileSelector| Name: | QFileSelector | | Coverage: | 93.333% (14/15) |
| | 23 | 8 |
QThreadPoolPrivate| Name: | QThreadPoolPrivate | | Coverage: | 93.333% (84/90) |
| | 94 | 33 |
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: | 1296-1321 |
| | 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: | 2449-2483 |
| | 20 | 5 |
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: | 52-80 |
| | 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: | 1234-1250 |
| | 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: | 409-425 |
| | 12 | 3 |
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: | 1877-1963 |
| | 59 | 20 |
QItemSelection| Name: | QItemSelection | | Coverage: | 93.671% (74/79) |
| | 86 | 28 |
QMetaCallEvent| Name: | QMetaCallEvent | | Coverage: | 93.750% (30/32) |
| | 18 | 12 |
QSize| Name: | QSize | | Coverage: | 93.750% (15/16) |
| | 12 | 5 |
QSizeF| Name: | QSizeF | | Coverage: | 93.750% (15/16) |
| | 11 | 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: | 110-131 |
| | 12 | 6 |
parse_flag_characters| Name: | parse_flag_characters | | Prototype: | static uint parse_flag_characters(const char * &c) noexcept | | Coverage: | 93.750% (15/16) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp | | Lines: | 5991-6006 |
| | 10 | 9 |
QSettingsPrivate| Name: | QSettingsPrivate | | Coverage: | 93.953% (404/430) |
| | 368 | 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 |
QDirSortItemComparator| Name: | QDirSortItemComparator | | Coverage: | 94.231% (49/52) |
| | 44 | 14 |
QFileSystemMetaData| Name: | QFileSystemMetaData | | Coverage: | 94.444% (51/54) |
| | 72 | 23 |
QHostInfoRunnable| Name: | QHostInfoRunnable | | Coverage: | 94.444% (17/18) |
| | 29 | 7 |
QDBusMessage| Name: | QDBusMessage | | Coverage: | 94.521% (69/73) |
| | 89 | 44 |
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: | 356-384 |
| | 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: | 143-169 |
| | 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: | 2642-2661 |
| | 11 | 5 |
QResourceFileEnginePrivate| Name: | QResourceFileEnginePrivate | | Coverage: | 95.000% (19/20) |
| | 12 | 6 |
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: | 1858-1874 |
| | 11 | 6 |
QIPAddressUtils| Name: | QIPAddressUtils | | Coverage: | 95.067% (212/223) |
| | 186 | 63 |
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: | 4568-4606 |
| | 29 | 7 |
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: | 537-557 |
| | 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: | 2488-2582 |
| | 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: | 107-155 |
| | 22 | 8 |
QUtf16| Name: | QUtf16 | | Coverage: | 95.506% (85/89) |
| | 80 | 26 |
QUtf8| Name: | QUtf8 | | Coverage: | 95.541% (150/157) |
| | 157 | 48 |
QUrlQuery| Name: | QUrlQuery | | Coverage: | 95.604% (87/91) |
| | 99 | 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: | 10096-10121 |
| | 17 | 9 |
QSqlCachedResultPrivate| Name: | QSqlCachedResultPrivate | | Coverage: | 95.833% (23/24) |
| | 30 | 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: | 374-475 |
| | 63 | 21 |
QHttpNetworkHeaderPrivate| Name: | QHttpNetworkHeaderPrivate | | Coverage: | 96.154% (25/26) |
| | 35 | 16 |
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: | 2604-2635 |
| | 25 | 8 |
validateSingleType| Name: | validateSingleType | | Prototype: | static const char *validateSingleType(const char *signature) | | Coverage: | 96.154% (25/26) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusutil.cpp | | Lines: | 259-302 |
| | 22 | 10 |
QMapDataBase| Name: | QMapDataBase | | Coverage: | 96.667% (174/180) |
| | 183 | 55 |
buildMetaObject| Name: | buildMetaObject | | Prototype: | static int buildMetaObject(QMetaObjectBuilderPrivate *d, char *buf, int expectedSize, bool relocatable) | | Coverage: | 96.689% (146/151) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetaobjectbuilder.cpp | | Lines: | 1172-1476 |
| | 226 | 54 |
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: | 2052-2167 |
| | 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: | 944-1017 |
| | 35 | 35 |
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) noexcept | | Coverage: | 97.143% (34/35) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qmutex_linux.cpp | | Lines: | 131-175 |
| | 23 | 9 |
qConvertToNumber| Name: | qConvertToNumber | | Prototype: | static qlonglong qConvertToNumber(const QVariant::Private *d, bool *ok) | | Coverage: | 97.500% (39/40) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qvariant.cpp | | Lines: | 189-242 |
| | 19 | 25 |
QUrlPrivate| Name: | QUrlPrivate | | Coverage: | 97.590% (405/415) |
| | 351 | 143 |
QCryptographicHash| Name: | QCryptographicHash | | Coverage: | 97.674% (84/86) |
| | 113 | 45 |
parseIpFuture| Name: | parseIpFuture | | Prototype: | static const QChar *parseIpFuture(QString &host, const QChar *begin, const QChar *end, QUrl::ParsingMode mode) | | Coverage: | 97.917% (47/48) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp | | Lines: | 1196-1244 |
| | 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: | 4199-4258 |
| | 41 | 17 |
QNetworkCookiePrivate| Name: | QNetworkCookiePrivate | | Coverage: | 98.333% (59/60) |
| | 57 | 21 |
QDBusDemarshaller| Name: | QDBusDemarshaller | | Coverage: | 98.551% (136/138) |
| | 121 | 91 |
QBitArray| Name: | QBitArray | | Coverage: | 98.571% (69/70) |
| | 81 | 26 |
QVersionNumber| Name: | QVersionNumber | | Coverage: | 98.901% (90/91) |
| | 85 | 34 |
QFileSystemEntry| Name: | QFileSystemEntry | | Coverage: | 99.174% (120/121) |
| | 113 | 52 |
CaseInsensitiveLessThan| Name: | CaseInsensitiveLessThan | | Coverage: | 100.000% (1/1) |
| | 1 | 1 |
CreateMagicMatchRuleResult| Name: | CreateMagicMatchRuleResult | | Coverage: | 100.000% (1/1) |
| | 3 | 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 |
HandlersManager| Name: | HandlersManager | | Coverage: | 100.000% (2/2) |
| | 2 | 2 |
NamePredicate| Name: | NamePredicate | | Coverage: | 100.000% (2/2) |
| | 2 | 2 |
OrgA11yStatusInterface| Name: | OrgA11yStatusInterface | | Coverage: | 100.000% (1/1) |
| | 2 | 1 |
PropertyNotifyEvent| Name: | PropertyNotifyEvent | | Coverage: | 100.000% (14/14) |
| | 9 | 5 |