QtBase - 8193340a44fd835cee029e63a31cfcab8ef6fd55

Function Tree

Path:<top>::QRingBuffer
FunctionCondition %▾eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
free
Name: QRingBuffer::free
Prototype: void QRingBuffer::free(qint64 bytes)
Coverage: 100.000% (16/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qringbuffer.cpp
Lines: 66-96
100.000% (16/16)
175
clear
Name: QRingBuffer::clear
Prototype: void QRingBuffer::clear()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qringbuffer.cpp
Lines: 186-194
100.000% (1/1)
51
chop
Name: QRingBuffer::chop
Prototype: void QRingBuffer::chop(qint64 bytes)
Coverage: 100.000% (16/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qringbuffer.cpp
Lines: 156-184
100.000% (16/16)
165
append
Name: QRingBuffer::append
Prototype: void QRingBuffer::append(const QByteArray &qba)
Coverage: 100.000% (5/5)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qringbuffer.cpp
Lines: 288-299
100.000% (5/5)
72
readPointerAtPosition
Name: QRingBuffer::readPointerAtPosition
Prototype: const char *QRingBuffer::readPointerAtPosition(qint64 pos, qint64 &length) const
Coverage:  91.667% (11/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qringbuffer.cpp
Lines: 48-64
 91.667% (11/12)
104
indexOf
Name: QRingBuffer::indexOf
Prototype: qint64 QRingBuffer::indexOf(char c, qint64 maxLength) const
Coverage:  91.667% (11/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qringbuffer.cpp
Lines: 196-212
 91.667% (11/12)
114
reserve
Name: QRingBuffer::reserve
Prototype: char *QRingBuffer::reserve(qint64 bytes)
Coverage:  87.500% (14/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qringbuffer.cpp
Lines: 98-124
 87.500% (14/16)
164
read
Name: QRingBuffer::read
Prototype: qint64 QRingBuffer::read(char *data, qint64 maxLength)
Coverage:  85.714% (6/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qringbuffer.cpp
Lines: 214-227
 85.714% (6/7)
103
peek
Name: QRingBuffer::peek
Prototype: qint64 QRingBuffer::peek(char *data, qint64 maxLength, qint64 pos) const
Coverage:  85.714% (12/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qringbuffer.cpp
Lines: 260-281
 85.714% (12/14)
124
reserveFront
Name: QRingBuffer::reserveFront
Prototype: char *QRingBuffer::reserveFront(qint64 bytes)
Coverage:  81.250% (13/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qringbuffer.cpp
Lines: 131-154
 81.250% (13/16)
155
read
Name: QRingBuffer::read
Prototype: QByteArray QRingBuffer::read()
Coverage:  75.000% (6/8)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qringbuffer.cpp
Lines: 234-253
 75.000% (6/8)
133
readLine
Name: QRingBuffer::readLine
Prototype: qint64 QRingBuffer::readLine(char *data, qint64 maxLength)
Coverage:  50.000% (3/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qringbuffer.cpp
Lines: 301-312
 50.000% (3/6)
62

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