Function | Condition % | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexityâ–¾ |
setObjectName: | QJsonDocument::setObject | Prototype: | void QJsonDocument::setObject(const QJsonObject &object) | Coverage: | 0.000% (0/18) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsondocument.cpp | Lines: | 474-494 |
| | 14 | 5 |
setArrayName: | QJsonDocument::setArray | Prototype: | void QJsonDocument::setArray(const QJsonArray &array) | Coverage: | 0.000% (0/18) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsondocument.cpp | Lines: | 501-521 |
| | 14 | 5 |
operator==Name: | QJsonDocument::operator== | Prototype: | bool QJsonDocument::operator==(const QJsonDocument &other) const | Coverage: | 13.333% (2/15) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsondocument.cpp | Lines: | 526-543 |
| | 11 | 5 |
fromBinaryDataName: | QJsonDocument::fromBinaryData | Prototype: | QJsonDocument QJsonDocument::fromBinaryData(const QByteArray &data, DataValidation validation) | Coverage: | 42.105% (8/19) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsondocument.cpp | Lines: | 228-257 |
| | 19 | 5 |
operator =Name: | QJsonDocument::operator = | Prototype: | QJsonDocument &QJsonDocument::operator =(const QJsonDocument &other) | Coverage: | 58.333% (7/12) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsondocument.cpp | Lines: | 143-154 |
| | 7 | 4 |
fromVariantName: | QJsonDocument::fromVariant | Prototype: | QJsonDocument QJsonDocument::fromVariant(const QVariant &variant) | Coverage: | 0.000% (0/10) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsondocument.cpp | Lines: | 267-278 |
| | 8 | 4 |
toVariantName: | QJsonDocument::toVariant | Prototype: | QVariant QJsonDocument::toVariant() const | Coverage: | 0.000% (0/7) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsondocument.cpp | Lines: | 288-297 |
| | 5 | 3 |
toJsonName: | QJsonDocument::toJson | Prototype: | QByteArray QJsonDocument::toJson(JsonFormat format) const | Coverage: | 0.000% (0/8) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsondocument.cpp | Lines: | 342-355 |
| | 7 | 3 |
objectName: | QJsonDocument::object | Prototype: | QJsonObject QJsonDocument::object() const | Coverage: | 42.857% (3/7) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsondocument.cpp | Lines: | 441-449 |
| | 5 | 3 |
fromRawDataName: | QJsonDocument::fromRawData | Prototype: | QJsonDocument QJsonDocument::fromRawData(const char *data, int size, DataValidation validation) | Coverage: | 0.000% (0/9) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsondocument.cpp | Lines: | 184-200 |
| | 9 | 3 |
arrayName: | QJsonDocument::array | Prototype: | QJsonArray QJsonDocument::array() const | Coverage: | 42.857% (3/7) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsondocument.cpp | Lines: | 459-467 |
| | 5 | 3 |
~QJsonDocumentName: | QJsonDocument::~QJsonDocument | Prototype: | QJsonDocument::~QJsonDocument() | Coverage: | 100.000% (6/6) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsondocument.cpp | Lines: | 123-127 |
| | 2 | 2 |
toBinaryDataName: | QJsonDocument::toBinaryData | Prototype: | QByteArray QJsonDocument::toBinaryData() const | Coverage: | 0.000% (0/6) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsondocument.cpp | Lines: | 397-403 |
| | 3 | 2 |
rawDataName: | QJsonDocument::rawData | Prototype: | const char *QJsonDocument::rawData(int *size) const | Coverage: | 0.000% (0/4) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsondocument.cpp | Lines: | 209-217 |
| | 5 | 2 |
isObjectName: | QJsonDocument::isObject | Prototype: | bool QJsonDocument::isObject() const | Coverage: | 50.000% (2/4) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsondocument.cpp | Lines: | 424-431 |
| | 4 | 2 |
isEmptyName: | QJsonDocument::isEmpty | Prototype: | bool QJsonDocument::isEmpty() const | Coverage: | 0.000% (0/4) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsondocument.cpp | Lines: | 377-383 |
| | 3 | 2 |
isArrayName: | QJsonDocument::isArray | Prototype: | bool QJsonDocument::isArray() const | Coverage: | 50.000% (2/4) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsondocument.cpp | Lines: | 410-417 |
| | 4 | 2 |
QJsonDocumentName: | QJsonDocument::QJsonDocument | Prototype: | QJsonDocument::QJsonDocument(const QJsonDocument &other) | Coverage: | 50.000% (2/4) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsondocument.cpp | Lines: | 132-137 |
| | 3 | 2 |
toJsonName: | QJsonDocument::toJson | Prototype: | QByteArray QJsonDocument::toJson() const | Coverage: | 0.000% (0/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsondocument.cpp | Lines: | 305-308 |
| | 1 | 1 |
isNullName: | QJsonDocument::isNull | Prototype: | bool QJsonDocument::isNull() const | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsondocument.cpp | Lines: | 560-563 |
| | 1 | 1 |
fromJsonName: | QJsonDocument::fromJson | Prototype: | QJsonDocument QJsonDocument::fromJson(const QByteArray &json, QJsonParseError *error) | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsondocument.cpp | Lines: | 368-372 |
| | 2 | 1 |
QJsonDocumentName: | QJsonDocument::QJsonDocument | Prototype: | QJsonDocument::QJsonDocument(const QJsonObject &object) | Coverage: | 0.000% (0/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsondocument.cpp | Lines: | 93-97 |
| | 1 | 1 |
QJsonDocumentName: | QJsonDocument::QJsonDocument | Prototype: | QJsonDocument::QJsonDocument(const QJsonArray &array) | Coverage: | 0.000% (0/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsondocument.cpp | Lines: | 102-106 |
| | 1 | 1 |
QJsonDocumentName: | QJsonDocument::QJsonDocument | Prototype: | QJsonDocument::QJsonDocument() | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsondocument.cpp | Lines: | 85-88 |
| | 2 | 1 |
QJsonDocumentName: | QJsonDocument::QJsonDocument | Prototype: | QJsonDocument::QJsonDocument(QJsonPrivate::Data *data) | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsondocument.cpp | Lines: | 111-116 |
| | 2 | 1 |