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

Function Tree

Page:<>1
Condition %: 100.000% (1/1)
...7
Condition %: 100.000% (50/50)
8
Condition %: 100.000% (1/1)
9
Condition %:  98.901% (90/91)
10
Condition %:  90.909% (20/22)
1112
Condition %:  80.952% (68/84)
13
Condition %:  77.778% (7/9)
14
Condition %:  75.000% (3/4)
15
Condition %:  71.429% (5/7)
...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
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
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
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
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
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
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
QXmlParseException
Name: QXmlParseException
Coverage:  85.714% (6/7)
 85.714% (6/7)
137
QThreadPool
Name: QThreadPool
Coverage:  85.714% (42/49)
 85.714% (42/49)
5425
QThreadData
Name: QThreadData
Coverage:  85.714% (24/28)
 85.714% (24/28)
3613
QTeamCityLogger
Name: QTeamCityLogger
Coverage:  85.714% (60/70)
 85.714% (60/70)
8927
QSqlField
Name: QSqlField
Coverage:  85.714% (36/42)
 85.714% (36/42)
5334
QPrinterInfoPrivate
Name: QPrinterInfoPrivate
Coverage:  85.714% (6/7)
 85.714% (6/7)
43
QPlainTestLogger
Name: QPlainTestLogger
Coverage:  85.714% (54/63)
 85.714% (54/63)
9921
QNetworkRequestPrivate
Name: QNetworkRequestPrivate
Coverage:  85.714% (6/7)
 85.714% (6/7)
135
QNetworkInterface
Name: QNetworkInterface
Coverage:  85.714% (24/28)
 85.714% (24/28)
4322
QEmptyItemModel
Name: QEmptyItemModel
Coverage:  85.714% (6/7)
 85.714% (6/7)
77
QTextBoundaryFinder
Name: QTextBoundaryFinder
Coverage:  85.648% (185/216)
 85.648% (185/216)
13373
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
QDBusAdaptorConnector
Name: QDBusAdaptorConnector
Coverage:  85.455% (47/55)
 85.455% (47/55)
7323
QCommandLineParserPrivate
Name: QCommandLineParserPrivate
Coverage:  85.401% (117/137)
 85.401% (117/137)
14353
QByteArray
Name: QByteArray
Coverage:  85.310% (633/742)
 85.310% (633/742)
672273
QNetworkDiskCache
Name: QNetworkDiskCache
Coverage:  85.211% (121/142)
 85.211% (121/142)
17353
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
QResourcePrivate
Name: QResourcePrivate
Coverage:  85.185% (69/81)
 85.185% (69/81)
8429
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
QDebugStateSaverPrivate
Name: QDebugStateSaverPrivate
Coverage:  85.000% (17/20)
 85.000% (17/20)
127
QItemSelectionModel
Name: QItemSelectionModel
Coverage:  84.986% (300/353)
 84.986% (300/353)
286122
QDBusXmlParser
Name: QDBusXmlParser
Coverage:  84.848% (28/33)
 84.848% (28/33)
2114
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
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
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
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
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
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
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
UnrollTailLoop
Name: UnrollTailLoop
Coverage:  84.615% (11/13)
 84.615% (11/13)
109
QSocks5PasswordAuthenticator
Name: QSocks5PasswordAuthenticator
Coverage:  84.615% (11/13)
 84.615% (11/13)
267
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
QNetworkAccessAuthenticationManager
Name: QNetworkAccessAuthenticationManager
Coverage:  84.211% (48/57)
 84.211% (48/57)
8624
QCommandLineOption
Name: QCommandLineOption
Coverage:  84.211% (16/19)
 84.211% (16/19)
2817
QMimeGlobPattern
Name: QMimeGlobPattern
Coverage:  84.091% (37/44)
 84.091% (37/44)
2810
QNetworkAccessFtpBackend
Name: QNetworkAccessFtpBackend
Coverage:  84.058% (116/138)
 84.058% (116/138)
14749
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
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
QSqlRelationalTableModel
Name: QSqlRelationalTableModel
Coverage:  83.942% (115/137)
 83.942% (115/137)
13448
QResourceRoot
Name: QResourceRoot
Coverage:  83.916% (120/143)
 83.916% (120/143)
16052
QXmlSimpleReaderPrivate
Name: QXmlSimpleReaderPrivate
Coverage:  83.860% (2177/2596)
 83.860% (2177/2596)
2639976
QSqlQueryModel
Name: QSqlQueryModel
Coverage:  83.832% (140/167)
 83.832% (140/167)
16666
QString
Name: QString
Coverage:  83.675% (1102/1317)
 83.675% (1102/1317)
1289542
QItemSelectionModelPrivate
Name: QItemSelectionModelPrivate
Coverage:  83.598% (158/189)
 83.598% (158/189)
