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

Function Tree

Path:<top>::QDataStream
Functionâ–´Condition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
QDataStream
Name: QDataStream::QDataStream
Prototype: QDataStream::QDataStream()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 279-287
100.000% (1/1)
61
QDataStream
Name: QDataStream::QDataStream
Prototype: QDataStream::QDataStream(QIODevice *d)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 295-303
100.000% (1/1)
61
QDataStream
Name: QDataStream::QDataStream
Prototype: QDataStream::QDataStream(QByteArray *a, QIODevice::OpenMode flags)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 318-331
100.000% (1/1)
91
QDataStream
Name: QDataStream::QDataStream
Prototype: QDataStream::QDataStream(const QByteArray &a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 341-355
100.000% (1/1)
101
abortTransaction
Name: QDataStream::abortTransaction
Prototype: void QDataStream::abortTransaction()
Coverage:  33.333% (4/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 735-745
 33.333% (4/12)
64
atEnd
Name: QDataStream::atEnd
Prototype: bool QDataStream::atEnd() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 422-425
100.000% (1/1)
11
commitTransaction
Name: QDataStream::commitTransaction
Prototype: bool QDataStream::commitTransaction()
Coverage:  66.667% (10/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 661-674
 66.667% (10/15)
85
floatingPointPrecision
Name: QDataStream::floatingPointPrecision
Prototype: QDataStream::FloatingPointPrecision QDataStream::floatingPointPrecision() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 434-437
100.000% (1/1)
11
operator<<
Name: QDataStream::operator<<
Prototype: QDataStream &QDataStream::operator<<(qint8 i)
Coverage:  80.000% (8/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 1081-1087
 80.000% (8/10)
44
operator<<
Name: QDataStream::operator<<
Prototype: QDataStream &QDataStream::operator<<(qint16 i)
Coverage:  84.615% (11/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 1105-1114
 84.615% (11/13)
65
operator<<
Name: QDataStream::operator<<
Prototype: QDataStream &QDataStream::operator<<(qint32 i)
Coverage:  84.615% (11/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 1123-1132
 84.615% (11/13)
65
operator<<
Name: QDataStream::operator<<
Prototype: QDataStream &QDataStream::operator<<(qint64 i)
Coverage:  76.471% (13/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 1149-1164
 76.471% (13/17)
106
operator<<
Name: QDataStream::operator<<
Prototype: QDataStream &QDataStream::operator<<(bool i)
Coverage:  80.000% (8/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 1179-1185
 80.000% (8/10)
44
operator<<
Name: QDataStream::operator<<
Prototype: QDataStream &QDataStream::operator<<(float f)
Coverage:  42.857% (9/21)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 1196-1222
 42.857% (9/21)
157
operator<<
Name: QDataStream::operator<<
Prototype: QDataStream &QDataStream::operator<<(double f)
Coverage:  68.182% (15/22)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 1234-1257
 68.182% (15/22)
137
operator<<
Name: QDataStream::operator<<
Prototype: QDataStream &QDataStream::operator<<(const char *s)
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 1271-1281
 50.000% (2/4)
72
operator>>
Name: QDataStream::operator>>
Prototype: QDataStream &QDataStream::operator>>(qint8 &i)
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 780-788
 71.429% (5/7)
63
operator>>
Name: QDataStream::operator>>
Prototype: QDataStream &QDataStream::operator>>(qint16 &i)
Coverage:  81.818% (9/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 806-818
 81.818% (9/11)
74
operator>>
Name: QDataStream::operator>>
Prototype: QDataStream &QDataStream::operator>>(qint32 &i)
Coverage:  81.818% (9/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 836-848
 81.818% (9/11)
74
operator>>
Name: QDataStream::operator>>
Prototype: QDataStream &QDataStream::operator>>(qint64 &i)
Coverage:  71.429% (10/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 865-883
 71.429% (10/14)
115
operator>>
Name: QDataStream::operator>>
Prototype: QDataStream &QDataStream::operator>>(bool &i)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 889-895
100.000% (1/1)
41
operator>>
Name: QDataStream::operator>>
Prototype: QDataStream &QDataStream::operator>>(float &f)
Coverage:  81.250% (13/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 907-932
 81.250% (13/16)
145
operator>>
Name: QDataStream::operator>>
Prototype: QDataStream &QDataStream::operator>>(double &f)
Coverage:  87.500% (14/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 944-969
 87.500% (14/16)
145
operator>>
Name: QDataStream::operator>>
Prototype: QDataStream &QDataStream::operator>>(char *&s)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 986-990
100.000% (1/1)
21
readBlock
Name: QDataStream::readBlock
Prototype: int QDataStream::readBlock(char *data, int len)
Coverage: 100.000% (9/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 755-765
100.000% (9/9)
63
readBytes
Name: QDataStream::readBytes
Prototype: QDataStream &QDataStream::readBytes(char *&s, uint &l)
Coverage:  87.500% (14/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 1010-1045
 87.500% (14/16)
266
readRawData
Name: QDataStream::readRawData
Prototype: int QDataStream::readRawData(char *s, int len)
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 1056-1060
 50.000% (2/4)
22
resetStatus
Name: QDataStream::resetStatus
Prototype: void QDataStream::resetStatus()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 479-482
100.000% (1/1)
11
rollbackTransaction
Name: QDataStream::rollbackTransaction
Prototype: void QDataStream::rollbackTransaction()
Coverage:  26.667% (4/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 699-712
 26.667% (4/15)
85
setByteOrder
Name: QDataStream::setByteOrder
Prototype: void QDataStream::setByteOrder(ByteOrder bo)
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 519-526
 50.000% (2/4)
42
setDevice
Name: QDataStream::setDevice
Prototype: void QDataStream::setDevice(QIODevice *d)
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 391-398
 50.000% (2/4)
42
setFloatingPointPrecision
Name: QDataStream::setFloatingPointPrecision
Prototype: void QDataStream::setFloatingPointPrecision(QDataStream::FloatingPointPrecision precision)
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 456-461
 75.000% (3/4)
32
setStatus
Name: QDataStream::setStatus
Prototype: void QDataStream::setStatus(Status status)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 492-496
100.000% (4/4)
22
skipRawData
Name: QDataStream::skipRawData
Prototype: int QDataStream::skipRawData(int len)
Coverage:  63.636% (14/22)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 1332-1361
 63.636% (14/22)
218
startTransaction
Name: QDataStream::startTransaction
Prototype: void QDataStream::startTransaction()
Coverage:  80.000% (8/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 628-639
 80.000% (8/10)
64
status
Name: QDataStream::status
Prototype: QDataStream::Status QDataStream::status() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 469-472
100.000% (1/1)
11
unsetDevice
Name: QDataStream::unsetDevice
Prototype: void QDataStream::unsetDevice()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 406-409
100.000% (1/1)
11
writeBytes
Name: QDataStream::writeBytes
Prototype: QDataStream &QDataStream::writeBytes(const char *s, uint len)
Coverage:  60.000% (6/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 1294-1301
 60.000% (6/10)
54
writeRawData
Name: QDataStream::writeRawData
Prototype: int QDataStream::writeRawData(const char *s, int len)
Coverage:  80.000% (8/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 1312-1319
 80.000% (8/10)
54
~QDataStream
Name: QDataStream::~QDataStream
Prototype: QDataStream::~QDataStream()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdatastream.cpp
Lines: 366-370
100.000% (4/4)
22

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