Function | Condition %▾ | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexity |
QSharedMemoryName: | QSharedMemory | Coverage: | 80.952% (68/84) |
| | 91 | 36 |
wc2rxName: | 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: | 762-856 |
| | 56 | 31 |
QFtpName: | QFtp | Coverage: | 80.597% (54/67) |
| | 103 | 40 |
generateInterfaceXmlName: | 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: | 89-244 |
| | 105 | 28 |
QSqlTableModelName: | QSqlTableModel | Coverage: | 80.370% (348/433) |
| | 415 | 148 |
QMimeXMLProviderName: | QMimeXMLProvider | Coverage: | 80.328% (49/61) |
| | 71 | 33 |
QSqlDatabasePrivateName: | QSqlDatabasePrivate | Coverage: | 80.282% (57/71) |
| | 84 | 29 |
QPersistentModelIndexName: | QPersistentModelIndex | Coverage: | 80.198% (81/101) |
| | 66 | 44 |
qTopLevelDomainName: | 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: | 84-98 |
| | 10 | 4 |
qRegisterResourceDataName: | 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: | 828-849 |
| | 14 | 5 |
qFloatDistanceName: | qFloatDistance | Prototype: | quint32 qFloatDistance(float a, float b) | Coverage: | 80.000% (16/20) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/global/qnumeric.cpp | Lines: | 144-177 |
| | 17 | 7 |
qFloatDistanceName: | qFloatDistance | Prototype: | quint64 qFloatDistance(double a, double b) | Coverage: | 80.000% (16/20) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/global/qnumeric.cpp | Lines: | 202-235 |
| | 17 | 7 |
qEncodeHmacMd5Name: | 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: | 1127-1185 |
| | 25 | 4 |
qDBusFindAdaptorConnectorName: | 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: | 72-87 |
| | 11 | 4 |
prepareEngine_helperName: | 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: | 3843-3860 |
| | 10 | 5 |
isValidSlotName: | isValidSlot | Prototype: | static bool isValidSlot(const QMetaMethod &sl) | Coverage: | 80.000% (8/10) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/testlib/qtestcase.cpp | Lines: | 173-182 |
| | 7 | 2 |
fromShortMonthNameName: | 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: | 192-204 |
| | 7 | 4 |
countBitsName: | 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: | 471-487 |
| | 10 | 4 |
convertToIpv4Name: | 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: | 154-168 |
| | 10 | 4 |
calculateNextTimeoutName: | 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: | 340-380 |
| | 12 | 7 |
argToStringName: | 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: | 162-239 |
| | 51 | 24 |
QWaitConditionPrivateName: | QWaitConditionPrivate | Coverage: | 80.000% (16/20) |
| | 20 | 7 |
QTestTablePrivateName: | QTestTablePrivate | Coverage: | 80.000% (4/5) |
| | 5 | 5 |
QSignalTransitionPrivateName: | QSignalTransitionPrivate | Coverage: | 80.000% (12/15) |
| | 17 | 7 |
QNetworkAccessBackendFactoryName: | QNetworkAccessBackendFactory | Coverage: | 80.000% (4/5) |
| | 5 | 3 |
QFinalStateName: | QFinalState | Coverage: | 80.000% (4/5) |
| | 7 | 5 |
QDBusSpyCallEventName: | QDBusSpyCallEvent | Coverage: | 80.000% (8/10) |
| | 6 | 5 |
QCoreApplicationDataName: | QCoreApplicationData | Coverage: | 80.000% (4/5) |
| | 4 | 3 |
QAbstractNativeEventFilterName: | QAbstractNativeEventFilter | Coverage: | 80.000% (4/5) |
| | 4 | 3 |
FlagsName: | Flags | Coverage: | 80.000% (16/20) |
| | 18 | 12 |
QTimeZonePrivateName: | QTimeZonePrivate | Coverage: | 79.894% (151/189) |
| | 184 | 74 |
QMimeMagicRuleName: | QMimeMagicRule | Coverage: | 79.866% (119/149) |
| | 123 | 57 |
QMetaObjectBuilderName: | QMetaObjectBuilder | Coverage: | 79.781% (292/366) |
| | 405 | 152 |
QIODeviceName: | QIODevice | Coverage: | 79.740% (307/385) |
| | 359 | 136 |
QSequentialAnimationGroupName: | QSequentialAnimationGroup | Coverage: | 79.730% (59/74) |
| | 68 | 26 |
QNetworkDiskCachePrivateName: | QNetworkDiskCachePrivate | Coverage: | 79.592% (39/49) |
| | 59 | 19 |
QDBusMarshallerName: | QDBusMarshaller | Coverage: | 79.216% (202/255) |
| | 273 | 111 |
QFileSystemWatcherPrivateName: | QFileSystemWatcherPrivate | Coverage: | 79.167% (19/24) |
| | 38 | 12 |
QFileInfoPrivateName: | QFileInfoPrivate | Coverage: | 79.091% (87/110) |
| | 92 | 40 |
QHttpNetworkReplyPrivateName: | QHttpNetworkReplyPrivate | Coverage: | 78.989% (297/376) |
| | 339 | 106 |
readEtcFileName: | readEtcFile | Prototype: | static bool readEtcFile(QUnixOSVersion &v, const char *filename, const QByteArray &idKey, const QByteArray &versionKey, const QByteArray &prettyNameKey) | Coverage: | 78.947% (15/19) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/global/qglobal.cpp | Lines: | 2241-2280 |
| | 25 | 7 |
qt_socket_getPortAndAddressName: | qt_socket_getPortAndAddress | Prototype: | static inline void qt_socket_getPortAndAddress(const qt_sockaddr *s, quint16 *port, QHostAddress *addr) | Coverage: | 78.947% (15/19) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine_unix.cpp | Lines: | 110-134 |
| | 18 | 7 |
qt_error_stringName: | qt_error_string | Prototype: | QString qt_error_string(int errorCode) | Coverage: | 78.947% (15/19) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/global/qglobal.cpp | Lines: | 3147-3214 |
| | 20 | 9 |
mergeIndexesName: | mergeIndexes | Prototype: | static QItemSelection mergeIndexes(const QVector<QPersistentModelIndex> &indexes) | Coverage: | 78.947% (30/38) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp | Lines: | 937-997 |
| | 45 | 10 |
fallbackParentName: | fallbackParent | Prototype: | static QString fallbackParent(const QString &mimeTypeName) | Coverage: | 78.947% (15/19) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimeprovider.cpp | Lines: | 64-78 |
| | 9 | 3 |
QAbstractItemModelName: | QAbstractItemModel | Coverage: | 78.912% (232/294) |
| | 347 | 120 |
extractEncodingDeclName: | extractEncodingDecl | Prototype: | static QString extractEncodingDecl(const QString &text, bool *needMoreText) | Coverage: | 78.788% (26/33) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/xml/sax/qxml.cpp | Lines: | 1293-1333 |
| | 28 | 9 |
QDnsLookupName: | QDnsLookup | Coverage: | 78.788% (26/33) |
| | 51 | 25 |
QDirName: | QDir | Coverage: | 78.614% (261/332) |
| | 332 | 135 |
replacePercentNName: | replacePercentN | Prototype: | static void replacePercentN(QString *result, int n) | Coverage: | 78.571% (11/14) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp | Lines: | 1934-1956 |
| | 15 | 5 |
QSystemSemaphoreName: | QSystemSemaphore | Coverage: | 78.571% (22/28) |
| | 25 | 12 |
QPropertyAnimationPrivateName: | QPropertyAnimationPrivate | Coverage: | 78.571% (22/28) |
| | 25 | 10 |
QMessageAuthenticationCodePrivateName: | QMessageAuthenticationCodePrivate | Coverage: | 78.571% (11/14) |
| | 20 | 6 |
QDBusPendingCallWatcherName: | QDBusPendingCallWatcher | Coverage: | 78.571% (11/14) |
| | 11 | 6 |
CalculationCacheName: | CalculationCache | Coverage: | 78.571% (22/28) |
| | 40 | 10 |
BackEaseName: | BackEase | Coverage: | 78.571% (11/14) |
| | 13 | 8 |
QDBusMessagePrivateName: | QDBusMessagePrivate | Coverage: | 78.505% (84/107) |
| | 122 | 39 |
QTcpServerName: | QTcpServer | Coverage: | 78.409% (69/88) |
| | 121 | 43 |
calculatePosixTransitionsName: | calculatePosixTransitions | Prototype: | static QVector<QTimeZonePrivate::Data> calculatePosixTransitions(const QByteArray &posixRule, int startYear, int endYear, int lastTranMSecs) | Coverage: | 78.261% (36/46) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qtimezoneprivate_tz.cpp | Lines: | 503-597 |
| | 61 | 14 |
QAbstractSocketPrivateName: | QAbstractSocketPrivate | Coverage: | 78.261% (252/322) |
| | 315 | 106 |
QBufferName: | QBuffer | Coverage: | 78.161% (68/87) |
| | 79 | 36 |
qt_socks5_get_host_address_and_portName: | qt_socks5_get_host_address_and_port | Prototype: | static int qt_socks5_get_host_address_and_port(const QByteArray &buf, QHostAddress *pAddress, quint16 *pPort, int *pPos) | Coverage: | 78.125% (25/32) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp | Lines: | 218-277 |
| | 38 | 11 |
QStringRefName: | QStringRef | Coverage: | 77.931% (113/145) |
| | 136 | 71 |
QTimeName: | QTime | Coverage: | 77.895% (74/95) |
| | 72 | 54 |
QTimerInfoListName: | QTimerInfoList | Coverage: | 77.852% (116/149) |
| | 165 | 57 |
QDBusConnectionPrivateName: | QDBusConnectionPrivate | Coverage: | 77.842% (678/871) |
| | 970 | 288 |
socketNotifierSourceCheckName: | socketNotifierSourceCheck | Prototype: | static gboolean socketNotifierSourceCheck(GSource *source) | Coverage: | 77.778% (7/9) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp | Lines: | 74-95 |
| | 10 | 3 |
rowLengthsFromRangeName: | rowLengthsFromRange | Prototype: | static void rowLengthsFromRange(const QItemSelectionRange &range, QVector<QPair<QPersistentModelIndex, uint> > &result) | Coverage: | 77.778% (7/9) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp | Lines: | 295-309 |
| | 7 | 3 |
qt_qFindChildren_helperName: | qt_qFindChildren_helper | Prototype: | void qt_qFindChildren_helper(const QObject *parent, const QRegularExpression &re, const QMetaObject &mo, QList<void*> *list, Qt::FindChildOptions options) | Coverage: | 77.778% (14/18) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qobject.cpp | Lines: | 1903-1920 |
| | 12 | 6 |
q_strchrName: | q_strchr | Prototype: | static inline bool q_strchr(const char str[], char chr) | Coverage: | 77.778% (7/9) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qbytearray.cpp | Lines: | 4556-4566 |
| | 7 | 4 |
postEventSourcePrepareName: | postEventSourcePrepare | Prototype: | static gboolean postEventSourcePrepare(GSource *s, gint *timeout) | Coverage: | 77.778% (7/9) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp | Lines: | 250-265 |
| | 11 | 3 |
operator>>Name: | operator>> | Prototype: | const QDBusArgument &operator>>(const QDBusArgument &a, QDate &date) | Coverage: | 77.778% (7/9) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusargument.cpp | Lines: | 1146-1158 |
| | 8 | 2 |
indexOfDescendantName: | indexOfDescendant | Prototype: | static int indexOfDescendant(QState *s, QAbstractState *desc) | Coverage: | 77.778% (7/9) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/statemachine/qstatemachine.cpp | Lines: | 452-462 |
| | 6 | 3 |
getMotifWmHintsName: | getMotifWmHints | Prototype: | static QtMotifWmHints getMotifWmHints(QXcbConnection *c, xcb_window_t window) | Coverage: | 77.778% (7/9) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbwindow.cpp | Lines: | 1012-1036 |
| | 15 | 2 |
focusInPeekerName: | focusInPeeker | Prototype: | static bool focusInPeeker(QXcbConnection *connection, xcb_generic_event_t *event) | Coverage: | 77.778% (14/18) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbwindow.cpp | Lines: | 941-966 |
| | 14 | 6 |
Q_QGS_usedHashFuncName: | Q_QGS_usedHashFunc | Coverage: | 77.778% (7/9) |
| | 3 | 7 |
Q_QGS_unusedCacheFuncName: | Q_QGS_unusedCacheFunc | Coverage: | 77.778% (7/9) |
| | 3 | 7 |
Q_QGS_unifiedTimerName: | Q_QGS_unifiedTimer | Coverage: | 77.778% (7/9) |
| | 3 | 7 |
Q_QGS_tzZonesName: | Q_QGS_tzZones | Coverage: | 77.778% (7/9) |
| | 3 | 7 |
Q_QGS_timerIdFreeListName: | Q_QGS_timerIdFreeList | Coverage: | 77.778% (7/9) |
| | 3 | 7 |
Q_QGS_theSignalProxyName: | Q_QGS_theSignalProxy | Coverage: | 77.778% (7/9) |
| | 3 | 7 |
Q_QGS_theInstanceName: | Q_QGS_theInstance | Coverage: | 77.778% (7/9) |
| | 3 | 7 |
Q_QGS_theHostInfoLookupManagerName: | Q_QGS_theHostInfoLookupManager | Coverage: | 77.778% (7/9) |
| | 3 | 7 |
Q_QGS_theFreetypeDataName: | Q_QGS_theFreetypeData | Coverage: | 77.778% (7/9) |
| | 3 | 7 |
Q_QGS_theDnsLookupThreadPoolName: | Q_QGS_theDnsLookupThreadPool | Coverage: | 77.778% (7/9) |
| | 3 | 7 |
Q_QGS_theDnsLookupSeedStorageName: | Q_QGS_theDnsLookupSeedStorage | Coverage: | 77.778% (7/9) |
| | 3 | 7 |
Q_QGS_textCodecsMutexName: | Q_QGS_textCodecsMutex | Coverage: | 77.778% (7/9) |
| | 3 | 7 |
Q_QGS_staticQMimeDatabaseName: | Q_QGS_staticQMimeDatabase | Coverage: | 77.778% (7/9) |
| | 3 | 7 |
Q_QGS_staticPluginListName: | Q_QGS_staticPluginList | Coverage: | 77.778% (7/9) |
| | 3 | 7 |
Q_QGS_socks5BindStoreName: | Q_QGS_socks5BindStore | Coverage: | 77.778% (7/9) |
| | 3 | 7 |
Q_QGS_socketHandlersName: | Q_QGS_socketHandlers | Coverage: | 77.778% (7/9) |
| | 3 | 7 |
Q_QGS_shared_nullName: | Q_QGS_shared_null | Coverage: | 77.778% (7/9) |
| | 3 | 7 |
Q_QGS_sharedDataName: | Q_QGS_sharedData | Coverage: | 77.778% (7/9) |
| | 3 | 7 |
Q_QGS_seedCreatedStorageName: | Q_QGS_seedCreatedStorage | Coverage: | 77.778% (7/9) |
| | 3 | 7 |
Q_QGS_resourceSearchPathsName: | Q_QGS_resourceSearchPaths | Coverage: | 77.778% (7/9) |
| | 3 | 7 |
Q_QGS_resolveLibraryName: | Q_QGS_resolveLibrary | Coverage: | 77.778% (7/9) |
| | 3 | 7 |
Q_QGS_registeredInterpolatorsName: | Q_QGS_registeredInterpolators | Coverage: | 77.778% (7/9) |
| | 3 | 7 |
Q_QGS_randTLSName: | Q_QGS_randTLS | Coverage: | 77.778% (7/9) |
| | 3 | 7 |
Q_QGS_qt_shader_storageName: | Q_QGS_qt_shader_storage | Coverage: | 77.778% (7/9) |
| | 3 | 7 |
Q_QGS_qt_library_settingsName: | Q_QGS_qt_library_settings | Coverage: | 77.778% (7/9) |
| | 3 | 7 |