QtBase - 2016-12-13 07:58:44 +0000

Function Tree

Page:<>1
Condition %: 100.000% (1/1)
...8
Condition %: 100.000% (1/1)
9
Condition %:  98.901% (90/91)
10
Condition %:  90.909% (20/22)
11
Condition %:  85.714% (30/35)
1213
Condition %:  77.778% (7/9)
14
Condition %:  75.000% (3/4)
15
Condition %:  71.429% (5/7)
16
Condition %:  65.972% (95/144)
...20
Condition %:  44.828% (13/29)
...30
Condition %:  0.000% (0/28)
...40
Condition %:  0.000% (0/4)
...55
Condition %:  0.000% (0/271)
FunctionCondition %▾eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
QSharedMemory
Name: QSharedMemory
Coverage:  80.952% (68/84)
 80.952% (68/84)
9136
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: 762-856
 80.822% (59/73)
5631
QFtp
Name: QFtp
Coverage:  80.597% (54/67)
 80.597% (54/67)
10340
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: 89-244
 80.508% (95/118)
10528
QSqlTableModel
Name: QSqlTableModel
Coverage:  80.370% (348/433)
 80.370% (348/433)
415148
QMimeXMLProvider
Name: QMimeXMLProvider
Coverage:  80.328% (49/61)
 80.328% (49/61)
7133
QSqlDatabasePrivate
Name: QSqlDatabasePrivate
Coverage:  80.282% (57/71)
 80.282% (57/71)
8429
QPersistentModelIndex
Name: QPersistentModelIndex
Coverage:  80.198% (81/101)
 80.198% (81/101)
6644
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: 84-98
 80.000% (8/10)
104
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: 828-849
 80.000% (12/15)
145
qFloatDistance
Name: 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
 80.000% (16/20)
177
qFloatDistance
Name: 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
 80.000% (16/20)
177
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: 1127-1185
 80.000% (8/10)
254
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: 72-87
 80.000% (8/10)
114
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: 3843-3860
 80.000% (12/15)
105
isValidSlot
Name: 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
 80.000% (8/10)
72
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: 192-204
 80.000% (8/10)
74
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: 471-487
 80.000% (8/10)
104
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: 154-168
 80.000% (8/10)
104
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: 340-380
 80.000% (12/15)
127
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: 162-239
 80.000% (48/60)
5124
QWaitConditionPrivate
Name: QWaitConditionPrivate
Coverage:  80.000% (16/20)
 80.000% (16/20)
207
QTestTablePrivate
Name: QTestTablePrivate
Coverage:  80.000% (4/5)
 80.000% (4/5)
55
QSignalTransitionPrivate
Name: QSignalTransitionPrivate
Coverage:  80.000% (12/15)
 80.000% (12/15)
177
QNetworkAccessBackendFactory
Name: QNetworkAccessBackendFactory
Coverage:  80.000% (4/5)
 80.000% (4/5)
53
QFinalState
Name: QFinalState
Coverage:  80.000% (4/5)
 80.000% (4/5)
75
QDBusSpyCallEvent
Name: QDBusSpyCallEvent
Coverage:  80.000% (8/10)
 80.000% (8/10)
65
QCoreApplicationData
Name: QCoreApplicationData
Coverage:  80.000% (4/5)
 80.000% (4/5)
43
QAbstractNativeEventFilter
Name: QAbstractNativeEventFilter
Coverage:  80.000% (4/5)
 80.000% (4/5)
43
Flags
Name: Flags
Coverage:  80.000% (16/20)
 80.000% (16/20)
1812
QTimeZonePrivate
Name: QTimeZonePrivate
Coverage:  79.894% (151/189)
 79.894% (151/189)
18474
QMimeMagicRule
Name: QMimeMagicRule
Coverage:  79.866% (119/149)
 79.866% (119/149)
12357
QMetaObjectBuilder
Name: QMetaObjectBuilder
Coverage:  79.781% (292/366)
 79.781% (292/366)
405152
QIODevice
Name: QIODevice
Coverage:  79.740% (307/385)
 79.740% (307/385)
359136
QSequentialAnimationGroup
Name: QSequentialAnimationGroup
Coverage:  79.730% (59/74)
 79.730% (59/74)
6826
QNetworkDiskCachePrivate
Name: QNetworkDiskCachePrivate
Coverage:  79.592% (39/49)
 79.592% (39/49)
