| Function | Condition % | Modifications | eLOC - Effective Lines of Codeā“ | McCabe - Cyclomatic Complexity |
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 | | Comparison: | New |
| | New | 5 | 3 |
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 | | Absolute File Name (reference): | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qringbuffer.cpp | | Lines (reference): | 186-194 | | Comparison: | Different |
| | Different | 5 | 1 |
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 | | Absolute File Name (reference): | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qringbuffer.cpp | | Lines (reference): | 288-299 | | Comparison: | Different |
| | Different | 7 | 2 |
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 | | Absolute File Name (reference): | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qringbuffer.cpp | | Lines (reference): | 234-253 | | Comparison: | Different |
| | Different | 13 | 3 |
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 | | Absolute File Name (reference): | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qringbuffer.cpp | | Lines (reference): | 131-154 | | Comparison: | Different |
| | Different | 15 | 5 |
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 | | Absolute File Name (reference): | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qringbuffer.cpp | | Lines (reference): | 156-184 | | Comparison: | Different |
| | Different | 16 | 5 |
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 | | Absolute File Name (reference): | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qringbuffer.cpp | | Lines (reference): | 98-124 | | Comparison: | Different |
| | Different | 16 | 4 |
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 | | Absolute File Name (reference): | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qringbuffer.cpp | | Lines (reference): | 66-96 | | Comparison: | Different |
| | Different | 17 | 5 |
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 | | Comparison: | New |
| | New | 19 | 7 |