Function | Condition %▴ | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexity |
QXcbCursorCacheKeyName: | QXcbCursorCacheKey | Coverage: | 28.571% (2/7) |
| | 8 | 3 |
hashName: | hash | Prototype: | static inline uint hash(const uchar *p, int len, uint seed) noexcept | Coverage: | 28.571% (2/7) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qhash.cpp | Lines: | 202-213 |
| | 6 | 3 |
hashName: | hash | Prototype: | static inline uint hash(const QChar *p, int len, uint seed) noexcept | Coverage: | 28.571% (2/7) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qhash.cpp | Lines: | 220-231 |
| | 6 | 3 |
installCoverageToolName: | installCoverageTool | Prototype: | static void installCoverageTool(QLibraryPrivate *libPrivate) | Coverage: | 28.571% (2/7) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/plugin/qlibrary.cpp | Lines: | 326-357 |
| | 8 | 3 |
toIntegral_helperName: | toIntegral_helper | Prototype: | template <typename T> static inline T toIntegral_helper(const char *data, bool *ok, int base) | Coverage: | 28.571% (2/7) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qbytearray.cpp | Lines: | 3547-3569 |
| | 7 | 3 |
toIntegral_helperName: | toIntegral_helper | Prototype: | template <typename T> static inline T toIntegral_helper(const QLocalePrivate *d, const QChar *data, int len, bool *ok) | Coverage: | 28.571% (2/7) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp | Lines: | 1104-1119 |
| | 7 | 3 |
QAbstractTableModelName: | QAbstractTableModel | Coverage: | 28.889% (13/45) |
| | 47 | 17 |
operator<<Name: | operator<< | Prototype: | QDebug operator<<(QDebug debug, QAbstractSocket::SocketState state) | Coverage: | 29.412% (5/17) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 3001-3032 |
| | 20 | 9 |
qt_xcb_pixmapFromXPixmapName: | qt_xcb_pixmapFromXPixmap | Prototype: | QPixmap qt_xcb_pixmapFromXPixmap(QXcbConnection *connection, xcb_pixmap_t pixmap, int width, int height, int depth, const xcb_visualtype_t *visual) | Coverage: | 29.412% (15/51) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbimage.cpp | Lines: | 88-170 |
| | 49 | 17 |
parseTzLeapSecondsName: | parseTzLeapSeconds | Prototype: | static void parseTzLeapSeconds(QDataStream &ds, int tzh_leapcnt, bool longTran) | Coverage: | 30.000% (6/20) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qtimezoneprivate_tz.cpp | Lines: | 276-299 |
| | 11 | 6 |
QJsonArrayName: | QJsonArray | Coverage: | 30.435% (56/184) |
| | 172 | 70 |
parseXftHintStyleName: | parseXftHintStyle | Prototype: | static QFontEngine::HintStyle parseXftHintStyle(const QByteArray& stringValue) | Coverage: | 30.769% (4/13) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbscreen.cpp | Lines: | 788-800 |
| | 9 | 5 |
qglx_findVisualInfoName: | qglx_findVisualInfo | Prototype: | XVisualInfo *qglx_findVisualInfo(Display *display, int screen, QSurfaceFormat *format, int drawableBit) | Coverage: | 30.769% (4/13) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/platformsupport/glxconvenience/qglxconvenience.cpp | Lines: | 231-258 |
| | 15 | 5 |
QAbstractFileEngineName: | QAbstractFileEngine | Coverage: | 31.148% (19/61) |
| | 103 | 49 |
QPageSetupWidgetName: | QPageSetupWidget | Coverage: | 31.313% (31/99) |
| | 202 | 46 |
QTsciiCodecName: | QTsciiCodec | Coverage: | 31.579% (18/57) |
| | 54 | 20 |
QGLShaderPrivateName: | QGLShaderPrivate | Coverage: | 32.692% (17/52) |
| | 58 | 18 |
ZoomFactorValidatorName: | ZoomFactorValidator | Coverage: | 33.333% (7/21) |
| | 16 | 7 |
detectDesktopEnvironmentName: | detectDesktopEnvironment | Prototype: | static inline QByteArray detectDesktopEnvironment() | Coverage: | 33.333% (7/21) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/platformsupport/services/genericunix/qgenericunixservices.cpp | Lines: | 55-75 |
| | 8 | 11 |
pcre16SafeExecName: | pcre16SafeExec | Prototype: | static int pcre16SafeExec(const pcre16 *code, const pcre16_extra *extra, const unsigned short *subject, int length, int startOffset, int options, int *ovector, int ovecsize) | Coverage: | 33.333% (2/6) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregularexpression.cpp | Lines: | 1214-1231 |
| | 8 | 2 |
registerComplexDBusTypeName: | registerComplexDBusType | Prototype: | static int registerComplexDBusType(const char *typeName) | Coverage: | 33.333% (1/3) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusmetaobject.cpp | Lines: | 130-151 |
| | 9 | 3 |
statusCodeFromHttpName: | statusCodeFromHttp | Prototype: | static QNetworkReply::NetworkError statusCodeFromHttp(int httpStatusCode, const QUrl &url) | Coverage: | 33.333% (11/33) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpthreaddelegate.cpp | Lines: | 56-124 |
| | 34 | 16 |
QGLContextName: | QGLContext | Coverage: | 33.663% (68/202) |
| | 229 | 84 |
QXcbConnectionName: | QXcbConnection | Coverage: | 34.764% (575/1654) |
| | 1656 | 585 |
QPrinterPagedPaintDevicePrivateName: | QPrinterPagedPaintDevicePrivate | Coverage: | 35.294% (6/17) |
| | 24 | 9 |
detectProcessorFeaturesName: | detectProcessorFeatures | Prototype: | static quint64 detectProcessorFeatures() | Coverage: | 35.294% (6/17) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qsimd.cpp | Lines: | 295-378 |
| | 23 | 6 |
QSysInfoName: | QSysInfo | Coverage: | 35.366% (29/82) |
| | 50 | 38 |
QNetworkConfigurationName: | QNetworkConfiguration | Coverage: | 35.593% (42/118) |
| | 71 | 70 |
parse_length_modifierName: | parse_length_modifier | Prototype: | static LengthMod parse_length_modifier(const char * &c) noexcept | Coverage: | 35.714% (5/14) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp | Lines: | 6034-6047 |
| | 9 | 8 |
QLocalSocketPrivateName: | QLocalSocketPrivate | Coverage: | 35.849% (38/106) |
| | 151 | 54 |
QLocaleName: | QLocale | Coverage: | 36.278% (193/532) |
| | 487 | 244 |
QGLSignalProxyName: | QGLSignalProxy | Coverage: | 36.364% (4/11) |
| | 5 | 3 |
name_to_monthName: | name_to_month | Prototype: | static int name_to_month(const char* month_str) | Coverage: | 36.364% (12/33) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/access/qnetworkrequest.cpp | Lines: | 1037-1082 |
| | 21 | 17 |
propertyWriteReplyName: | propertyWriteReply | Prototype: | static QDBusMessage propertyWriteReply(const QDBusMessage &msg, const QString &interface_name, const QByteArray &property_name, int status) | Coverage: | 36.364% (4/11) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusinternalfilters.cpp | Lines: | 300-327 |
| | 17 | 6 |
_q_OpenSSL_to_QSslErrorName: | _q_OpenSSL_to_QSslError | Prototype: | static QSslError _q_OpenSSL_to_QSslError(int errorCode, const QSslCertificate &cert) | Coverage: | 36.585% (15/41) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp | Lines: | 1002-1049 |
| | 23 | 21 |
encodeTextName: | encodeText | Prototype: | static QString encodeText(const QString &str, QTextStream &s, const bool encodeQuotes = true, const bool performAVN = false, const bool encodeEOLs = false) | Coverage: | 36.585% (15/41) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/xml/dom/qdom.cpp | Lines: | 4146-4211 |
| | 43 | 9 |
QIdentityProxyModelPrivateName: | QIdentityProxyModelPrivate | Coverage: | 36.667% (11/30) |
| | 105 | 24 |
q_getTimeFromASN1Name: | q_getTimeFromASN1 | Prototype: | QDateTime q_getTimeFromASN1(const ASN1_TIME *aTime) | Coverage: | 36.735% (18/49) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl_symbols.cpp | Lines: | 1015-1106 |
| | 62 | 13 |
QDomAttrPrivateName: | QDomAttrPrivate | Coverage: | 36.842% (7/19) |
| | 24 | 11 |
qDBusPropertySetName: | qDBusPropertySet | Prototype: | QDBusMessage qDBusPropertySet(const QDBusConnectionPrivate::ObjectTreeNode &node, const QDBusMessage &msg) | Coverage: | 37.500% (12/32) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusinternalfilters.cpp | Lines: | 383-437 |
| | 42 | 10 |
QPrintPreviewWidgetPrivateName: | QPrintPreviewWidgetPrivate | Coverage: | 37.705% (46/122) |
| | 143 | 42 |
QXcbWMSupportName: | QXcbWMSupport | Coverage: | 37.931% (11/29) |
| | 43 | 11 |
numerusHelperName: | numerusHelper | Prototype: | static uint numerusHelper(int n, const uchar *rules, uint rulesSize) | Coverage: | 37.931% (22/58) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qtranslator.cpp | Lines: | 207-284 |
| | 49 | 18 |
QPrintDialogName: | QPrintDialog | Coverage: | 38.462% (10/26) |
| | 38 | 16 |
qt_create_qhash_seedName: | qt_create_qhash_seed | Prototype: | static uint qt_create_qhash_seed() | Coverage: | 38.462% (5/13) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qhash.cpp | Lines: | 277-322 |
| | 22 | 5 |
QPrintPreviewDialogName: | QPrintPreviewDialog | Coverage: | 38.889% (7/18) |
| | 27 | 10 |
QJsonValueName: | QJsonValue | Coverage: | 39.011% (71/182) |
| | 141 | 91 |
QNetworkProxyQueryName: | QNetworkProxyQuery | Coverage: | 39.130% (9/23) |
| | 40 | 23 |
QFileDevicePrivateName: | QFileDevicePrivate | Coverage: | 39.394% (13/33) |
| | 32 | 14 |
QXcbVirtualDesktopName: | QXcbVirtualDesktop | Coverage: | 39.535% (17/43) |
| | 46 | 20 |
QGLShaderProgramPrivateName: | QGLShaderProgramPrivate | Coverage: | 40.000% (4/10) |
| | 9 | 6 |
defaultHintStyleFromMatchName: | defaultHintStyleFromMatch | Prototype: | QFontEngine::HintStyle defaultHintStyleFromMatch(QFont::HintingPreference hintingPreference, FcPattern *match, bool useXftConf) | Coverage: | 40.000% (12/30) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/platformsupport/fontdatabases/fontconfig/qfontconfigdatabase.cpp | Lines: | 583-626 |
| | 24 | 14 |
operator<<Name: | operator<< | Prototype: | QDebug operator<<(QDebug dbg, const QDateTime &date) | Coverage: | 40.000% (4/10) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | Lines: | 4986-5008 |
| | 13 | 5 |
operator<<Name: | operator<< | Prototype: | QDebug operator<<(QDebug debug, const QNetworkProxy &proxy) | Coverage: | 40.000% (14/35) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qnetworkproxy.cpp | Lines: | 1576-1619 |
| | 28 | 18 |
qt_create_pipeName: | qt_create_pipe | Prototype: | static int qt_create_pipe(int *pipe) | Coverage: | 40.000% (4/10) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess_unix.cpp | Lines: | 173-185 |
| | 9 | 4 |
QXmlSimpleReaderName: | QXmlSimpleReader | Coverage: | 40.217% (37/92) |
| | 92 | 38 |
QCollatorName: | QCollator | Coverage: | 40.278% (29/72) |
| | 68 | 34 |
QDBusServiceWatcherName: | QDBusServiceWatcher | Coverage: | 40.909% (9/22) |
| | 26 | 14 |
loadCursorName: | loadCursor | Prototype: | static xcb_cursor_t loadCursor(void *dpy, int cshape) | Coverage: | 41.176% (7/17) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbcursor.cpp | Lines: | 531-553 |
| | 14 | 7 |
QNetworkReplyImplPrivateName: | QNetworkReplyImplPrivate | Coverage: | 41.256% (184/446) |
| | 422 | 150 |
QIdentityProxyModelName: | QIdentityProxyModel | Coverage: | 41.509% (22/53) |
| | 163 | 29 |
resolveLibraryInternalName: | resolveLibraryInternal | Prototype: | static bool resolveLibraryInternal() | Coverage: | 41.667% (10/24) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostinfo_unix.cpp | Lines: | 94-129 |
| | 19 | 9 |
QXcbXSettingsPrivateName: | QXcbXSettingsPrivate | Coverage: | 42.105% (32/76) |
| | 82 | 22 |
QNetworkReplyImplName: | QNetworkReplyImpl | Coverage: | 42.500% (34/80) |
| | 72 | 32 |
QPrinterInfoName: | QPrinterInfo | Coverage: | 42.593% (23/54) |
| | 89 | 39 |
QItemSelectionRangeName: | QItemSelectionRange | Coverage: | 42.857% (9/21) |
| | 28 | 9 |
QPrinterPrivateName: | QPrinterPrivate | Coverage: | 42.857% (24/56) |
| | 64 | 23 |
QSqlRecordPrivateName: | QSqlRecordPrivate | Coverage: | 42.857% (3/7) |
| | 10 | 5 |
QSystemErrorName: | QSystemError | Coverage: | 42.857% (3/7) |
| | 4 | 5 |
getEtcFileContentName: | getEtcFileContent | Prototype: | static QByteArray getEtcFileContent(const char *filename) | Coverage: | 42.857% (3/7) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/global/qglobal.cpp | Lines: | 2222-2239 |
| | 11 | 3 |
operator<<Name: | operator<< | Prototype: | static QDataStream& operator<<(QDataStream& s, const QNtlmPhase1Block& b) | Coverage: | 42.857% (3/7) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qauthenticator.cpp | Lines: | 1026-1039 |
| | 11 | 3 |
qDBusAddTimeoutName: | qDBusAddTimeout | Prototype: | static dbus_bool_t qDBusAddTimeout(DBusTimeout *timeout, void *data) | Coverage: | 42.857% (3/7) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusintegrator.cpp | Lines: | 139-163 |
| | 14 | 3 |
qNtlmDecodePhase2Name: | qNtlmDecodePhase2 | Prototype: | static bool qNtlmDecodePhase2(const QByteArray& data, QNtlmPhase2Block& ch) | Coverage: | 42.857% (12/28) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qauthenticator.cpp | Lines: | 1333-1373 |
| | 27 | 10 |
ucalDefaultTimeZoneIdName: | ucalDefaultTimeZoneId | Prototype: | static QByteArray ucalDefaultTimeZoneId() | Coverage: | 42.857% (3/7) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qtimezoneprivate_icu.cpp | Lines: | 82-105 |
| | 12 | 3 |
ucalTimeZoneDisplayNameName: | ucalTimeZoneDisplayName | Prototype: | static QString ucalTimeZoneDisplayName(UCalendar *ucal, QTimeZone::TimeType timeType, QTimeZone::NameType nameType, const QString &localeCode) | Coverage: | 42.857% (3/7) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qtimezoneprivate_icu.cpp | Lines: | 108-143 |
| | 22 | 3 |
QDomHandlerName: | QDomHandler | Coverage: | 43.860% (25/57) |
| | 86 | 29 |
QSslErrorName: | QSslError | Coverage: | 44.068% (26/59) |
| | 69 | 34 |
QRowsRemovalName: | QRowsRemoval | Coverage: | 44.444% (4/9) |
| | 10 | 5 |
QXcbConnectionGrabberName: | QXcbConnectionGrabber | Coverage: | 44.444% (4/9) |
| | 6 | 5 |
QXcbSoftwareOpenGLEnforcerName: | QXcbSoftwareOpenGLEnforcer | Coverage: | 44.444% (8/18) |
| | 8 | 8 |
formatBacktraceForLogMessageName: | formatBacktraceForLogMessage | Prototype: | static QString formatBacktraceForLogMessage(const QMessagePattern::BacktraceParams backtraceParams, const char *function) | Coverage: | 44.444% (4/9) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/global/qlogging.cpp | Lines: | 1268-1283 |
| | 8 | 3 |
setNativeLocksName: | setNativeLocks | Prototype: | static bool setNativeLocks(const QString &fileName, int fd) | Coverage: | 44.444% (4/9) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qlockfile_unix.cpp | Lines: | 162-179 |
| | 12 | 3 |
updateCursorThemeName: | updateCursorTheme | Prototype: | bool updateCursorTheme(void *dpy, const QByteArray &theme) | Coverage: | 44.444% (4/9) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbcursor.cpp | Lines: | 511-521 |
| | 8 | 3 |
QXcbSystemTrayTrackerName: | QXcbSystemTrayTracker | Coverage: | 44.643% (25/56) |
| | 74 | 26 |
QHostInfoName: | QHostInfo | Coverage: | 44.737% (34/76) |
| | 89 | 36 |
QSocks5BindStoreName: | QSocks5BindStore | Coverage: | 44.737% (17/38) |
| | 31 | 15 |
parsePosixTimeName: | parsePosixTime | Prototype: | static int parsePosixTime(const char *begin, const char *end) | Coverage: | 44.828% (13/29) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qtimezoneprivate_tz.cpp | Lines: | 382-418 |
| | 18 | 7 |
QDynamicBufferResourceRootName: | QDynamicBufferResourceRoot | Coverage: | 45.161% (14/31) |
| | 30 | 9 |
QGLWidgetPrivateName: | QGLWidgetPrivate | Coverage: | 45.455% (5/11) |
| | 11 | 5 |
qNtlmPhase3Name: | qNtlmPhase3 | Prototype: | static QByteArray qNtlmPhase3(QAuthenticatorPrivate *ctx, const QByteArray& phase2data) | Coverage: | 45.833% (11/24) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qauthenticator.cpp | Lines: | 1376-1438 |
| | 34 | 7 |
qglx_findConfigName: | qglx_findConfig | Prototype: | GLXFBConfig qglx_findConfig(Display *display, int screen , QSurfaceFormat format, bool highestPixelFormat, int drawableBit) | Coverage: | 45.946% (17/37) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/platformsupport/glxconvenience/qglxconvenience.cpp | Lines: | 182-229 |
| | 31 | 9 |
QXcbScreenName: | QXcbScreen | Coverage: | 46.021% (133/289) |
| | 366 | 106 |
QDynamicFileResourceRootName: | QDynamicFileResourceRoot | Coverage: | 46.154% (18/39) |
| | 54 | 15 |
QResourceName: | QResource | Coverage: | 46.154% (30/65) |
| | 97 | 31 |
qDBusInterfaceFromMetaObjectName: | qDBusInterfaceFromMetaObject | Prototype: | QString qDBusInterfaceFromMetaObject(const QMetaObject *mo) | Coverage: | 46.154% (12/26) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusmisc.cpp | Lines: | 75-115 |
| | 25 | 7 |
QDBusServerName: | QDBusServer | Coverage: | 46.429% (13/28) |
| | 32 | 16 |
QXmlDefaultHandlerName: | QXmlDefaultHandler | Coverage: | 46.429% (13/28) |
| | 29 | 28 |
QDnsLookupRunnableName: | QDnsLookupRunnable | Coverage: | 46.957% (54/115) |
| | 195 | 39 |
TypeConstructorName: | TypeConstructor | Coverage: | 47.059% (8/17) |
| | 19 | 11 |
qDBusCheckAsyncTagName: | qDBusCheckAsyncTag | Prototype: | bool qDBusCheckAsyncTag(const char *tag) | Coverage: | 47.059% (8/17) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusmisc.cpp | Lines: | 58-71 |
| | 8 | 3 |