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

Function Tree

Path:<top>::QFileDevice
FunctionCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexityâ–¾
flush
Name: QFileDevice::flush
Prototype: bool QFileDevice::flush()
Coverage:  59.091% (13/22)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qfiledevice.cpp
Lines: 282-312
 59.091% (13/22)
228
writeData
Name: QFileDevice::writeData
Prototype: qint64 QFileDevice::writeData(const char *data, qint64 len)
Coverage:  65.000% (13/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qfiledevice.cpp
Lines: 536-565
 65.000% (13/20)
176
readData
Name: QFileDevice::readData
Prototype: qint64 QFileDevice::readData(char *data, qint64 len)
Coverage:  56.250% (9/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qfiledevice.cpp
Lines: 451-474
 56.250% (9/16)
156
atEnd
Name: QFileDevice::atEnd
Prototype: bool QFileDevice::atEnd() const
Coverage:  62.500% (10/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qfiledevice.cpp
Lines: 355-383
 62.500% (10/16)
126
seek
Name: QFileDevice::seek
Prototype: bool QFileDevice::seek(qint64 off)
Coverage:  33.333% (5/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qfiledevice.cpp
Lines: 400-420
 33.333% (5/15)
145
resize
Name: QFileDevice::resize
Prototype: bool QFileDevice::resize(qint64 sz)
Coverage:  66.667% (8/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qfiledevice.cpp
Lines: 617-633
 66.667% (8/12)
134
readLineData
Name: QFileDevice::readLineData
Prototype: qint64 QFileDevice::readLineData(char *data, qint64 maxlen)
Coverage:  81.818% (9/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qfiledevice.cpp
Lines: 425-446
 81.818% (9/11)
104
close
Name: QFileDevice::close
Prototype: void QFileDevice::close()
Coverage:  75.000% (9/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qfiledevice.cpp
Lines: 319-336
 75.000% (9/12)
114
unmap
Name: QFileDevice::unmap
Prototype: bool QFileDevice::unmap(uchar *address)
Coverage:  66.667% (6/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qfiledevice.cpp
Lines: 723-736
 66.667% (6/9)
103
map
Name: QFileDevice::map
Prototype: uchar *QFileDevice::map(qint64 offset, qint64 size, MemoryMapFlags flags)
Coverage:  66.667% (6/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qfiledevice.cpp
Lines: 702-714
 66.667% (6/9)
93
size
Name: QFileDevice::size
Prototype: qint64 QFileDevice::size() const
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qfiledevice.cpp
Lines: 600-607
 50.000% (2/4)
52
setPermissions
Name: QFileDevice::setPermissions
Prototype: bool QFileDevice::setPermissions(Permissions permissions)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qfiledevice.cpp
Lines: 658-667
100.000% (4/4)
62
handle
Name: QFileDevice::handle
Prototype: int QFileDevice::handle() const
Coverage:  83.333% (5/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qfiledevice.cpp
Lines: 260-267
 83.333% (5/6)
42
~QFileDevice
Name: QFileDevice::~QFileDevice
Prototype: QFileDevice::~QFileDevice()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qfiledevice.cpp
Lines: 229-232
100.000% (1/1)
11
unsetError
Name: QFileDevice::unsetError
Prototype: void QFileDevice::unsetError()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qfiledevice.cpp
Lines: 587-591
100.000% (1/1)
21
pos
Name: QFileDevice::pos
Prototype: qint64 QFileDevice::pos() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qfiledevice.cpp
Lines: 341-344
100.000% (1/1)
11
permissions
Name: QFileDevice::permissions
Prototype: QFile::Permissions QFileDevice::permissions() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qfiledevice.cpp
Lines: 641-646
100.000% (1/1)
31
isSequential
Name: QFileDevice::isSequential
Prototype: bool QFileDevice::isSequential() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qfiledevice.cpp
Lines: 242-246
100.000% (1/1)
21
fileName
Name: QFileDevice::fileName
Prototype: QString QFileDevice::fileName() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qfiledevice.cpp
Lines: 273-276
  0.000% (0/1)
11
error
Name: QFileDevice::error
Prototype: QFileDevice::FileError QFileDevice::error() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qfiledevice.cpp
Lines: 576-580
100.000% (1/1)
21
QFileDevice
Name: QFileDevice::QFileDevice
Prototype: QFileDevice::QFileDevice()
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qfiledevice.cpp
Lines: 206-209
  0.000% (0/1)
21
QFileDevice
Name: QFileDevice::QFileDevice
Prototype: QFileDevice::QFileDevice(QObject *parent)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qfiledevice.cpp
Lines: 213-216
  0.000% (0/1)
21
QFileDevice
Name: QFileDevice::QFileDevice
Prototype: QFileDevice::QFileDevice(QFileDevicePrivate &dd, QObject *parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qfiledevice.cpp
Lines: 220-223
100.000% (1/1)
21

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