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

Function Tree

Path:<top>::QRingBuffer
FunctionCondition %▾eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
read
Name: QRingBuffer::read
Prototype: QByteArray QRingBuffer::read()
Coverage: 100.000% (8/8)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qringbuffer.cpp
Lines: 268-286
100.000% (8/8)
123
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: 72-104
100.000% (16/16)
185
clear
Name: QRingBuffer::clear
Prototype: void QRingBuffer::clear()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qringbuffer.cpp
Lines: 205-216
100.000% (4/4)
72
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: 173-203
100.000% (16/16)
175
append
Name: QRingBuffer::append
Prototype: void QRingBuffer::append(const char *data, qint64 size)
Coverage: 100.000% (7/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qringbuffer.cpp
Lines: 321-328
100.000% (7/7)
53
append
Name: QRingBuffer::append
Prototype: void QRingBuffer::append(const QByteArray &qba)
Coverage: 100.000% (8/8)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qringbuffer.cpp
Lines: 335-349
100.000% (8/8)
93
indexOf
Name: QRingBuffer::indexOf
Prototype: qint64 QRingBuffer::indexOf(char c, qint64 maxLength, qint64 pos) const
Coverage:  95.238% (20/21)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qringbuffer.cpp
Lines: 218-246
 95.238% (20/21)
197
peek
Name: QRingBuffer::peek
Prototype: qint64 QRingBuffer::peek(char *data, qint64 maxLength, qint64 pos) const
Coverage:  92.857% (13/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qringbuffer.cpp
Lines: 293-314
 92.857% (13/14)
124
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: 54-70
 91.667% (11/12)
104
reserve
Name: QRingBuffer::reserve
Prototype: char *QRingBuffer::reserve(qint64 bytes)
Coverage:  90.000% (18/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qringbuffer.cpp
Lines: 106-137
 90.000% (18/20)
195
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: 248-261
 85.714% (6/7)
103
reserveFront
Name: QRingBuffer::reserveFront
Prototype: char *QRingBuffer::reserveFront(qint64 bytes)
Coverage:  85.000% (17/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qringbuffer.cpp
Lines: 144-171
 85.000% (17/20)
176
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: 351-362
 50.000% (3/6)
62

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