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)
...37
Condition %:  47.059% (16/34)
38
Condition %:  50.000% (2/4)
39
Condition %:  50.000% (2/4)
40
Condition %:  58.621% (17/29)
4142
Condition %:  71.429% (5/7)
43
Condition %:  76.190% (80/105)
44
Condition %:  77.778% (7/9)
45
Condition %:  81.818% (9/11)
...50
Condition %: 100.000% (2/2)
...55
Condition %: 100.000% (1/1)
FunctionCondition %▴eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
_q_checkEntry
Name: _q_checkEntry
Prototype: static inline bool _q_checkEntry(QFileSystemEntry &entry, QFileSystemMetaData &data, bool resolvingEntry)
Coverage:  66.667% (6/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qfilesystemengine.cpp
Lines: 111-122
 66.667% (6/9)
63
calculateUnixPriority
Name: calculateUnixPriority
Prototype: static bool calculateUnixPriority(int priority, int *sched_policy, int *__sched_priority)
Coverage:  66.667% (6/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthread_unix.cpp
Lines: 518-556
 66.667% (6/9)
173
checkExecutable
Name: checkExecutable
Prototype: static QString checkExecutable(const QString &path)
Coverage:  66.667% (6/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qstandardpaths.cpp
Lines: 439-447
 66.667% (6/9)
63
check_method_code
Name: check_method_code
Prototype: static bool check_method_code(int code, const QObject *object, const char *method, const char *func)
Coverage:  66.667% (4/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qobject.cpp
Lines: 2257-2266
 66.667% (4/6)
52
connectionCapabilies
Name: connectionCapabilies
Prototype: static QDBusConnection::ConnectionCapabilities connectionCapabilies(DBusConnection *connection)
Coverage:  66.667% (4/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusintegrator.cpp
Lines: 1765-1787
 66.667% (4/6)
62
getticks
Name: getticks
Prototype: static qint64 getticks()
Coverage:  66.667% (8/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/concurrent/qtconcurrentiteratekernel.cpp
Lines: 78-117
 66.667% (8/12)
124
isTextFile
Name: isTextFile
Prototype: static inline bool isTextFile(const QByteArray &data)
Coverage:  66.667% (12/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/mimetypes/qmimedatabase.cpp
Lines: 121-138
 66.667% (12/18)
84
parseTzTypes
Name: parseTzTypes
Prototype: static QVector<QTzType> parseTzTypes(QDataStream &ds, int tzh_typecnt)
Coverage:  66.667% (10/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qtimezoneprivate_tz.cpp
Lines: 222-245
 66.667% (10/15)
135
qConvertToRealNumber
Name: qConvertToRealNumber
Prototype: static qreal qConvertToRealNumber(const QVariant::Private *d, bool *ok)
Coverage:  66.667% (8/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qvariant.cpp
Lines: 244-262
 66.667% (8/12)
69
qDBusInterfaceInObject
Name: qDBusInterfaceInObject
Prototype: bool qDBusInterfaceInObject(QObject *obj, const QString &interface_name)
Coverage:  66.667% (4/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusmisc.cpp
Lines: 117-124
 66.667% (4/6)
53
qbytearray_insert
Name: qbytearray_insert
Prototype: static inline QByteArray &qbytearray_insert(QByteArray *ba, int pos, const char *arr, int len)
Coverage:  66.667% (8/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qbytearray.cpp
Lines: 1967-1984
 66.667% (8/12)
113
qt_call_post_routines
Name: qt_call_post_routines
Prototype: void __attribute__((visibility("default"))) qt_call_post_routines()
Coverage:  66.667% (6/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp
Lines: 286-300
 66.667% (6/9)
64
QtConcurrent
Name: QtConcurrent
Coverage:  67.089% (106/158)
 67.089% (106/158)
12876
QAsn1Element
Name: QAsn1Element
Coverage:  67.114% (100/149)
 67.114% (100/149)
15853
parseDateString
Name: parseDateString
Prototype: static QDateTime parseDateString(const QByteArray &dateString)
Coverage:  67.260% (189/281)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qnetworkcookie.cpp
Lines: 584-874
 67.260% (189/281)
17265
QPropertyAnimation
Name: QPropertyAnimation
Coverage:  67.273% (37/55)
 67.273% (37/55)
5821
QHttpNetworkConnection
Name: QHttpNetworkConnection
Coverage:  67.308% (35/52)
 67.308% (35/52)
5630
QSslKey
Name: QSslKey
Coverage:  67.308% (35/52)
 67.308% (35/52)
4926
QFontconfigDatabase
Name: QFontconfigDatabase
Coverage:  67.391% (93/138)
 67.391% (93/138)
22446
createFileFromTemplate
Name: createFileFromTemplate
Prototype: static bool createFileFromTemplate(NativeFileHandle &file, QFileSystemEntry::NativePath &path, size_t pos, size_t length, quint32 mode, QSystemError &error)
Coverage:  67.500% (27/40)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qtemporaryfile.cpp
Lines: 118-235
 67.500% (27/40)
4122
QIODevicePrivate
Name: QIODevicePrivate
Coverage:  67.568% (25/37)
 67.568% (25/37)
4715
QFtpPI
Name: QFtpPI
Coverage:  67.593% (146/216)
 67.593% (146/216)
22580
QSslContext
Name: QSslContext
Coverage:  67.630% (117/173)
 67.630% (117/173)
17371
QAbstractTestLogger
Name: QAbstractTestLogger
Coverage:  67.647% (23/34)
 67.647% (23/34)
2412
QTestLog
Name: QTestLog
Coverage:  67.669% (90/133)
 67.669% (90/133)
10370
QTestPrivate
Name: QTestPrivate
Coverage:  67.742% (42/62)
 67.742% (42/62)
4222
QAnimationGroup
Name: QAnimationGroup
Coverage:  68.000% (34/50)
 68.000% (34/50)
5922
QNetworkProxyFactory
Name: QNetworkProxyFactory
Coverage:  68.000% (34/50)
 68.000% (34/50)
4317
QThreadPrivate
Name: QThreadPrivate
Coverage:  68.182% (30/44)
 68.182% (30/44)
7315
QMetaProperty
Name: QMetaProperty
Coverage:  68.441% (180/263)
 68.441% (180/263)
24897
QNetworkAccessCache
Name: QNetworkAccessCache
Coverage:  68.504% (87/127)
 68.504% (87/127)
14551
QSslConfiguration
Name: QSslConfiguration
Coverage:  68.519% (37/54)
 68.519% (37/54)
9746
QNetworkAccessCacheBackend
Name: QNetworkAccessCacheBackend
Coverage:  68.571% (24/35)
 68.571% (24/35)
4114
_q_uuidFromHex
Name: _q_uuidFromHex
Prototype: template <class Char> bool _q_uuidFromHex(const Char *&src, uint &d1, ushort &d2, ushort &d3, uchar (&d4)[8])
Coverage:  68.571% (24/35)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/plugin/quuid.cpp
Lines: 100-124
 68.571% (24/35)
193
QAssociativeIterable
Name: QAssociativeIterable
Coverage:  68.627% (35/51)
 68.627% (35/51)
7834
SizeOf
Name: SizeOf
Coverage:  68.750% (11/16)
 68.750% (11/16)
1510
qglx_buildSpec
Name: qglx_buildSpec
Prototype: QVector<int> qglx_buildSpec(const QSurfaceFormat &format, int drawableBit)
Coverage:  68.750% (11/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/platformsupport/glxconvenience/qglxconvenience.cpp
Lines: 79-129
 68.750% (11/16)
406
QSystemSemaphorePrivate
Name: QSystemSemaphorePrivate
Coverage:  68.831% (53/77)
 68.831% (53/77)
8330
QAuthenticator
Name: QAuthenticator
Coverage:  68.889% (31/45)
 68.889% (31/45)
5125
QFutureInterfaceBasePrivate
Name: QFutureInterfaceBasePrivate
Coverage:  68.919% (51/74)
 68.919% (51/74)
6629
QXmlStreamWriter
Name: QXmlStreamWriter
Coverage:  68.966% (100/145)
 68.966% (100/145)
22974
parseMethod
Name: parseMethod
Prototype: static bool parseMethod(QXmlStreamReader &xml, QDBusIntrospection::Method &methodData, QDBusIntrospection::Interface *ifaceData)
Coverage:  68.966% (20/29)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusxmlparser.cpp
Lines: 174-228
 68.966% (20/29)
349
qDBusPropertyGetAll
Name: qDBusPropertyGetAll
Prototype: QDBusMessage qDBusPropertyGetAll(const QDBusConnectionPrivate::ObjectTreeNode &node, const QDBusMessage &msg)
Coverage:  68.966% (20/29)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusinternalfilters.cpp
Lines: 483-531
 68.966% (20/29)
357
QDBusConnection
Name: QDBusConnection
Coverage:  69.030% (185/268)
 69.030% (185/268)
20192
QRegExpEngine
Name: QRegExpEngine
Coverage:  69.045% (571/827)
 69.045% (571/827)
897312
QMimeType
Name: QMimeType
Coverage:  69.118% (47/68)
 69.118% (47/68)
7534
QMetaEnumBuilder
Name: QMetaEnumBuilder
Coverage:  69.231% (36/52)
 69.231% (36/52)
3718
activeConditions
Name: activeConditions
Prototype: static QSet<QByteArray> activeConditions()
Coverage:  69.231% (9/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/testlib/qtestblacklist.cpp
Lines: 168-185
 69.231% (9/13)
115
calculatePosixDate
Name: calculatePosixDate
Prototype: static QDate calculatePosixDate(const QByteArray &dateRule, int year)
Coverage:  69.231% (9/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qtimezoneprivate_tz.cpp
Lines: 355-379
 69.231% (9/13)
165
QTextStream
Name: QTextStream
Coverage:  69.383% (315/454)
 69.383% (315/454)
368185
QDBusArgument
Name: QDBusArgument
Coverage:  69.547% (169/243)
 69.547% (169/243)
170116
QStorageInfoPrivate
Name: QStorageInfoPrivate
Coverage:  69.565% (32/46)
 69.565% (32/46)
4620
createInterfaces
Name: createInterfaces
Prototype: static QList<QNetworkInterfacePrivate *> createInterfaces(ifaddrs *rawList)
Coverage:  69.565% (16/23)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qnetworkinterface_unix.cpp
Lines: 365-419
 69.565% (16/23)
317
operator<<
Name: operator<<
Prototype: QDebug operator<<(QDebug debug, QIODevice::OpenMode modes)
Coverage:  69.565% (16/23)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 2015-2039
 69.565% (16/23)
208
qt_mktime
Name: qt_mktime
Prototype: static qint64 qt_mktime(QDate *date, QTime *time, QDateTimePrivate::DaylightStatus *daylightStatus, QString *abbreviation, bool *ok = 0)
Coverage:  69.565% (32/46)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp
Lines: 2229-2342
 69.565% (32/46)
4315
QHttpNetworkConnectionChannel
Name: QHttpNetworkConnectionChannel
Coverage:  69.708% (382/548)
 69.708% (382/548)
512190
QTimeLine
Name: QTimeLine
Coverage:  69.792% (67/96)
 69.792% (67/96)
13258
QMetaMethod
Name: QMetaMethod
Coverage:  69.841% (132/189)
 69.841% (132/189)
21870
QThread
Name: QThread
Coverage:  69.853% (95/136)
 69.853% (95/136)
19260
QAbstractFileEngineIterator
Name: QAbstractFileEngineIterator
Coverage:  70.000% (14/20)
 70.000% (14/20)
2012
QAbstractProxyModelPrivate
Name: QAbstractProxyModelPrivate
Coverage:  70.000% (7/10)
 70.000% (7/10)
154
QHostInfoAgent
Name: QHostInfoAgent
Coverage:  70.000% (42/60)
 70.000% (42/60)
7918
QHttpMultiPartIODevice
Name: QHttpMultiPartIODevice
Coverage:  70.000% (42/60)
 70.000% (42/60)
5919
backtraceFramesForLogMessage
Name: backtraceFramesForLogMessage
Prototype: static QStringList backtraceFramesForLogMessage(int frameCount)
Coverage:  70.000% (28/40)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/global/qlogging.cpp
Lines: 1210-1266
 70.000% (28/40)
3012
headerValue
Name: headerValue
Prototype: static QByteArray headerValue(QNetworkRequest::KnownHeaders header, const QVariant &value)
Coverage:  70.000% (28/40)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qnetworkrequest.cpp
Lines: 745-809
 70.000% (28/40)
3121
loadTzTimeZones
Name: loadTzTimeZones
Prototype: static QTzTimeZoneHash loadTzTimeZones()
Coverage:  70.000% (14/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qtimezoneprivate_tz.cpp
Lines: 71-98
 70.000% (14/20)
168
metaEnumFromType
Name: metaEnumFromType
Prototype: static QMetaEnum metaEnumFromType(int type)
Coverage:  70.000% (7/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qvariant.cpp
Lines: 340-353
 70.000% (7/10)
94
qt_resource_fixResourceRoot
Name: qt_resource_fixResourceRoot
Prototype: static QString qt_resource_fixResourceRoot(QString r)
Coverage:  70.000% (7/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qresource.cpp
Lines: 1040-1048
 70.000% (7/10)
64
readNode
Name: readNode
Prototype: static void readNode(const QXmlStreamReader &xml, QDBusIntrospection::Object *objData, int nodeLevel)
Coverage:  70.000% (7/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusxmlparser.cpp
Lines: 331-345
 70.000% (7/10)
83
timerSourcePrepare
Name: timerSourcePrepare
Prototype: static gboolean timerSourcePrepare(GSource *source, gint *timeout)
Coverage:  70.000% (7/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp
Lines: 152-166
 70.000% (7/10)
94
QUdpSocket
Name: QUdpSocket
Coverage:  70.175% (40/57)
 70.175% (40/57)
4725
QFileInfo
Name: QFileInfo
Coverage:  70.339% (249/354)
 70.339% (249/354)
285140
QStorageInfo
Name: QStorageInfo
Coverage:  70.370% (19/27)
 70.370% (19/27)
3123
QFtpDTP
Name: QFtpDTP
Coverage:  70.548% (103/146)
 70.548% (103/146)
14858
QGLFunctions
Name: QGLFunctions
Coverage:  70.588% (12/17)
 70.588% (12/17)
179
QMutexPool
Name: QMutexPool
Coverage:  70.588% (12/17)
 70.588% (12/17)
139
QSaveFile
Name: QSaveFile
Coverage:  70.588% (60/85)
 70.588% (60/85)
10635
QPluginLoader
Name: QPluginLoader
Coverage:  71.014% (49/69)
 71.014% (49/69)
6031
getMessage
Name: getMessage
Prototype: static QString getMessage(const uchar *m, const uchar *end, const char *context, const char *sourceText, const char *comment, uint numerus)
Coverage:  71.111% (32/45)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qtranslator.cpp
Lines: 897-965
 71.111% (32/45)
4819
QDataStream
Name: QDataStream
Coverage:  71.386% (242/339)
 71.386% (242/339)
274132
BounceEase
Name: BounceEase
Coverage:  71.429% (10/14)
 71.429% (10/14)
138
PageItem
Name: PageItem
Coverage:  71.429% (5/7)
 71.429% (5/7)
395
QCommandLineOptionPrivate
Name: QCommandLineOptionPrivate
Coverage:  71.429% (5/7)
 71.429% (5/7)
74
QDnsMailExchangeRecord
Name: QDnsMailExchangeRecord
Coverage:  71.429% (5/7)
 71.429% (5/7)
107
QHttpMultiPartPrivate
Name: QHttpMultiPartPrivate
Coverage:  71.429% (5/7)
 71.429% (5/7)
93
QSignalTransition
Name: QSignalTransition
Coverage:  71.429% (15/21)
 71.429% (15/21)
3413
_q_checkEntry
Name: _q_checkEntry
Prototype: static inline bool _q_checkEntry(QAbstractFileEngine *&engine, bool resolvingEntry)
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qfilesystemengine.cpp
Lines: 124-135
 71.429% (5/7)
63
_q_dupEnvironment
Name: _q_dupEnvironment
Prototype: static char **_q_dupEnvironment(const QProcessEnvironmentPrivate::Hash &environment, int *envc)
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess_unix.cpp
Lines: 341-364
 71.429% (5/7)
163
caretIndex
Name: caretIndex
Prototype: static int caretIndex(int offset, QRegExp::CaretMode caretMode)
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp
Lines: 859-868
 71.429% (5/7)
53
checkWarnMessage
Name: checkWarnMessage
Prototype: static void checkWarnMessage(const QIODevice *device, const char *function, const char *what)
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 90-113
 71.429% (5/7)
113
loadRulesFromFile
Name: loadRulesFromFile
Prototype: static QVector<QLoggingRule> loadRulesFromFile(const QString &filePath)
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qloggingregistry.cpp
Lines: 257-270
 71.429% (5/7)
103
massageAdjustedDateTime
Name: massageAdjustedDateTime
Prototype: static void massageAdjustedDateTime(Qt::TimeSpec spec, const QTimeZone &zone, QDate *date, QTime *time)
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp
Lines: 3701-3728
 71.429% (5/7)
53
operator<<
Name: operator<<
Prototype: QDebug operator<<(QDebug dbg, const QObject *o)
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qobject.cpp
Lines: 4120-4130
 71.429% (5/7)
83
operator==
Name: operator==
Prototype: bool operator==(QLatin1String s1, const QStringRef &s2) noexcept
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 9097-9106
 71.429% (5/7)
63
qDBusParametersForMethod
Name: qDBusParametersForMethod
Prototype: int qDBusParametersForMethod(const QList<QByteArray> &parameterTypes, QVector<int>& metaTypes, QString &errorMsg)
Coverage:  71.429% (20/28)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusmisc.cpp
Lines: 145-201
 71.429% (20/28)
3910
qDefaultMessageHandler
Name: qDefaultMessageHandler
Prototype: static void qDefaultMessageHandler(QtMsgType type, const QMessageLogContext &context, const QString &buf)
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/global/qlogging.cpp
Lines: 1567-1599
 71.429% (5/7)
63
qExtractServerTime
Name: qExtractServerTime
Prototype: static QByteArray qExtractServerTime(const QByteArray& targetInfoBuff)
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qauthenticator.cpp
Lines: 1218-1241
 71.429% (5/7)
163
qSetGlobalQHashSeed
Name: qSetGlobalQHashSeed
Prototype: void qSetGlobalQHashSeed(int newSeed)
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qhash.cpp
Lines: 384-394
 71.429% (5/7)
63
qStreamNtlmString
Name: qStreamNtlmString
Prototype: static void qStreamNtlmString(QDataStream& ds, const QString& s, bool unicode)
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qauthenticator.cpp
Lines: 936-945
 71.429% (5/7)
63
qsrand
Name: qsrand
Prototype: void qsrand(uint seed)
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/global/qglobal.cpp
Lines: 3466-3503
 71.429% (5/7)
73
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)
...37
Condition %:  47.059% (16/34)
38
Condition %:  50.000% (2/4)
39
Condition %:  50.000% (2/4)
40
Condition %:  58.621% (17/29)
4142
Condition %:  71.429% (5/7)
43
Condition %:  76.190% (80/105)
44
Condition %:  77.778% (7/9)
45
Condition %:  81.818% (9/11)
...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