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

Function Tree

Path:<top>::QIODevice
FunctionCondition %eLOC - Effective Lines of Codeā–¾McCabe - Cyclomatic Complexity
read
Name: QIODevice::read
Prototype: qint64 QIODevice::read(char *data, qint64 maxSize)
Coverage:  96.040% (97/101)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 988-1141
 96.040% (97/101)
8027
readLine
Name: QIODevice::readLine
Prototype: qint64 QIODevice::readLine(char *data, qint64 maxSize)
Coverage:  70.149% (47/67)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 1282-1382
 70.149% (47/67)
5017
readAll
Name: QIODevice::readAll
Prototype: QByteArray QIODevice::readAll()
Coverage:  84.000% (21/25)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 1200-1244
 84.000% (21/25)
257
readLine
Name: QIODevice::readLine
Prototype: QByteArray QIODevice::readLine(qint64 maxSize)
Coverage:  78.571% (22/28)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 1394-1434
 78.571% (22/28)
228
read
Name: QIODevice::read
Prototype: QByteArray QIODevice::read(qint64 maxSize)
Coverage:  44.000% (11/25)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 1154-1190
 44.000% (11/25)
198
seek
Name: QIODevice::seek
Prototype: bool QIODevice::seek(qint64 pos)
Coverage:  60.000% (6/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 849-878
 60.000% (6/10)
134
readLineData
Name: QIODevice::readLineData
Prototype: qint64 QIODevice::readLineData(char *data, qint64 maxSize)
Coverage: 100.000% (14/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 1453-1475
100.000% (14/14)
134
write
Name: QIODevice::write
Prototype: qint64 QIODevice::write(const char *data, qint64 maxSize)
Coverage:  77.273% (17/22)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 1594-1664
 77.273% (17/22)
126
close
Name: QIODevice::close
Prototype: void QIODevice::close()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 778-799
100.000% (4/4)
112
open
Name: QIODevice::open
Prototype: bool QIODevice::open(OpenMode mode)
Coverage: 100.000% (3/3)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 756-770
100.000% (3/3)
91
ungetChar
Name: QIODevice::ungetChar
Prototype: void QIODevice::ungetChar(char c)
Coverage:  46.154% (6/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 1708-1725
 46.154% (6/13)
85
rollbackTransaction
Name: QIODevice::rollbackTransaction
Prototype: void QIODevice::rollbackTransaction()
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 1561-1572
 71.429% (5/7)
83
commitTransaction
Name: QIODevice::commitTransaction
Prototype: void QIODevice::commitTransaction()
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 1537-1548
 71.429% (5/7)
83
setTextModeEnabled
Name: QIODevice::setTextModeEnabled
Prototype: void QIODevice::setTextModeEnabled(bool enabled)
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 552-563
 71.429% (5/7)
73
QIODevice
Name: QIODevice::QIODevice
Prototype: QIODevice::QIODevice()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 445-453
100.000% (1/1)
71
startTransaction
Name: QIODevice::startTransaction
Prototype: void QIODevice::startTransaction()
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 1516-1525
 50.000% (2/4)
62
setOpenMode
Name: QIODevice::setOpenMode
Prototype: void QIODevice::setOpenMode(OpenMode openMode)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 531-541
100.000% (1/1)
51
setCurrentReadChannel
Name: QIODevice::setCurrentReadChannel
Prototype: void QIODevice::setCurrentReadChannel(int channel)
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 664-679
 50.000% (2/4)
52
QIODevice
Name: QIODevice::QIODevice
Prototype: QIODevice::QIODevice(QObject *parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 459-465
100.000% (1/1)
51
errorString
Name: QIODevice::errorString
Prototype: QString QIODevice::errorString() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 1940-1951
100.000% (4/4)
42
bytesAvailable
Name: QIODevice::bytesAvailable
Prototype: qint64 QIODevice::bytesAvailable() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 953-959
100.000% (4/4)
42
atEnd
Name: QIODevice::atEnd
Prototype: bool QIODevice::atEnd() const
Coverage: 100.000% (7/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 910-920
100.000% (7/7)
41
canReadLine
Name: QIODevice::canReadLine
Prototype: bool QIODevice::canReadLine() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 1494-1499
100.000% (1/1)
31
waitForReadyRead
Name: QIODevice::waitForReadyRead
Prototype: bool QIODevice::waitForReadyRead(int msecs)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 1885-1889
100.000% (1/1)
21
waitForBytesWritten
Name: QIODevice::waitForBytesWritten
Prototype: bool QIODevice::waitForBytesWritten(int msecs)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 1917-1921
  0.000% (0/1)
21
setCurrentWriteChannel
Name: QIODevice::setCurrentWriteChannel
Prototype: void QIODevice::setCurrentWriteChannel(int channel)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 718-728
  0.000% (0/1)
21
pos
Name: QIODevice::pos
Prototype: qint64 QIODevice::pos() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 814-821
100.000% (1/1)
21
getChar
Name: QIODevice::getChar
Prototype: bool QIODevice::getChar(char *c)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 1811-1816
100.000% (1/1)
21
QIODevice
Name: QIODevice::QIODevice
Prototype: QIODevice::QIODevice(QIODevicePrivate &dd, QObject *parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 470-473
100.000% (1/1)
21
writeChannelCount
Name: QIODevice::writeChannelCount
Prototype: int QIODevice::writeChannelCount() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 637-640
100.000% (1/1)
11
write
Name: QIODevice::write
Prototype: qint64 QIODevice::write(const char *data)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 1682-1685
100.000% (1/1)
11
size
Name: QIODevice::size
Prototype: qint64 QIODevice::size() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 832-835
100.000% (1/1)
11
setErrorString
Name: QIODevice::setErrorString
Prototype: void QIODevice::setErrorString(const QString &str)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 1929-1932
100.000% (1/1)
11
reset
Name: QIODevice::reset
Prototype: bool QIODevice::reset()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 933-939
100.000% (1/1)
11
readChannelCount
Name: QIODevice::readChannelCount
Prototype: int QIODevice::readChannelCount() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 624-627
100.000% (1/1)
11
putChar
Name: QIODevice::putChar
Prototype: bool QIODevice::putChar(char c)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 1734-1737
100.000% (1/1)
11
peek
Name: QIODevice::peek
Prototype: qint64 QIODevice::peek(char *data, qint64 maxSize)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 1835-1838
100.000% (1/1)
11
peek
Name: QIODevice::peek
Prototype: QByteArray QIODevice::peek(qint64 maxSize)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 1857-1860
100.000% (1/1)
11
openMode
Name: QIODevice::openMode
Prototype: QIODevice::OpenMode QIODevice::openMode() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 519-522
100.000% (1/1)
11
isWritable
Name: QIODevice::isWritable
Prototype: bool QIODevice::isWritable() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 611-614
100.000% (1/1)
11
isTransactionStarted
Name: QIODevice::isTransactionStarted
Prototype: bool QIODevice::isTransactionStarted() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 1582-1585
100.000% (1/1)
11
isTextModeEnabled
Name: QIODevice::isTextModeEnabled
Prototype: bool QIODevice::isTextModeEnabled() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 570-573
100.000% (1/1)
11
isSequential
Name: QIODevice::isSequential
Prototype: bool QIODevice::isSequential() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 508-511
100.000% (1/1)
11
isReadable
Name: QIODevice::isReadable
Prototype: bool QIODevice::isReadable() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 597-600
100.000% (1/1)
11
isOpen
Name: QIODevice::isOpen
Prototype: bool QIODevice::isOpen() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 583-586
100.000% (1/1)
11
currentWriteChannel
Name: QIODevice::currentWriteChannel
Prototype: int QIODevice::currentWriteChannel() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 703-706
  0.000% (0/1)
11
currentReadChannel
Name: QIODevice::currentReadChannel
Prototype: int QIODevice::currentReadChannel() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 649-652
  0.000% (0/1)
11
bytesToWrite
Name: QIODevice::bytesToWrite
Prototype: qint64 QIODevice::bytesToWrite() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 970-973
100.000% (1/1)
11

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