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

Function Tree

Page:<>1
Condition %:  0.000% (0/41)
...10
Condition %:  0.000% (0/36)
...20
Condition %:  0.000% (0/10)
...30
Condition %:  0.000% (0/1)
...40
Condition %:  58.621% (17/29)
41
Condition %:  66.667% (6/9)
42
Condition %:  71.429% (5/7)
43
Condition %:  76.190% (80/105)
44
Condition %:  77.778% (7/9)
4546
Condition %:  86.928% (133/153)
47
Condition %:  91.753% (89/97)
48
Condition %: 100.000% (8/8)
49
Condition %: 100.000% (2/2)
50
Condition %: 100.000% (2/2)
...55
Condition %: 100.000% (1/1)
FunctionCondition %▴eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
QPlatformPrinterSupportPlugin
Name: QPlatformPrinterSupportPlugin
Coverage:  81.818% (9/11)
 81.818% (9/11)
95
QRegularExpressionPrivate
Name: QRegularExpressionPrivate
Coverage:  81.818% (108/132)
 81.818% (108/132)
15841
QTextStreamPrivate
Name: QTextStreamPrivate
Coverage:  81.818% (468/572)
 81.818% (468/572)
465179
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
 81.818% (9/11)
174
QMetaObject
Name: QMetaObject
Coverage:  82.105% (390/475)
 82.105% (390/475)
512171
QSemaphore
Name: QSemaphore
Coverage:  82.143% (23/28)
 82.143% (23/28)
3413
QCommandLineParser
Name: QCommandLineParser
Coverage:  82.222% (74/90)
 82.222% (74/90)
9556
QPollingFileSystemWatcherEngine
Name: QPollingFileSystemWatcherEngine
Coverage:  82.353% (56/68)
 82.353% (56/68)
6723
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
 82.353% (14/17)
115
QAbstractProxyModel
Name: QAbstractProxyModel
Coverage:  82.540% (52/63)
 82.540% (52/63)
9940
QAbstractSocket
Name: QAbstractSocket
Coverage:  82.705% (373/451)
 82.705% (373/451)
425162
QRelation
Name: QRelation
Coverage:  82.759% (24/29)
 82.759% (24/29)
3615
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
 82.759% (24/29)
287
QSslCertificate
Name: QSslCertificate
Coverage:  82.828% (164/198)
 82.828% (164/198)
18278
QSortFilterProxyModelPrivate
Name: QSortFilterProxyModelPrivate
Coverage:  83.279% (508/610)
 83.279% (508/610)
659200
QAbstractTransitionPrivate
Name: QAbstractTransitionPrivate
Coverage:  83.333% (10/12)
 83.333% (10/12)
158
QGlobalNetworkProxy
Name: QGlobalNetworkProxy
Coverage:  83.333% (30/36)
 83.333% (30/36)
4213
QHttpMultiPart
Name: QHttpMultiPart
Coverage:  83.333% (5/6)
 83.333% (5/6)
86
QLibrarySettings
Name: QLibrarySettings
Coverage:  83.333% (20/24)
 83.333% (20/24)
164
QTimer
Name: QTimer
Coverage:  83.333% (45/54)
 83.333% (45/54)
3922
TypeInfo
Name: TypeInfo
Coverage:  83.333% (20/24)
 83.333% (20/24)
2012
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
 83.333% (15/18)
136
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
 83.333% (35/42)
3611
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
 83.333% (5/6)
52
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
 83.333% (25/30)
229
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
 83.333% (10/12)
74
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
 83.333% (5/6)
42
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
 83.333% (30/36)
2414
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
 83.333% (5/6)
32
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
 83.333% (5/6)
22
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
 83.333% (5/6)
32
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
 83.333% (5/6)
32
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
 83.333% (5/6)
42
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
 83.333% (5/6)
112
QXmlStreamReader
Name: QXmlStreamReader
Coverage:  83.516% (152/182)
 83.516% (152/182)
18293
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
 83.516% (76/91)
3915
QHttpProtocolHandler
Name: QHttpProtocolHandler
Coverage:  83.575% (173/207)
 83.575% (173/207)
19863
QItemSelectionModelPrivate
Name: QItemSelectionModelPrivate
Coverage:  83.598% (158/189)
 83.598% (158/189)
