Function | Condition %▴ | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexity |
QDirPrivateName: | QDirPrivate | Coverage: | 91.753% (89/97) |
| | 83 | 36 |
QRectName: | QRect | Coverage: | 91.803% (168/183) |
| | 157 | 47 |
QDBusPendingCallName: | QDBusPendingCall | Coverage: | 91.892% (34/37) |
| | 39 | 19 |
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 |
QHashDataName: | QHashData | Coverage: | 92.000% (92/100) |
| | 123 | 37 |
_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 |
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 |
QDebugName: | QDebug | Coverage: | 92.105% (35/38) |
| | 36 | 14 |
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 |
QRingBufferName: | QRingBuffer | Coverage: | 92.453% (147/159) |
| | 161 | 52 |
QTimeZoneName: | QTimeZone | Coverage: | 92.453% (98/106) |
| | 96 | 62 |
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 |
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 |
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 |
QRegularExpressionName: | QRegularExpression | Coverage: | 92.537% (62/67) |
| | 90 | 31 |
QStateName: | QState | Coverage: | 92.562% (112/121) |
| | 122 | 45 |
QAbstractEventDispatcherName: | 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 |
QTimeLinePrivateName: | QTimeLinePrivate | Coverage: | 92.683% (38/41) |
| | 31 | 11 |
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 |
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 |
QRectFName: | QRectF | Coverage: | 93.064% (161/173) |
| | 161 | 51 |
QMutexName: | QMutex | Coverage: | 93.103% (27/29) |
| | 24 | 13 |
QFileSelectorName: | QFileSelector | Coverage: | 93.333% (14/15) |
| | 23 | 8 |
QThreadPoolPrivateName: | QThreadPoolPrivate | Coverage: | 93.333% (84/90) |
| | 94 | 33 |
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 |
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 |
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 |
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 |
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 |
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 |
QItemSelectionName: | QItemSelection | Coverage: | 93.671% (74/79) |
| | 86 | 28 |
QMetaCallEventName: | QMetaCallEvent | Coverage: | 93.750% (30/32) |
| | 18 | 12 |
QSizeName: | QSize | Coverage: | 93.750% (15/16) |
| | 12 | 5 |
QSizeFName: | QSizeF | Coverage: | 93.750% (15/16) |
| | 11 | 5 |
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 |
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 |
QSettingsPrivateName: | QSettingsPrivate | Coverage: | 93.953% (404/430) |
| | 368 | 143 |
QDirIteratorPrivateName: | QDirIteratorPrivate | Coverage: | 94.083% (159/169) |
| | 114 | 38 |
QFontEngineMultiFontConfigName: | QFontEngineMultiFontConfig | Coverage: | 94.118% (16/17) |
| | 29 | 9 |
QRegularExpressionMatchIteratorName: | QRegularExpressionMatchIterator | Coverage: | 94.118% (16/17) |
| | 22 | 13 |
QDirSortItemComparatorName: | QDirSortItemComparator | Coverage: | 94.231% (49/52) |
| | 44 | 14 |
QFileSystemMetaDataName: | QFileSystemMetaData | Coverage: | 94.444% (51/54) |
| | 72 | 23 |
QHostInfoRunnableName: | QHostInfoRunnable | Coverage: | 94.444% (17/18) |
| | 29 | 7 |
QDBusMessageName: | QDBusMessage | Coverage: | 94.521% (69/73) |
| | 89 | 44 |
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 |
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 |
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 |
QResourceFileEnginePrivateName: | QResourceFileEnginePrivate | Coverage: | 95.000% (19/20) |
| | 12 | 6 |
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 |
QIPAddressUtilsName: | QIPAddressUtils | Coverage: | 95.067% (212/223) |
| | 186 | 63 |
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 |
QNetworkCacheMetaDataName: | QNetworkCacheMetaData | Coverage: | 95.238% (20/21) |
| | 26 | 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 |
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 |
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 |
QUtf16Name: | QUtf16 | Coverage: | 95.506% (85/89) |
| | 80 | 26 |
QUtf8Name: | QUtf8 | Coverage: | 95.541% (150/157) |
| | 157 | 48 |
QUrlQueryName: | QUrlQuery | Coverage: | 95.604% (87/91) |
| | 99 | 47 |
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 |
QSqlCachedResultPrivateName: | QSqlCachedResultPrivate | Coverage: | 95.833% (23/24) |
| | 30 | 12 |
QTemporaryFileEngineName: | QTemporaryFileEngine | Coverage: | 95.918% (47/49) |
| | 78 | 21 |
QAbstractAnimationName: | QAbstractAnimation | Coverage: | 95.960% (95/99) |
| | 98 | 42 |
QBenchmarkTestMethodDataName: | QBenchmarkTestMethodData | Coverage: | 96.000% (24/25) |
| | 22 | 10 |
QSingleShotTimerName: | QSingleShotTimer | Coverage: | 96.000% (24/25) |
| | 20 | 10 |
QTemporaryFileName: | QTemporaryFile | Coverage: | 96.000% (48/50) |
| | 58 | 24 |
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 |
QHttpNetworkHeaderPrivateName: | QHttpNetworkHeaderPrivate | Coverage: | 96.154% (25/26) |
| | 35 | 16 |
QMapNodeBaseName: | QMapNodeBase | Coverage: | 96.154% (25/26) |
| | 22 | 8 |
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 |
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 |
QMapDataBaseName: | QMapDataBase | Coverage: | 96.667% (174/180) |
| | 183 | 55 |
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 |
QSqlRecordName: | QSqlRecord | Coverage: | 96.774% (60/62) |
| | 63 | 42 |
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 |
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 |
QVariantAnimationName: | QVariantAnimation | Coverage: | 97.143% (34/35) |
| | 45 | 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 |
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 |
QUrlPrivateName: | QUrlPrivate | Coverage: | 97.590% (405/415) |
| | 351 | 143 |
QCryptographicHashName: | QCryptographicHash | Coverage: | 97.674% (84/86) |
| | 113 | 45 |
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 |
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 |
QNetworkCookiePrivateName: | QNetworkCookiePrivate | Coverage: | 98.333% (59/60) |
| | 57 | 21 |
QDBusDemarshallerName: | QDBusDemarshaller | Coverage: | 98.551% (136/138) |
| | 121 | 91 |
QBitArrayName: | QBitArray | Coverage: | 98.571% (69/70) |
| | 81 | 26 |
QVersionNumberName: | QVersionNumber | Coverage: | 98.901% (90/91) |
| | 85 | 34 |
QFileSystemEntryName: | QFileSystemEntry | Coverage: | 99.174% (120/121) |
| | 113 | 52 |
CaseInsensitiveLessThanName: | CaseInsensitiveLessThan | Coverage: | 100.000% (1/1) |
| | 1 | 1 |
CreateMagicMatchRuleResultName: | CreateMagicMatchRuleResult | Coverage: | 100.000% (1/1) |
| | 3 | 1 |
DefaultRoleNamesName: | DefaultRoleNames | Coverage: | 100.000% (1/1) |
| | 6 | 1 |
DefaultStateTransitionName: | DefaultStateTransition | Coverage: | 100.000% (1/1) |
| | 2 | 1 |
DisconnectRelayEventName: | DisconnectRelayEvent | Coverage: | 100.000% (2/2) |
| | 3 | 2 |
EnterEventCheckerName: | EnterEventChecker | Coverage: | 100.000% (10/10) |
| | 8 | 4 |
ExposeCompressorName: | ExposeCompressor | Coverage: | 100.000% (15/15) |
| | 14 | 7 |
GraphicsViewName: | GraphicsView | Coverage: | 100.000% (3/3) |
| | 10 | 3 |
HandlersManagerName: | HandlersManager | Coverage: | 100.000% (2/2) |
| | 2 | 2 |
NamePredicateName: | NamePredicate | Coverage: | 100.000% (2/2) |
| | 2 | 2 |
OrgA11yStatusInterfaceName: | OrgA11yStatusInterface | Coverage: | 100.000% (1/1) |
| | 2 | 1 |
PropertyNotifyEventName: | PropertyNotifyEvent | Coverage: | 100.000% (14/14) |
| | 9 | 5 |