Function | Condition %▾ | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexity |
QVersionNumberName: | QVersionNumber | Coverage: | 98.901% (90/91) |
| | 85 | 34 |
QBitArrayName: | QBitArray | Coverage: | 98.571% (69/70) |
| | 81 | 26 |
QDBusDemarshallerName: | QDBusDemarshaller | Coverage: | 98.551% (136/138) |
| | 121 | 91 |
QNetworkCookiePrivateName: | QNetworkCookiePrivate | Coverage: | 98.333% (59/60) |
| | 57 | 21 |
extractSectionsName: | 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 |
parseIpFutureName: | 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 |
QCryptographicHashName: | QCryptographicHash | Coverage: | 97.674% (84/86) |
| | 113 | 45 |
QUrlPrivateName: | QUrlPrivate | Coverage: | 97.590% (405/415) |
| | 351 | 143 |
qConvertToNumberName: | 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 |
lockInternal_helperName: | 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 |
QVariantAnimationName: | QVariantAnimation | Coverage: | 97.143% (34/35) |
| | 45 | 25 |
curveToFuncName: | 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 |
qt_normalizePathSegmentsName: | 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 |
QSqlRecordName: | QSqlRecord | Coverage: | 96.774% (60/62) |
| | 63 | 42 |
buildMetaObjectName: | 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 |
QMapDataBaseName: | QMapDataBase | Coverage: | 96.667% (174/180) |
| | 183 | 55 |
validateSingleTypeName: | 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 |
lastIndexOfHelperName: | 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 |
QMapNodeBaseName: | QMapNodeBase | Coverage: | 96.154% (25/26) |
| | 22 | 8 |
QHttpNetworkHeaderPrivateName: | QHttpNetworkHeaderPrivate | Coverage: | 96.154% (25/26) |
| | 35 | 16 |
recodeName: | 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 |
QTemporaryFileName: | QTemporaryFile | Coverage: | 96.000% (48/50) |
| | 58 | 24 |
QSingleShotTimerName: | QSingleShotTimer | Coverage: | 96.000% (24/25) |
| | 20 | 10 |
QBenchmarkTestMethodDataName: | QBenchmarkTestMethodData | Coverage: | 96.000% (24/25) |
| | 22 | 10 |
QAbstractAnimationName: | QAbstractAnimation | Coverage: | 95.960% (95/99) |
| | 98 | 42 |
QTemporaryFileEngineName: | QTemporaryFileEngine | Coverage: | 95.918% (47/49) |
| | 78 | 21 |
QSqlCachedResultPrivateName: | QSqlCachedResultPrivate | Coverage: | 95.833% (23/24) |
| | 30 | 12 |
qt_last_index_ofName: | 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 |
QUrlQueryName: | QUrlQuery | Coverage: | 95.604% (87/91) |
| | 99 | 47 |
QUtf8Name: | QUtf8 | Coverage: | 95.541% (150/157) |
| | 157 | 48 |
QUtf16Name: | QUtf16 | Coverage: | 95.506% (85/89) |
| | 80 | 26 |
qt_qdnsservicerecord_sortName: | 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 |
localMSecsToEpochMSecsName: | 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 |
checkStaticArrayName: | 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 |
QNetworkCacheMetaDataName: | QNetworkCacheMetaData | Coverage: | 95.238% (20/21) |
| | 26 | 19 |
q_toPercentEncodingName: | 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 |
QIPAddressUtilsName: | QIPAddressUtils | Coverage: | 95.067% (212/223) |
| | 186 | 63 |
qt_qFindChildren_helperName: | 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 |
QResourceFileEnginePrivateName: | QResourceFileEnginePrivate | Coverage: | 95.000% (19/20) |
| | 12 | 6 |
qNumVariantToHelperName: | 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 |
qMetaTypeNumberName: | 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 |
loadQtCodecName: | 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 |
QDBusMessageName: | QDBusMessage | Coverage: | 94.521% (69/73) |
| | 89 | 44 |
QHostInfoRunnableName: | QHostInfoRunnable | Coverage: | 94.444% (17/18) |
| | 29 | 7 |
QFileSystemMetaDataName: | QFileSystemMetaData | Coverage: | 94.444% (51/54) |
| | 72 | 23 |
QDirSortItemComparatorName: | QDirSortItemComparator | Coverage: | 94.231% (49/52) |
| | 44 | 14 |
QRegularExpressionMatchIteratorName: | QRegularExpressionMatchIterator | Coverage: | 94.118% (16/17) |
| | 22 | 13 |
QFontEngineMultiFontConfigName: | QFontEngineMultiFontConfig | Coverage: | 94.118% (16/17) |
| | 29 | 9 |
QDirIteratorPrivateName: | QDirIteratorPrivate | Coverage: | 94.083% (159/169) |
| | 114 | 38 |
QSettingsPrivateName: | QSettingsPrivate | Coverage: | 93.953% (404/430) |
| | 368 | 143 |
parse_flag_charactersName: | 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 |
openModeToOpenFlagsName: | 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 |
QSizeFName: | QSizeF | Coverage: | 93.750% (15/16) |
| | 11 | 5 |
QSizeName: | QSize | Coverage: | 93.750% (15/16) |
| | 12 | 5 |
QMetaCallEventName: | QMetaCallEvent | Coverage: | 93.750% (30/32) |
| | 18 | 12 |
QItemSelectionName: | QItemSelection | Coverage: | 93.671% (74/79) |
| | 86 | 28 |
canonicalOrderHelperName: | 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 |
qstrtollName: | 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 |
qRemoveWhitespaceName: | 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 |
postProcessName: | 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 |
epochMSecsToLocalTimeName: | 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 |
decompositionHelperName: | 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 |
QThreadPoolPrivateName: | QThreadPoolPrivate | Coverage: | 93.333% (84/90) |
| | 94 | 33 |
QFileSelectorName: | QFileSelector | Coverage: | 93.333% (14/15) |
| | 23 | 8 |
QMutexName: | QMutex | Coverage: | 93.103% (27/29) |
| | 24 | 13 |
QRectFName: | QRectF | Coverage: | 93.064% (161/173) |
| | 161 | 51 |
qt_string_normalizeName: | 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 |
ligatureHelperName: | 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 |
QTimeLinePrivateName: | 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: | 4830-4884 |
| | 26 | 10 |
QAbstractEventDispatcherName: | QAbstractEventDispatcher | Coverage: | 92.593% (25/27) |
| | 26 | 13 |
QStateName: | QState | Coverage: | 92.562% (112/121) |
| | 122 | 45 |
QRegularExpressionName: | QRegularExpression | Coverage: | 92.537% (62/67) |
| | 90 | 31 |
qConvertToUnsignedNumberName: | 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 |
findObjectName: | 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 |
qFindStringName: | 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 |
QTimeZoneName: | QTimeZone | Coverage: | 92.453% (98/106) |
| | 96 | 62 |
QRingBufferName: | QRingBuffer | Coverage: | 92.453% (147/159) |
| | 161 | 52 |
calculateCoarseTimerTimeoutName: | 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 |
QDebugName: | QDebug | Coverage: | 92.105% (35/38) |
| | 36 | 14 |
qMetaTypeCustomType_unlockedName: | 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 |
_q_resolveEntryAndCreateLegacyEngine_recursiveName: | _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 |
QHashDataName: | QHashData | Coverage: | 92.000% (92/100) |
| | 123 | 37 |
composeHelperName: | 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 |
QDBusPendingCallName: | QDBusPendingCall | Coverage: | 91.892% (34/37) |
| | 39 | 19 |
QRectName: | QRect | Coverage: | 91.803% (168/183) |
| | 157 | 47 |
QDirPrivateName: | QDirPrivate | Coverage: | 91.753% (89/97) |
| | 83 | 36 |
qVariantToHelperName: | 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 |
qDecodeDataUrlName: | 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: | 52-92 |
| | 21 | 8 |
customConvertName: | 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 |
containsTLDEntryName: | containsTLDEntry | Prototype: | static bool containsTLDEntry(const QStringRef &entry) | Coverage: | 91.667% (11/12) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qtldurl.cpp | Lines: | 49-70 |
| | 13 | 4 |
QDnsLookupThreadPoolName: | QDnsLookupThreadPool | Coverage: | 91.667% (11/12) |
| | 16 | 6 |
QAbstractAnimationPrivateName: | QAbstractAnimationPrivate | Coverage: | 91.549% (65/71) |
| | 43 | 16 |
QNetworkRequestName: | QNetworkRequest | Coverage: | 91.429% (32/35) |
| | 35 | 27 |
qt_qFindChild_helperName: | 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: | 1926-1946 |
| | 15 | 7 |
fromIsoTimeStringName: | 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: | 1878-1945 |
| | 45 | 14 |
QParallelAnimationGroupPrivateName: | QParallelAnimationGroupPrivate | Coverage: | 91.071% (51/56) |
| | 43 | 24 |
QNetworkCookieJarName: | QNetworkCookieJar | Coverage: | 91.045% (61/67) |
| | 61 | 25 |
qMetaTypeUNumberName: | 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: | 171-187 |
| | 8 | 6 |
findChildObjectName: | 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: | 420-461 |
| | 23 | 7 |