18245
QString
Name: QString
Coverage:  83.675% (1102/1317)
 83.675% (1102/1317)
1289542
QSqlQueryModel
Name: QSqlQueryModel
Coverage:  83.832% (140/167)
 83.832% (140/167)
16666
QXmlSimpleReaderPrivate
Name: QXmlSimpleReaderPrivate
Coverage:  83.860% (2177/2596)
 83.860% (2177/2596)
2639976
QResourceRoot
Name: QResourceRoot
Coverage:  83.916% (120/143)
 83.916% (120/143)
16052
QSqlRelationalTableModel
Name: QSqlRelationalTableModel
Coverage:  83.942% (115/137)
 83.942% (115/137)
13448
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
 84.000% (21/25)
378
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
 84.000% (21/25)
229
QNetworkAccessFtpBackend
Name: QNetworkAccessFtpBackend
Coverage:  84.058% (116/138)
 84.058% (116/138)
14749
QMimeGlobPattern
Name: QMimeGlobPattern
Coverage:  84.091% (37/44)
 84.091% (37/44)
2810
QCommandLineOption
Name: QCommandLineOption
Coverage:  84.211% (16/19)
 84.211% (16/19)
2817
QNetworkAccessAuthenticationManager
Name: QNetworkAccessAuthenticationManager
Coverage:  84.211% (48/57)
 84.211% (48/57)
8624
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
 84.211% (16/19)
1110
QSocks5PasswordAuthenticator
Name: QSocks5PasswordAuthenticator
Coverage:  84.615% (11/13)
 84.615% (11/13)
267
UnrollTailLoop
Name: UnrollTailLoop
Coverage:  84.615% (11/13)
 84.615% (11/13)
109
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
 84.615% (11/13)
105
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
 84.615% (11/13)
75
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
 84.615% (11/13)
155
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
 84.615% (22/26)
2811
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
 84.615% (11/13)
164
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
 84.615% (11/13)
155
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
 84.615% (11/13)
125
QDBusXmlParser
Name: QDBusXmlParser
Coverage:  84.848% (28/33)
 84.848% (28/33)
2114
QItemSelectionModel
Name: QItemSelectionModel
Coverage:  84.986% (300/353)
 84.986% (300/353)
286122
QDebugStateSaverPrivate
Name: QDebugStateSaverPrivate
Coverage:  85.000% (17/20)
 85.000% (17/20)
127
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
 85.000% (17/20)
114
QResourcePrivate
Name: QResourcePrivate
Coverage:  85.185% (69/81)
 85.185% (69/81)
8429
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
 85.185% (23/27)
3612
QNetworkDiskCache
Name: QNetworkDiskCache
Coverage:  85.211% (121/142)
 85.211% (121/142)
17353
QByteArray
Name: QByteArray
Coverage:  85.310% (633/742)
 85.310% (633/742)
672273
QCommandLineParserPrivate
Name: QCommandLineParserPrivate
Coverage:  85.401% (117/137)
 85.401% (117/137)
14353
QDBusAdaptorConnector
Name: QDBusAdaptorConnector
Coverage:  85.455% (47/55)
 85.455% (47/55)
7323
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
 85.484% (53/62)
3514
QTextBoundaryFinder
Name: QTextBoundaryFinder
Coverage:  85.648% (185/216)
 85.648% (185/216)
13373
QEmptyItemModel
Name: QEmptyItemModel
Coverage:  85.714% (6/7)
 85.714% (6/7)
77
QNetworkInterface
Name: QNetworkInterface
Coverage:  85.714% (24/28)
 85.714% (24/28)
4322
QNetworkRequestPrivate
Name: QNetworkRequestPrivate
Coverage:  85.714% (6/7)
 85.714% (6/7)
135
QPlainTestLogger
Name: QPlainTestLogger
Coverage:  85.714% (54/63)
 85.714% (54/63)
9921
QPrinterInfoPrivate
Name: QPrinterInfoPrivate
Coverage:  85.714% (6/7)
 85.714% (6/7)
43
QSqlField
Name: QSqlField
Coverage:  85.714% (36/42)
 85.714% (36/42)