18245
QHttpProtocolHandler
Name: QHttpProtocolHandler
Coverage:  83.575% (173/207)
 83.575% (173/207)
19863
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
QXmlStreamReader
Name: QXmlStreamReader
Coverage:  83.516% (152/182)
 83.516% (152/182)
18293
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
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
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
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
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
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
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
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
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
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
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
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
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
TypeInfo
Name: TypeInfo
Coverage:  83.333% (20/24)
 83.333% (20/24)
2012
QTimer
Name: QTimer
Coverage:  83.333% (45/54)
 83.333% (45/54)
3922
QLibrarySettings
Name: QLibrarySettings
Coverage:  83.333% (20/24)
 83.333% (20/24)
164
QHttpMultiPart
Name: QHttpMultiPart
Coverage:  83.333% (5/6)
 83.333% (5/6)
86
QGlobalNetworkProxy
Name: QGlobalNetworkProxy
Coverage:  83.333% (30/36)
 83.333% (30/36)
4213
QAbstractTransitionPrivate
Name: QAbstractTransitionPrivate
Coverage:  83.333% (10/12)
 83.333% (10/12)
158
QSortFilterProxyModelPrivate
Name: QSortFilterProxyModelPrivate
Coverage:  83.279% (508/610)
 83.279% (508/610)
659200
QSslCertificate
Name: QSslCertificate
Coverage:  82.828% (164/198)
 82.828% (164/198)
18278
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
QRelation
Name: QRelation
Coverage:  82.759% (24/29)
 82.759% (24/29)
3615
QAbstractSocket
Name: QAbstractSocket
Coverage:  82.705% (373/451)
 82.705% (373/451)
425162
QAbstractProxyModel
Name: QAbstractProxyModel
Coverage:  82.540% (52/63)
 82.540% (52/63)
9940
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
QPollingFileSystemWatcherEngine
Name: QPollingFileSystemWatcherEngine
Coverage:  82.353% (56/68)
 82.353% (56/68)
6723
QCommandLineParser
Name: QCommandLineParser
Coverage:  82.222% (74/90)
 82.222% (74/90)
9556
QSemaphore
Name: QSemaphore
Coverage:  82.143% (23/28)
 82.143% (23/28)
3413
QMetaObject
Name: QMetaObject
Coverage:  82.105% (390/475)
 82.105% (390/475)
512171
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
QTextStreamPrivate
Name: QTextStreamPrivate
Coverage:  81.818% (468/572)
 81.818% (468/572)
465179
QRegularExpressionPrivate
Name: QRegularExpressionPrivate
Coverage:  81.818% (108/132)
 81.818% (108/132)
15841
QPlatformPrinterSupportPlugin
Name: QPlatformPrinterSupportPlugin
Coverage:  81.818% (9/11)
 81.818% (9/11)
95
QNetworkAuthenticationCache
Name: QNetworkAuthenticationCache
Coverage:  81.818% (18/22)
 81.818% (18/22)
218
QLoggingSettingsParser
Name: QLoggingSettingsParser
Coverage:  81.818% (27/33)
 81.818% (27/33)
2911
QHttpSocketEngineHandler
Name: QHttpSocketEngineHandler
Coverage:  81.818% (9/11)
 81.818% (9/11)
105
QEventDispatcherGlibPrivate
Name: QEventDispatcherGlibPrivate
Coverage:  81.818% (9/11)
 81.818% (9/11)
344
ClipboardEvent
Name: ClipboardEvent
Coverage:  81.818% (9/11)
 81.818% (9/11)
115
QStateMachine
Name: QStateMachine
Coverage:  81.667% (98/120)
 81.667% (98/120)
16764
QAbstractPrintDialog
Name: QAbstractPrintDialog
Coverage:  81.481% (22/27)
 81.481% (22/27)
6019
QHttpNetworkRequest
Name: QHttpNetworkRequest
Coverage:  81.429% (57/70)
 81.429% (57/70)
5952
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
 81.395% (70/86)
7123
QFtpPrivate
Name: QFtpPrivate
Coverage:  81.301% (100/123)
 81.301% (100/123)
12445
QRegExpCharClass
Name: QRegExpCharClass
Coverage:  81.250% (39/48)
 81.250% (39/48)
4422
QFutureInterfaceBase
Name: QFutureInterfaceBase
Coverage:  81.102% (103/127)
 81.102% (103/127)
15469
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
 80.952% (17/21)
197
Page:<>1
Condition %: 100.000% (1/1)
...7
Condition %: 100.000% (50/50)
8
Condition %: 100.000% (1/1)
9
Condition %:  98.901% (90/91)
10
Condition %:  90.909% (20/22)
1112
Condition %:  80.952% (68/84)
13
Condition %:  77.778% (7/9)
14
Condition %:  75.000% (3/4)
15
Condition %:  71.429% (5/7)
...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