| Function | Condition %▾ | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexity |
qDBusIntrospectObject| Name: | qDBusIntrospectObject | | Prototype: | QString qDBusIntrospectObject(const QDBusConnectionPrivate::ObjectTreeNode &node, const QString &path) | | Coverage: | 85.714% (30/35) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusinternalfilters.cpp | | Lines: | 127-201 |
| | 52 | 11 |
operator>>| Name: | operator>> | | Prototype: | QDataStream &operator>>(QDataStream &in, QHostAddress &address) | | Coverage: | 85.714% (12/14) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostaddress.cpp | | Lines: | 1179-1214 |
| | 22 | 7 |
idleTimerSourcePrepare| Name: | idleTimerSourcePrepare | | Prototype: | static gboolean idleTimerSourcePrepare(GSource *source, gint *timeout) | | Coverage: | 85.714% (6/7) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp | | Lines: | 201-213 |
| | 7 | 3 |
getLocaleListData| Name: | getLocaleListData | | Prototype: | static QString getLocaleListData(const ushort *data, int size, int index) | | Coverage: | 85.714% (12/14) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp | | Lines: | 668-682 |
| | 10 | 4 |
descendantDepth| Name: | descendantDepth | | Prototype: | static int descendantDepth(const QAbstractState *state, const QAbstractState *ancestor) | | Coverage: | 85.714% (6/7) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/statemachine/qstatemachine.cpp | | Lines: | 310-319 |
| | 6 | 3 |
appendOrganizationAndApp| Name: | appendOrganizationAndApp | | Prototype: | static void appendOrganizationAndApp(QString &path) | | Coverage: | 85.714% (6/7) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qstandardpaths_unix.cpp | | Lines: | 57-69 |
| | 6 | 3 |
QXmlParseException| Name: | QXmlParseException | | Coverage: | 85.714% (6/7) |
| | 13 | 7 |
QThreadPool| Name: | QThreadPool | | Coverage: | 85.714% (42/49) |
| | 54 | 25 |
QThreadData| Name: | QThreadData | | Coverage: | 85.714% (24/28) |
| | 36 | 13 |
QTeamCityLogger| Name: | QTeamCityLogger | | Coverage: | 85.714% (60/70) |
| | 89 | 27 |
QSqlField| Name: | QSqlField | | Coverage: | 85.714% (36/42) |
| | 53 | 34 |
QPrinterInfoPrivate| Name: | QPrinterInfoPrivate | | Coverage: | 85.714% (6/7) |
| | 4 | 3 |
QPlainTestLogger| Name: | QPlainTestLogger | | Coverage: | 85.714% (54/63) |
| | 99 | 21 |
QNetworkRequestPrivate| Name: | QNetworkRequestPrivate | | Coverage: | 85.714% (6/7) |
| | 13 | 5 |
QNetworkInterface| Name: | QNetworkInterface | | Coverage: | 85.714% (24/28) |
| | 43 | 22 |
QEmptyItemModel| Name: | QEmptyItemModel | | Coverage: | 85.714% (6/7) |
| | 7 | 7 |
QTextBoundaryFinder| Name: | QTextBoundaryFinder | | Coverage: | 85.648% (185/216) |
| | 133 | 73 |
makePattern| Name: | makePattern | | Prototype: | static inline QByteArray makePattern(const QByteArray &value) | | Coverage: | 85.484% (53/62) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimemagicrule.cpp | | Lines: | 173-220 |
| | 35 | 14 |
QDBusAdaptorConnector| Name: | QDBusAdaptorConnector | | Coverage: | 85.455% (47/55) |
| | 73 | 23 |
QCommandLineParserPrivate| Name: | QCommandLineParserPrivate | | Coverage: | 85.401% (117/137) |
| | 143 | 53 |
QByteArray| Name: | QByteArray | | Coverage: | 85.310% (633/742) |
| | 672 | 273 |
QNetworkDiskCache| Name: | QNetworkDiskCache | | Coverage: | 85.211% (121/142) |
| | 173 | 53 |
operator>>| Name: | operator>> | | Prototype: | QDataStream &operator>>(QDataStream &in, QDateTime &dateTime) | | Coverage: | 85.185% (23/27) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 4894-4964 |
| | 36 | 12 |
QResourcePrivate| Name: | QResourcePrivate | | Coverage: | 85.185% (69/81) |
| | 84 | 29 |
fastDetermineNameChar| Name: | fastDetermineNameChar | | Prototype: | static inline NameChar fastDetermineNameChar(QChar ch) | | Coverage: | 85.000% (17/20) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/xml/sax/qxml.cpp | | Lines: | 2886-2901 |
| | 11 | 4 |
QDebugStateSaverPrivate| Name: | QDebugStateSaverPrivate | | Coverage: | 85.000% (17/20) |
| | 12 | 7 |
QItemSelectionModel| Name: | QItemSelectionModel | | Coverage: | 84.986% (300/353) |
| | 286 | 122 |
QDBusXmlParser| Name: | QDBusXmlParser | | Coverage: | 84.848% (28/33) |
| | 21 | 14 |
typeNameToXml| Name: | typeNameToXml | | Prototype: | static inline QString typeNameToXml(const char *typeName) | | Coverage: | 84.615% (11/13) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusxmlgenerator.cpp | | Lines: | 58-76 |
| | 12 | 5 |
qt_int_sqrt| Name: | qt_int_sqrt | | Prototype: | unsigned int qt_int_sqrt(unsigned int n) | | Coverage: | 84.615% (11/13) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/global/qglobal.cpp | | Lines: | 3098-3119 |
| | 15 | 5 |
qNetworkConfigurationManagerPrivate| Name: | qNetworkConfigurationManagerPrivate | | Prototype: | QNetworkConfigurationManagerPrivate *qNetworkConfigurationManagerPrivate() | | Coverage: | 84.615% (11/13) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/bearer/qnetworkconfigmanager.cpp | | Lines: | 82-109 |
| | 16 | 4 |
locatePlugin| Name: | locatePlugin | | Prototype: | static QString locatePlugin(const QString& fileName) | | Coverage: | 84.615% (22/26) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/plugin/qpluginloader.cpp | | Lines: | 281-324 |
| | 28 | 11 |
integralCompare| Name: | integralCompare | | Prototype: | static int integralCompare(uint promotedType, const QVariant::Private *d1, const QVariant::Private *d2) | | Coverage: | 84.615% (11/13) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qvariant.cpp | | Lines: | 3439-3460 |
| | 15 | 5 |
indexesFromRange| Name: | indexesFromRange | | Prototype: | template<typename ModelIndexContainer> static void indexesFromRange(const QItemSelectionRange &range, ModelIndexContainer &result) | | Coverage: | 84.615% (11/13) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp | | Lines: | 311-328 |
| | 7 | 5 |
checkIfValid| Name: | checkIfValid | | Prototype: | static QDBusError checkIfValid(const QString &service, const QString &path, const QString &interface, bool isDynamic, bool isPeer) | | Coverage: | 84.615% (11/13) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusabstractinterface.cpp | | Lines: | 84-105 |
| | 10 | 5 |
UnrollTailLoop| Name: | UnrollTailLoop | | Coverage: | 84.615% (11/13) |
| | 10 | 9 |
QSocks5PasswordAuthenticator| Name: | QSocks5PasswordAuthenticator | | Coverage: | 84.615% (11/13) |
| | 26 | 7 |
headerName| Name: | headerName | | Prototype: | static QByteArray headerName(QNetworkRequest::KnownHeaders header) | | Coverage: | 84.211% (16/19) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/access/qnetworkrequest.cpp | | Lines: | 708-743 |
| | 11 | 10 |
QNetworkAccessAuthenticationManager| Name: | QNetworkAccessAuthenticationManager | | Coverage: | 84.211% (48/57) |
| | 86 | 24 |
QCommandLineOption| Name: | QCommandLineOption | | Coverage: | 84.211% (16/19) |
| | 28 | 17 |
QMimeGlobPattern| Name: | QMimeGlobPattern | | Coverage: | 84.091% (37/44) |
| | 28 | 10 |
QNetworkAccessFtpBackend| Name: | QNetworkAccessFtpBackend | | Coverage: | 84.058% (116/138) |
| | 147 | 49 |
ucstricmp| Name: | ucstricmp | | Prototype: | static int ucstricmp(const ushort *a, const ushort *ae, const ushort *b, const ushort *be) | | Coverage: | 84.000% (21/25) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp | | Lines: | 379-410 |
| | 22 | 9 |
qDBusReplyFill| Name: | qDBusReplyFill | | Prototype: | void qDBusReplyFill(const QDBusMessage &reply, QDBusError &error, QVariant &data) | | Coverage: | 84.000% (21/25) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusreply.cpp | | Lines: | 190-247 |
| | 37 | 8 |
QSqlRelationalTableModel| Name: | QSqlRelationalTableModel | | Coverage: | 83.942% (115/137) |
| | 134 | 48 |
QResourceRoot| Name: | QResourceRoot | | Coverage: | 83.916% (120/143) |
| | 160 | 52 |
QXmlSimpleReaderPrivate| Name: | QXmlSimpleReaderPrivate | | Coverage: | 83.860% (2177/2596) |
| | 2639 | 976 |
QSqlQueryModel| Name: | QSqlQueryModel | | Coverage: | 83.832% (140/167) |
| | 166 | 66 |
QString| Name: | QString | | Coverage: | 83.675% (1102/1317) |
| | 1289 | 542 |
QItemSelectionModelPrivate| Name: | QItemSelectionModelPrivate | | Coverage: | 83.598% (158/189) |
| | 182 | 45 |
QHttpProtocolHandler| Name: | QHttpProtocolHandler | | Coverage: | 83.575% (173/207) |
| | 198 | 63 |
removeDotsFromPath| Name: | removeDotsFromPath | | Prototype: | static void removeDotsFromPath(QString *path) | | Coverage: | 83.516% (76/91) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp | | Lines: | 1535-1609 |
| | 39 | 15 |
QXmlStreamReader| Name: | QXmlStreamReader | | Coverage: | 83.516% (152/182) |
| | 182 | 93 |
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: | 246-261 |
| | 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: | 800-807 |
| | 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: | 912-917 |
| | 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: | 637-648 |
| | 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: | 182-194 |
| | 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: | 728-734 |
| | 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: | 811-847 |
| | 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: | 3054-3061 |
| | 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: | 181-190 |
| | 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: | 628-660 |
| | 22 | 9 |
foldCase| Name: | foldCase | | Prototype: | static inline uint foldCase(uint ch, uint &last) noexcept | | Coverage: | 83.333% (5/6) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qchar.cpp | | Lines: | 1521-1528 |
| | 5 | 2 |
doubleToAscii| Name: | doubleToAscii | | Prototype: | void doubleToAscii(double d, QLocaleData::DoubleForm form, int precision, char *buf, int bufSize, bool &sign, int &length, int &decpt) | | Coverage: | 83.333% (35/42) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale_tools.cpp | | Lines: | 78-278 |
| | 36 | 11 |
addressFromSockaddr| Name: | addressFromSockaddr | | Prototype: | static QHostAddress addressFromSockaddr(sockaddr *sa, int ifindex = 0, const QString &ifname = QString()) | | Coverage: | 83.333% (15/18) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qnetworkinterface_unix.cpp | | Lines: | 88-109 |
| | 13 | 6 |
TypeInfo| Name: | TypeInfo | | Coverage: | 83.333% (20/24) |
| | 20 | 12 |
QTimer| Name: | QTimer | | Coverage: | 83.333% (45/54) |
| | 39 | 22 |
QLibrarySettings| Name: | QLibrarySettings | | Coverage: | 83.333% (20/24) |
| | 16 | 4 |
QHttpMultiPart| Name: | QHttpMultiPart | | Coverage: | 83.333% (5/6) |
| | 8 | 6 |
QGlobalNetworkProxy| Name: | QGlobalNetworkProxy | | Coverage: | 83.333% (30/36) |
| | 42 | 13 |
QAbstractTransitionPrivate| Name: | QAbstractTransitionPrivate | | Coverage: | 83.333% (10/12) |
| | 15 | 8 |
QSortFilterProxyModelPrivate| Name: | QSortFilterProxyModelPrivate | | Coverage: | 83.279% (508/610) |
| | 659 | 200 |
QSslCertificate| Name: | QSslCertificate | | Coverage: | 82.828% (164/198) |
| | 182 | 78 |
fromOffsetString| Name: | fromOffsetString | | Prototype: | static int fromOffsetString(const QStringRef &offsetString, bool *valid) noexcept | | Coverage: | 82.759% (24/29) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 260-302 |
| | 28 | 7 |
QRelation| Name: | QRelation | | Coverage: | 82.759% (24/29) |
| | 36 | 15 |
QAbstractSocket| Name: | QAbstractSocket | | Coverage: | 82.705% (373/451) |
| | 425 | 162 |
QAbstractProxyModel| Name: | QAbstractProxyModel | | Coverage: | 82.540% (52/63) |
| | 99 | 40 |
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: | 1880-1896 |
| | 11 | 5 |
QPollingFileSystemWatcherEngine| Name: | QPollingFileSystemWatcherEngine | | Coverage: | 82.353% (56/68) |
| | 67 | 23 |
QCommandLineParser| Name: | QCommandLineParser | | Coverage: | 82.222% (74/90) |
| | 95 | 56 |
QSemaphore| Name: | QSemaphore | | Coverage: | 82.143% (23/28) |
| | 34 | 13 |
QMetaObject| Name: | QMetaObject | | Coverage: | 82.105% (390/475) |
| | 512 | 171 |
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: | 663-690 |
| | 17 | 4 |
QTextStreamPrivate| Name: | QTextStreamPrivate | | Coverage: | 81.818% (468/572) |
| | 465 | 179 |
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 |
ClipboardEvent| Name: | ClipboardEvent | | Coverage: | 81.818% (9/11) |
| | 11 | 5 |
QStateMachine| Name: | QStateMachine | | Coverage: | 81.667% (98/120) |
| | 167 | 64 |
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: | 81-160 |
| | 71 | 23 |
QFtpPrivate| Name: | QFtpPrivate | | Coverage: | 81.301% (100/123) |
| | 124 | 45 |
QRegExpCharClass| Name: | QRegExpCharClass | | Coverage: | 81.250% (39/48) |
| | 44 | 22 |
QFutureInterfaceBase| Name: | QFutureInterfaceBase | | Coverage: | 81.102% (103/127) |
| | 154 | 69 |
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: | 7839-7863 |
| | 19 | 7 |