5919
QDBusMarshaller
Name: QDBusMarshaller
Coverage:  79.216% (202/255)
 79.216% (202/255)
273111
QFileSystemWatcherPrivate
Name: QFileSystemWatcherPrivate
Coverage:  79.167% (19/24)
 79.167% (19/24)
3812
QFileInfoPrivate
Name: QFileInfoPrivate
Coverage:  79.091% (87/110)
 79.091% (87/110)
9240
QHttpNetworkReplyPrivate
Name: QHttpNetworkReplyPrivate
Coverage:  78.989% (297/376)
 78.989% (297/376)
339106
readEtcFile
Name: 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
 78.947% (15/19)
257
qt_socket_getPortAndAddress
Name: 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
 78.947% (15/19)
187
qt_error_string
Name: 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
 78.947% (15/19)
209
mergeIndexes
Name: 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
 78.947% (30/38)
4510
fallbackParent
Name: 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
 78.947% (15/19)
93
QAbstractItemModel
Name: QAbstractItemModel
Coverage:  78.912% (232/294)
 78.912% (232/294)
347120
extractEncodingDecl
Name: 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
 78.788% (26/33)
289
QDnsLookup
Name: QDnsLookup
Coverage:  78.788% (26/33)
 78.788% (26/33)
5125
QDir
Name: QDir
Coverage:  78.614% (261/332)
 78.614% (261/332)
332135
replacePercentN
Name: 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
 78.571% (11/14)
155
QSystemSemaphore
Name: QSystemSemaphore
Coverage:  78.571% (22/28)
 78.571% (22/28)
2512
QPropertyAnimationPrivate
Name: QPropertyAnimationPrivate
Coverage:  78.571% (22/28)
 78.571% (22/28)
2510
QMessageAuthenticationCodePrivate
Name: QMessageAuthenticationCodePrivate
Coverage:  78.571% (11/14)
 78.571% (11/14)
206
QDBusPendingCallWatcher
Name: QDBusPendingCallWatcher
Coverage:  78.571% (11/14)
 78.571% (11/14)
116
CalculationCache
Name: CalculationCache
Coverage:  78.571% (22/28)
 78.571% (22/28)
4010
BackEase
Name: BackEase
Coverage:  78.571% (11/14)
 78.571% (11/14)
138
QDBusMessagePrivate
Name: QDBusMessagePrivate
Coverage:  78.505% (84/107)
 78.505% (84/107)
12239
QTcpServer
Name: QTcpServer
Coverage:  78.409% (69/88)
 78.409% (69/88)
12143
calculatePosixTransitions
Name: 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
 78.261% (36/46)
6114
QAbstractSocketPrivate
Name: QAbstractSocketPrivate
Coverage:  78.261% (252/322)
 78.261% (252/322)
315106
QBuffer
Name: QBuffer
Coverage:  78.161% (68/87)
 78.161% (68/87)
7936
qt_socks5_get_host_address_and_port
Name: 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
 78.125% (25/32)
3811
QStringRef
Name: QStringRef
Coverage:  77.931% (113/145)
 77.931% (113/145)
13671
QTime
Name: QTime
Coverage:  77.895% (74/95)
 77.895% (74/95)
7254
QTimerInfoList
Name: QTimerInfoList
Coverage:  77.852% (116/149)
 77.852% (116/149)
16557
QDBusConnectionPrivate
Name: QDBusConnectionPrivate
Coverage:  77.842% (678/871)
 77.842% (678/871)
970288
socketNotifierSourceCheck
Name: 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
 77.778% (7/9)
103
rowLengthsFromRange
Name: 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
 77.778% (7/9)
73
qt_qFindChildren_helper
Name: 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
 77.778% (14/18)
126
q_strchr
Name: 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
 77.778% (7/9)
74
postEventSourcePrepare
Name: 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
 77.778% (7/9)
113
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
 77.778% (7/9)
82
indexOfDescendant
Name: 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
 77.778% (7/9)
63
getMotifWmHints
Name: 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
 77.778% (7/9)
152
focusInPeeker
Name: 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
 77.778% (14/18)
146
Q_QGS_usedHashFunc
Name: Q_QGS_usedHashFunc
Coverage:  77.778% (7/9)
 77.778% (7/9)
37
Q_QGS_unusedCacheFunc
Name: Q_QGS_unusedCacheFunc
Coverage:  77.778% (7/9)
 77.778% (7/9)
