Function | Condition %▾ | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexity |
freeName: | 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 |
| | 17 | 5 |
clearName: | 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 |
| | 5 | 1 |
chopName: | 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 |
| | 16 | 5 |
appendName: | 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 |
| | 7 | 2 |
readPointerAtPositionName: | 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 |
| | 10 | 4 |
indexOfName: | 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 |
| | 11 | 4 |
reserveName: | 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 |
| | 16 | 4 |
readName: | 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 |
| | 10 | 3 |
peekName: | 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 |
| | 12 | 4 |
reserveFrontName: | 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 |
| | 15 | 5 |
readName: | 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 |
| | 13 | 3 |
readLineName: | 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 |
| | 6 | 2 |