5334
QTeamCityLogger
Name: QTeamCityLogger
Coverage:  85.714% (60/70)
 85.714% (60/70)
8927
QThreadData
Name: QThreadData
Coverage:  85.714% (24/28)
 85.714% (24/28)
3613
QThreadPool
Name: QThreadPool
Coverage:  85.714% (42/49)
 85.714% (42/49)
5425
QXmlParseException
Name: QXmlParseException
Coverage:  85.714% (6/7)
 85.714% (6/7)
137
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
 85.714% (6/7)
63
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
 85.714% (6/7)
63
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
 85.714% (12/14)
104
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
 85.714% (6/7)
73
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
 85.714% (12/14)
227
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
 85.714% (30/35)
5211
qDBusRemoveTimeout
Name: qDBusRemoveTimeout
Prototype: static void qDBusRemoveTimeout(DBusTimeout *timeout, void *data)
Coverage:  85.714% (6/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusintegrator.cpp
Lines: 165-187
 85.714% (6/7)
123
qt_message_print
Name: qt_message_print
Prototype: static void qt_message_print(QtMsgType msgType, const QMessageLogContext &context, const QString &message)
Coverage:  85.714% (18/21)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/global/qlogging.cpp
Lines: 1633-1659
 85.714% (18/21)
116
queryFont
Name: queryFont
Prototype: static FcPattern *queryFont(const FcChar8 *file, const QByteArray &data, int id, FcBlanks *blanks, int *count)
Coverage:  85.714% (6/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/platformsupport/fontdatabases/fontconfig/qfontconfigdatabase.cpp
Lines: 774-798
 85.714% (6/7)
103
QDBusServiceWatcherPrivate
Name: QDBusServiceWatcherPrivate
Coverage:  86.207% (25/29)
 86.207% (25/29)
2313
QAbstractItemModelPrivate
Name: QAbstractItemModelPrivate
Coverage:  86.266% (201/233)
 86.266% (201/233)
24075
QTextCodec
Name: QTextCodec
Coverage:  86.331% (120/139)
 86.331% (120/139)
11953
qFormatLogMessage
Name: qFormatLogMessage
Prototype: QString qFormatLogMessage(QtMsgType type, const QMessageLogContext &context, const QString &str)
Coverage:  86.408% (89/103)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/global/qlogging.cpp
Lines: 1353-1468
 86.408% (89/103)
7636
convertToLevelAndOption
Name: convertToLevelAndOption
Prototype: static void convertToLevelAndOption(QNativeSocketEngine::SocketOption opt, QAbstractSocket::NetworkLayerProtocol socketProtocol, int &level, int &n)
Coverage:  86.441% (51/59)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine_unix.cpp
Lines: 136-222
 86.441% (51/59)
4922
QListData
Name: QListData
Coverage:  86.667% (104/120)
 86.667% (104/120)
14146
shouldIncludeFs
Name: shouldIncludeFs
Prototype: static bool shouldIncludeFs(const QStorageIterator &it)
Coverage:  86.667% (13/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qstorageinfo_unix.cpp
Lines: 157-192
 86.667% (13/15)
103
unquote
Name: unquote
Prototype: static QString unquote(const QStringRef &str)
Coverage:  86.667% (13/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetimeparser.cpp
Lines: 316-338
 86.667% (13/15)
155
QMetaType
Name: QMetaType
Coverage:  86.859% (542/624)
 86.859% (542/624)
469323
QXmlStreamReaderPrivate
Name: QXmlStreamReaderPrivate
Coverage:  86.921% (638/734)
 86.921% (638/734)
610276
Page:<>1
Condition %:  0.000% (0/41)
...10
Condition %:  0.000% (0/36)
...20
Condition %:  0.000% (0/10)
...30
Condition %:  0.000% (0/1)
...40
Condition %:  58.621% (17/29)
41
Condition %:  66.667% (6/9)
42
Condition %:  71.429% (5/7)
43
Condition %:  76.190% (80/105)
44
Condition %:  77.778% (7/9)
4546
Condition %:  86.928% (133/153)
47
Condition %:  91.753% (89/97)
48
Condition %: 100.000% (8/8)
49
Condition %: 100.000% (2/2)
50
Condition %: 100.000% (2/2)
...55
Condition %: 100.000% (1/1)

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