Function | Condition %▴ | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexity |
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: | 1807-1868 |
| | 42 | 10 |
QHashDataName: | QHashData | Coverage: | 92.000% (92/100) |
| | 123 | 37 |
QTemporaryDirName: | QTemporaryDir | Coverage: | 92.000% (23/25) |
| | 21 | 13 |
_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: | 131-175 |
| | 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: | 877-897 |
| | 15 | 7 |
QDirPrivateName: | QDirPrivate | Coverage: | 92.079% (93/101) |
| | 83 | 36 |
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: | 223-331 |
| | 49 | 15 |
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: | 3067-3141 |
| | 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: | 365-412 |
| | 29 | 9 |
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: | 4808-4862 |
| | 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: | 1767-1805 |
| | 26 | 10 |
QThreadPoolPrivateName: | QThreadPoolPrivate | Coverage: | 92.857% (91/98) |
| | 94 | 33 |
lo0bitsName: | 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_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: | 7134-7198 |
| | 45 | 18 |
QRectFName: | QRectF | Coverage: | 93.064% (161/173) |
| | 161 | 51 |
QMutexName: | QMutex | Coverage: | 93.103% (27/29) |
| | 24 | 13 |
integralCompareName: | 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 |
QFileSelectorName: | QFileSelector | Coverage: | 93.333% (14/15) |
| | 23 | 8 |
b2dName: | 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 |
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: | 1290-1315 |
| | 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: | 2426-2460 |
| | 20 | 5 |
isValidCharacterNoDashName: | 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 |
multName: | 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 |
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: | 45-73 |
| | 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: | 1223-1239 |
| | 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: | 99-115 |
| | 12 | 3 |
QNetworkInterfaceName: | QNetworkInterface | Coverage: | 93.548% (29/31) |
| | 33 | 17 |
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: | 1871-1957 |
| | 59 | 20 |
QUrlQueryName: | QUrlQuery | Coverage: | 93.578% (102/109) |
| | 100 | 47 |
QMetaCallEventName: | QMetaCallEvent | Coverage: | 93.750% (30/32) |
| | 18 | 12 |
QSizeName: | QSize | Coverage: | 93.750% (15/16) |
| | 14 | 5 |
QSizeFName: | QSizeF | Coverage: | 93.750% (15/16) |
| | 13 | 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: | 104-125 |
| | 12 | 6 |
QItemSelectionName: | QItemSelection | Coverage: | 93.902% (77/82) |
| | 90 | 29 |
QSettingsPrivateName: | QSettingsPrivate | Coverage: | 93.953% (404/430) |
| | 387 | 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 |
isValidCharacterName: | 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 |
QDirSortItemComparatorName: | QDirSortItemComparator | Coverage: | 94.231% (49/52) |
| | 44 | 14 |
QFileSystemMetaDataName: | QFileSystemMetaData | Coverage: | 94.444% (51/54) |
| | 72 | 23 |
QDBusMessageName: | QDBusMessage | Coverage: | 94.521% (69/73) |
| | 89 | 44 |
QNetworkCookieName: | QNetworkCookie | Coverage: | 94.624% (88/93) |
| | 82 | 39 |
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: | 350-378 |
| | 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: | 147-173 |
| | 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: | 2643-2662 |
| | 11 | 5 |
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: | 1851-1867 |
| | 11 | 6 |
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: | 4417-4455 |
| | 29 | 7 |
QIPAddressUtilsName: | QIPAddressUtils | Coverage: | 95.154% (216/227) |
| | 186 | 63 |
QHostInfoRunnableName: | QHostInfoRunnable | Coverage: | 95.238% (20/21) |
| | 28 | 8 |
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: | 531-551 |
| | 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: | 2465-2559 |
| | 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: | 101-149 |
| | 22 | 8 |
QUtf16Name: | QUtf16 | Coverage: | 95.506% (85/89) |
| | 80 | 26 |
QUtf8Name: | QUtf8 | Coverage: | 95.513% (149/156) |
| | 154 | 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: | 10003-10028 |
| | 17 | 9 |
QSqlCachedResultPrivateName: | QSqlCachedResultPrivate | Coverage: | 95.833% (23/24) |
| | 31 | 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: | 344-445 |
| | 63 | 21 |
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: | 2459-2490 |
| | 25 | 8 |
bm_findName: | 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 |
QHttpNetworkHeaderPrivateName: | QHttpNetworkHeaderPrivate | Coverage: | 96.667% (29/30) |
| | 35 | 16 |
QMapDataBaseName: | QMapDataBase | Coverage: | 96.667% (174/180) |
| | 183 | 55 |
validateSingleTypeName: | 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 |
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: | 2046-2161 |
| | 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: | 938-1011 |
| | 35 | 35 |
buildMetaObjectName: | 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 |
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) | 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 |
QUrlPrivateName: | QUrlPrivate | Coverage: | 97.412% (414/425) |
| | 350 | 145 |
QCryptographicHashName: | QCryptographicHash | Coverage: | 97.674% (84/86) |
| | 113 | 45 |
QDBusDemarshallerName: | QDBusDemarshaller | Coverage: | 97.857% (137/140) |
| | 121 | 91 |
parseIpFutureName: | 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 |
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: | 4169-4228 |
| | 41 | 17 |
QNetworkCookiePrivateName: | QNetworkCookiePrivate | Coverage: | 98.333% (59/60) |
| | 57 | 21 |
QBitArrayName: | QBitArray | Coverage: | 98.611% (71/72) |
| | 81 | 26 |
QVersionNumberName: | QVersionNumber | Coverage: | 98.901% (90/91) |
| | 85 | 34 |
QFileSystemEntryName: | QFileSystemEntry | Coverage: | 99.248% (132/133) |
| | 113 | 52 |
BfreeName: | 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 |
CaseInsensitiveLessThanName: | CaseInsensitiveLessThan | Coverage: | 100.000% (1/1) |
| | 1 | 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 |