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

Function Tree

Path:<top>::QJsonDocument
FunctionCondition %eLOC - Effective Lines of Codeā–“McCabe - Cyclomatic Complexity
QJsonDocument
Name: 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
  0.000% (0/1)
11
QJsonDocument
Name: 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
  0.000% (0/1)
11
isNull
Name: 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
100.000% (1/1)
11
toJson
Name: 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
  0.000% (0/1)
11
QJsonDocument
Name: 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
100.000% (1/1)
21
QJsonDocument
Name: 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
100.000% (1/1)
21
fromJson
Name: 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
100.000% (1/1)
21
~QJsonDocument
Name: 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
100.000% (6/6)
22
QJsonDocument
Name: 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
 50.000% (2/4)
32
isEmpty
Name: 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
  0.000% (0/4)
32
toBinaryData
Name: 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
  0.000% (0/6)
32
isArray
Name: 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
 50.000% (2/4)
42
isObject
Name: 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
 50.000% (2/4)
42
array
Name: 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
 42.857% (3/7)
53
object
Name: 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
 42.857% (3/7)
53
rawData
Name: 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
  0.000% (0/4)
52
toVariant
Name: 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
  0.000% (0/7)
53
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
 58.333% (7/12)
74
toJson
Name: 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
  0.000% (0/8)
73
fromVariant
Name: 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
  0.000% (0/10)
84
fromRawData
Name: 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
  0.000% (0/9)
93
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
 13.333% (2/15)
115
setArray
Name: 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
  0.000% (0/18)
145
setObject
Name: 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
  0.000% (0/18)
145
fromBinaryData
Name: 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
 42.105% (8/19)
195

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