| Function | Condition %▾ | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexity |
unixCheckClockType| Name: | unixCheckClockType | | Prototype: | static int unixCheckClockType() | | Coverage: | 83.333% (5/6) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qelapsedtimer_unix.cpp | | Lines: | 106-138 |
| | 6 | 2 |
uenumToIdList| Name: | uenumToIdList | | Prototype: | static QList<QByteArray> uenumToIdList(UEnumeration *uenum) | | Coverage: | 83.333% (5/6) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qtimezoneprivate_icu.cpp | | Lines: | 240-255 |
| | 11 | 2 |
toStringIsoDate| Name: | toStringIsoDate | | Prototype: | static QString toStringIsoDate(qint64 jd) | | Coverage: | 83.333% (5/6) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 792-799 |
| | 4 | 2 |
tlWindow| Name: | tlWindow | | Prototype: | static QWindow *tlWindow(QWindow *window) | | Coverage: | 83.333% (5/6) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbwindow.cpp | | Lines: | 935-940 |
| | 3 | 2 |
systemData| Name: | systemData | | Prototype: | static const QLocaleData *systemData() | | Coverage: | 83.333% (5/6) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp | | Lines: | 634-645 |
| | 3 | 2 |
qt_nanosleep| Name: | qt_nanosleep | | Prototype: | void qt_nanosleep(timespec amount) | | Coverage: | 83.333% (5/6) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qelapsedtimer_unix.cpp | | Lines: | 171-183 |
| | 2 | 2 |
qToLower| Name: | qToLower | | Prototype: | inline char qToLower(char ch) | | Coverage: | 83.333% (5/6) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp | | Lines: | 721-727 |
| | 3 | 2 |
parseHeaderName| Name: | parseHeaderName | | Prototype: | static int parseHeaderName(const QByteArray &headerName) | | Coverage: | 83.333% (30/36) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/access/qnetworkrequest.cpp | | Lines: | 803-839 |
| | 24 | 14 |
operator<<| Name: | operator<< | | Prototype: | QDataStream &operator<<(QDataStream &out, const QByteArray &ba) | | Coverage: | 83.333% (5/6) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qbytearray.cpp | | Lines: | 2909-2916 |
| | 4 | 2 |
isExpectFailData| Name: | isExpectFailData | | Prototype: | static bool isExpectFailData(const char *dataIndex) | | Coverage: | 83.333% (10/12) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/testlib/qtestresult.cpp | | Lines: | 175-184 |
| | 7 | 4 |
huntAndEmit| Name: | huntAndEmit | | Prototype: | static void huntAndEmit(DBusConnection *connection, DBusMessage *msg, QObject *needle, const QDBusConnectionPrivate::ObjectTreeNode &haystack, bool isScriptable, bool isAdaptor, const QString &path = QString()) | | Coverage: | 83.333% (25/30) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusintegrator.cpp | | Lines: | 623-655 |
| | 22 | 9 |
foldCase| Name: | foldCase | | Prototype: | static inline uint foldCase(uint ch, uint &last) | | Coverage: | 83.333% (5/6) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qchar.cpp | | Lines: | 1515-1522 |
| | 5 | 2 |
d2b| Name: | d2b | | Prototype: | static Bigint *d2b(double d, int *e, int *bits) | | Coverage: | 83.333% (15/18) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale_tools.cpp | | Lines: | 1086-1197 |
| | 25 | 5 |
TypeInfo| Name: | TypeInfo | | Coverage: | 83.333% (20/24) |
| | 20 | 12 |
QTimer| Name: | QTimer | | Coverage: | 83.333% (45/54) |
| | 39 | 22 |
QHttpMultiPart| Name: | QHttpMultiPart | | Coverage: | 83.333% (5/6) |
| | 8 | 6 |
QGlobalNetworkProxy| Name: | QGlobalNetworkProxy | | Coverage: | 83.333% (30/36) |
| | 42 | 13 |
QGLShaderStorage| Name: | QGLShaderStorage | | Coverage: | 83.333% (5/6) |
| | 6 | 2 |
QAbstractTransitionPrivate| Name: | QAbstractTransitionPrivate | | Coverage: | 83.333% (10/12) |
| | 15 | 8 |
Flags| Name: | Flags | | Coverage: | 83.333% (20/24) |
| | 18 | 12 |
QSortFilterProxyModelPrivate| Name: | QSortFilterProxyModelPrivate | | Coverage: | 83.279% (508/610) |
| | 659 | 200 |
QResourceRoot| Name: | QResourceRoot | | Coverage: | 83.221% (124/149) |
| | 160 | 52 |
QString| Name: | QString | | Coverage: | 83.151% (1140/1371) |
| | 1325 | 560 |
QProcess| Name: | QProcess | | Coverage: | 83.105% (182/219) |
| | 271 | 103 |
QSslCertificate| Name: | QSslCertificate | | Coverage: | 83.000% (166/200) |
| | 181 | 78 |
QIODevice| Name: | QIODevice | | Coverage: | 82.948% (287/346) |
| | 306 | 119 |
QNetworkAddressEntry| Name: | QNetworkAddressEntry | | Coverage: | 82.759% (24/29) |
| | 22 | 15 |
QAbstractProxyModel| Name: | QAbstractProxyModel | | Coverage: | 82.540% (52/63) |
| | 99 | 40 |
QMetaObject| Name: | QMetaObject | | Coverage: | 82.510% (401/486) |
| | 516 | 174 |
qt_qFindChildren_helper| Name: | qt_qFindChildren_helper | | Prototype: | void qt_qFindChildren_helper(const QObject *parent, const QRegExp &re, const QMetaObject &mo, QList<void*> *list, Qt::FindChildOptions options) | | Coverage: | 82.353% (14/17) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qobject.cpp | | Lines: | 1873-1889 |
| | 11 | 5 |
QPollingFileSystemWatcherEngine| Name: | QPollingFileSystemWatcherEngine | | Coverage: | 82.353% (56/68) |
| | 67 | 23 |
qFormatLogMessage| Name: | qFormatLogMessage | | Prototype: | QString qFormatLogMessage(QtMsgType type, const QMessageLogContext &context, const QString &str) | | Coverage: | 82.192% (120/146) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/global/qlogging.cpp | | Lines: | 1262-1431 |
| | 108 | 47 |
fromOffsetString| Name: | fromOffsetString | | Prototype: | static int fromOffsetString(const QStringRef &offsetString, bool *valid) | | Coverage: | 82.143% (23/28) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 255-294 |
| | 24 | 7 |
QSemaphore| Name: | QSemaphore | | Coverage: | 82.143% (23/28) |
| | 34 | 13 |
QTextStreamPrivate| Name: | QTextStreamPrivate | | Coverage: | 81.947% (463/565) |
| | 463 | 176 |
qFloatDistance| Name: | qFloatDistance | | Prototype: | quint32 qFloatDistance(float a, float b) | | Coverage: | 81.818% (18/22) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/global/qnumeric.cpp | | Lines: | 138-171 |
| | 17 | 7 |
qFloatDistance| Name: | qFloatDistance | | Prototype: | quint64 qFloatDistance(double a, double b) | | Coverage: | 81.818% (18/22) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/global/qnumeric.cpp | | Lines: | 196-229 |
| | 17 | 7 |
operator<<| Name: | operator<< | | Prototype: | QDataStream &operator<<(QDataStream &s, const QUuid &id) | | Coverage: | 81.818% (9/11) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/plugin/quuid.cpp | | Lines: | 657-684 |
| | 17 | 4 |
QRelation| Name: | QRelation | | Coverage: | 81.818% (27/33) |
| | 36 | 15 |
QRegularExpressionPrivate| Name: | QRegularExpressionPrivate | | Coverage: | 81.818% (108/132) |
| | 158 | 41 |
QPlatformPrinterSupportPlugin| Name: | QPlatformPrinterSupportPlugin | | Coverage: | 81.818% (9/11) |
| | 9 | 5 |
QNetworkAuthenticationCache| Name: | QNetworkAuthenticationCache | | Coverage: | 81.818% (18/22) |
| | 21 | 8 |
QLoggingSettingsParser| Name: | QLoggingSettingsParser | | Coverage: | 81.818% (27/33) |
| | 29 | 11 |
QHttpSocketEngineHandler| Name: | QHttpSocketEngineHandler | | Coverage: | 81.818% (9/11) |
| | 10 | 5 |
QEventDispatcherGlibPrivate| Name: | QEventDispatcherGlibPrivate | | Coverage: | 81.818% (9/11) |
| | 34 | 4 |
QStateMachine| Name: | QStateMachine | | Coverage: | 81.667% (98/120) |
| | 167 | 64 |
QItemSelectionModelPrivate| Name: | QItemSelectionModelPrivate | | Coverage: | 81.481% (154/189) |
| | 182 | 45 |
QAbstractPrintDialog| Name: | QAbstractPrintDialog | | Coverage: | 81.481% (22/27) |
| | 60 | 19 |
QHttpNetworkRequest| Name: | QHttpNetworkRequest | | Coverage: | 81.429% (57/70) |
| | 59 | 52 |
variantToString| Name: | variantToString | | Prototype: | static bool variantToString(const QVariant &arg, QString &out) | | Coverage: | 81.395% (70/86) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusutil.cpp | | Lines: | 74-153 |
| | 71 | 23 |
QFtpPrivate| Name: | QFtpPrivate | | Coverage: | 81.301% (100/123) |
| | 124 | 45 |
QRegExpCharClass| Name: | QRegExpCharClass | | Coverage: | 81.250% (39/48) |
| | 44 | 22 |
QAbstractSocket| Name: | QAbstractSocket | | Coverage: | 81.197% (380/468) |
| | 430 | 165 |
getEscape| Name: | getEscape | | Prototype: | static int getEscape(const QChar *uc, int *pos, int len, int maxNumber = 999) | | Coverage: | 80.952% (17/21) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp | | Lines: | 7817-7841 |
| | 19 | 7 |
QSharedMemory| Name: | QSharedMemory | | Coverage: | 80.952% (68/84) |
| | 91 | 36 |
QPersistentModelIndex| Name: | QPersistentModelIndex | | Coverage: | 80.952% (85/105) |
| | 66 | 44 |
QNetworkInterfaceManager| Name: | QNetworkInterfaceManager | | Coverage: | 80.952% (17/21) |
| | 23 | 10 |
QLibraryInfoPrivate| Name: | QLibraryInfoPrivate | | Coverage: | 80.952% (17/21) |
| | 14 | 9 |
QFutureInterfaceBase| Name: | QFutureInterfaceBase | | Coverage: | 80.916% (106/131) |
| | 154 | 69 |
wc2rx| Name: | wc2rx | | Prototype: | static QString wc2rx(const QString &wc_str, const bool enableEscaping) | | Coverage: | 80.822% (59/73) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 756-850 |
| | 56 | 31 |
QFtp| Name: | QFtp | | Coverage: | 80.597% (54/67) |
| | 103 | 40 |
generateInterfaceXml| Name: | generateInterfaceXml | | Prototype: | static QString generateInterfaceXml(const QMetaObject *mo, int flags, int methodOffset, int propOffset) | | Coverage: | 80.508% (95/118) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusxmlgenerator.cpp | | Lines: | 83-238 |
| | 105 | 28 |
QTime| Name: | QTime | | Coverage: | 80.374% (86/107) |
| | 72 | 54 |
QReadWriteLock| Name: | QReadWriteLock | | Coverage: | 80.342% (94/117) |
| | 183 | 43 |
QMimeXMLProvider| Name: | QMimeXMLProvider | | Coverage: | 80.328% (49/61) |
| | 71 | 33 |
QSqlDatabasePrivate| Name: | QSqlDatabasePrivate | | Coverage: | 80.282% (57/71) |
| | 84 | 29 |
QSqlTableModel| Name: | QSqlTableModel | | Coverage: | 80.272% (354/441) |
| | 414 | 148 |
testShowWithoutActivating| Name: | testShowWithoutActivating | | Prototype: | static inline bool testShowWithoutActivating(const QWindow *window) | | Coverage: | 80.000% (4/5) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbwindow.cpp | | Lines: | 803-808 |
| | 2 | 1 |
qglx_buildSpec| Name: | qglx_buildSpec | | Prototype: | QVector<int> qglx_buildSpec(const QSurfaceFormat &format, int drawableBit) | | Coverage: | 80.000% (20/25) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/platformsupport/glxconvenience/qglxconvenience.cpp | | Lines: | 72-111 |
| | 24 | 5 |
qTopLevelDomain| Name: | qTopLevelDomain | | Prototype: | QString qTopLevelDomain(const QString &domain) | | Coverage: | 80.000% (8/10) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qtldurl.cpp | | Lines: | 73-87 |
| | 10 | 4 |
qRegisterResourceData| Name: | qRegisterResourceData | | Prototype: | bool qRegisterResourceData(int version, const unsigned char *tree, const unsigned char *name, const unsigned char *data) | | Coverage: | 80.000% (12/15) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qresource.cpp | | Lines: | 822-843 |
| | 14 | 5 |
qIsUpper| Name: | qIsUpper | | Prototype: | inline bool qIsUpper(char ch) | | Coverage: | 80.000% (4/5) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp | | Lines: | 711-714 |
| | 1 | 1 |
qEncodeHmacMd5| Name: | qEncodeHmacMd5 | | Prototype: | QByteArray qEncodeHmacMd5(QByteArray &key, const QByteArray &message) | | Coverage: | 80.000% (8/10) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qauthenticator.cpp | | Lines: | 1121-1179 |
| | 25 | 4 |
qDBusSignalFilter| Name: | qDBusSignalFilter | | Prototype: | static DBusHandlerResult qDBusSignalFilter(DBusConnection *connection, DBusMessage *message, void *data) | | Coverage: | 80.000% (8/10) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusintegrator.cpp | | Lines: | 507-522 |
| | 10 | 3 |
qDBusFindAdaptorConnector| Name: | qDBusFindAdaptorConnector | | Prototype: | QDBusAdaptorConnector *qDBusFindAdaptorConnector(QObject *obj) | | Coverage: | 80.000% (8/10) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusabstractadaptor.cpp | | Lines: | 65-80 |
| | 11 | 4 |
prepareEngine_helper| Name: | prepareEngine_helper | | Prototype: | static void prepareEngine_helper(QRegExpPrivate *priv) | | Coverage: | 80.000% (12/15) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 3837-3854 |
| | 10 | 5 |
pathIsDir| Name: | pathIsDir | | Prototype: | static bool pathIsDir(const QByteArray &nativeName) | | Coverage: | 80.000% (4/5) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qfilesystemengine_unix.cpp | | Lines: | 553-560 |
| | 2 | 1 |
multadd| Name: | multadd | | Prototype: | static Bigint *multadd(Bigint *b, int m, int a) | | Coverage: | 80.000% (8/10) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale_tools.cpp | | Lines: | 564-601 |
| | 22 | 4 |
isWhitespace| Name: | isWhitespace | | Prototype: | static inline bool isWhitespace(char c) | | Coverage: | 80.000% (4/5) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/access/qnetworkcookie.cpp | | Lines: | 528-529 |
| | 1 | 1 |
isValueSeparator| Name: | isValueSeparator | | Prototype: | static inline bool isValueSeparator(char c) | | Coverage: | 80.000% (4/5) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/access/qnetworkcookie.cpp | | Lines: | 525-526 |
| | 1 | 1 |
isValid| Name: | isValid | | Prototype: | static inline bool isValid(xcb_generic_event_t *event) | | Coverage: | 80.000% (4/5) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbconnection.cpp | | Lines: | 1599-1602 |
| | 1 | 1 |
isSeparator| Name: | isSeparator | | Prototype: | static inline bool isSeparator(char c) | | Coverage: | 80.000% (4/5) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/access/qnetworkreplyhttpimpl.cpp | | Lines: | 64-68 |
| | 1 | 1 |
fromShortMonthName| Name: | fromShortMonthName | | Prototype: | static int fromShortMonthName(const QStringRef &monthName) | | Coverage: | 80.000% (8/10) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 187-199 |
| | 7 | 4 |
countBits| Name: | countBits | | Prototype: | static int countBits(int hint) | | Coverage: | 80.000% (8/10) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qhash.cpp | | Lines: | 415-431 |
| | 10 | 4 |
convertToIpv4| Name: | convertToIpv4 | | Prototype: | static bool convertToIpv4(quint32& a, const Q_IPV6ADDR &a6) | | Coverage: | 80.000% (8/10) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostaddress.cpp | | Lines: | 148-162 |
| | 10 | 4 |
calculateNextTimeout| Name: | calculateNextTimeout | | Prototype: | static void calculateNextTimeout(QTimerInfo *t, timespec currentTime) | | Coverage: | 80.000% (12/15) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qtimerinfo_unix.cpp | | Lines: | 333-373 |
| | 12 | 7 |
asciiIsLetter| Name: | asciiIsLetter | | Prototype: | static inline bool asciiIsLetter(char ch) | | Coverage: | 80.000% (4/5) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qtimezoneprivate_tz.cpp | | Lines: | 443-447 |
| | 2 | 1 |
argToString| Name: | argToString | | Prototype: | bool argToString(const QDBusArgument &busArg, QString &out) | | Coverage: | 80.000% (48/60) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusutil.cpp | | Lines: | 155-232 |
| | 51 | 24 |
QWaitConditionPrivate| Name: | QWaitConditionPrivate | | Coverage: | 80.000% (16/20) |
| | 20 | 7 |
QTestTablePrivate| Name: | QTestTablePrivate | | Coverage: | 80.000% (4/5) |
| | 5 | 5 |
QSignalTransitionPrivate| Name: | QSignalTransitionPrivate | | Coverage: | 80.000% (12/15) |
| | 17 | 7 |
QNetworkAccessBackendFactory| Name: | QNetworkAccessBackendFactory | | Coverage: | 80.000% (4/5) |
| | 5 | 3 |
QFinalState| Name: | QFinalState | | Coverage: | 80.000% (4/5) |
| | 7 | 5 |
QDBusSpyCallEvent| Name: | QDBusSpyCallEvent | | Coverage: | 80.000% (8/10) |
| | 6 | 5 |
QCoreApplicationData| Name: | QCoreApplicationData | | Coverage: | 80.000% (4/5) |
| | 4 | 3 |
QAbstractNativeEventFilter| Name: | QAbstractNativeEventFilter | | Coverage: | 80.000% (4/5) |
| | 4 | 3 |
QTimeZonePrivate| Name: | QTimeZonePrivate | | Coverage: | 79.894% (151/189) |
| | 184 | 74 |
QLibrary| Name: | QLibrary | | Coverage: | 79.747% (63/79) |
| | 72 | 34 |
QSequentialAnimationGroup| Name: | QSequentialAnimationGroup | | Coverage: | 79.730% (59/74) |
| | 68 | 26 |
QMetaObjectBuilder| Name: | QMetaObjectBuilder | | Coverage: | 79.703% (322/404) |
| | 411 | 152 |