37
Q_QGS_unifiedTimer
Name: Q_QGS_unifiedTimer
Coverage:  77.778% (7/9)
 77.778% (7/9)
37
Q_QGS_tzZones
Name: Q_QGS_tzZones
Coverage:  77.778% (7/9)
 77.778% (7/9)
37
Q_QGS_timerIdFreeList
Name: Q_QGS_timerIdFreeList
Coverage:  77.778% (7/9)
 77.778% (7/9)
37
Q_QGS_theSignalProxy
Name: Q_QGS_theSignalProxy
Coverage:  77.778% (7/9)
 77.778% (7/9)
37
Q_QGS_theInstance
Name: Q_QGS_theInstance
Coverage:  77.778% (7/9)
 77.778% (7/9)
37
Q_QGS_theHostInfoLookupManager
Name: Q_QGS_theHostInfoLookupManager
Coverage:  77.778% (7/9)
 77.778% (7/9)
37
Q_QGS_theFreetypeData
Name: Q_QGS_theFreetypeData
Coverage:  77.778% (7/9)
 77.778% (7/9)
37
Q_QGS_theDnsLookupThreadPool
Name: Q_QGS_theDnsLookupThreadPool
Coverage:  77.778% (7/9)
 77.778% (7/9)
37
Q_QGS_theDnsLookupSeedStorage
Name: Q_QGS_theDnsLookupSeedStorage
Coverage:  77.778% (7/9)
 77.778% (7/9)
37
Q_QGS_textCodecsMutex
Name: Q_QGS_textCodecsMutex
Coverage:  77.778% (7/9)
 77.778% (7/9)
37
Q_QGS_staticQMimeDatabase
Name: Q_QGS_staticQMimeDatabase
Coverage:  77.778% (7/9)
 77.778% (7/9)
37
Q_QGS_staticPluginList
Name: Q_QGS_staticPluginList
Coverage:  77.778% (7/9)
 77.778% (7/9)
37
Q_QGS_socks5BindStore
Name: Q_QGS_socks5BindStore
Coverage:  77.778% (7/9)
 77.778% (7/9)
37
Q_QGS_socketHandlers
Name: Q_QGS_socketHandlers
Coverage:  77.778% (7/9)
 77.778% (7/9)
37
Q_QGS_shared_null
Name: Q_QGS_shared_null
Coverage:  77.778% (7/9)
 77.778% (7/9)
37
Q_QGS_sharedData
Name: Q_QGS_sharedData
Coverage:  77.778% (7/9)
 77.778% (7/9)
37
Q_QGS_seedCreatedStorage
Name: Q_QGS_seedCreatedStorage
Coverage:  77.778% (7/9)
 77.778% (7/9)
37
Q_QGS_resourceSearchPaths
Name: Q_QGS_resourceSearchPaths
Coverage:  77.778% (7/9)
 77.778% (7/9)
37
Q_QGS_resolveLibrary
Name: Q_QGS_resolveLibrary
Coverage:  77.778% (7/9)
 77.778% (7/9)
37
Q_QGS_registeredInterpolators
Name: Q_QGS_registeredInterpolators
Coverage:  77.778% (7/9)
 77.778% (7/9)
37
Q_QGS_randTLS
Name: Q_QGS_randTLS
Coverage:  77.778% (7/9)
 77.778% (7/9)
37
Q_QGS_qt_shader_storage
Name: Q_QGS_qt_shader_storage
Coverage:  77.778% (7/9)
 77.778% (7/9)
37
Q_QGS_qt_library_settings
Name: Q_QGS_qt_library_settings
Coverage:  77.778% (7/9)
 77.778% (7/9)
37
Page:<>1
Condition %: 100.000% (1/1)
...8
Condition %: 100.000% (1/1)
9
Condition %:  98.901% (90/91)
10
Condition %:  90.909% (20/22)
11
Condition %:  85.714% (30/35)
1213
Condition %:  77.778% (7/9)
14
Condition %:  75.000% (3/4)
15
Condition %:  71.429% (5/7)
16
Condition %:  65.972% (95/144)
...20
Condition %:  44.828% (13/29)
...30
Condition %:  0.000% (0/28)
...40
Condition %:  0.000% (0/4)
...55
Condition %:  0.000% (0/271)

Generated by Squish Coco Non-Commercial 4.3.0-BETA-master-30-08-2018-4cb69e9