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

Function Tree

Path:<top>::QJsonValue
FunctionCondition %eLOC - Effective Lines of Codeā–¾McCabe - Cyclomatic Complexity
operator==
Name: QJsonValue::operator==
Prototype: bool QJsonValue::operator==(const QJsonValue &other) const
Coverage:  22.857% (8/35)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonvalue.cpp
Lines: 621-656
 22.857% (8/35)
2415
fromVariant
Name: QJsonValue::fromVariant
Prototype: QJsonValue QJsonValue::fromVariant(const QVariant &variant)
Coverage:  0.000% (0/33)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonvalue.cpp
Lines: 393-434
  0.000% (0/33)
1819
QJsonValue
Name: QJsonValue::QJsonValue
Prototype: QJsonValue::QJsonValue(QJsonPrivate::Data *data, QJsonPrivate::Base *base, const QJsonPrivate::Value &v)
Coverage:  93.750% (15/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonvalue.cpp
Lines: 114-143
 93.750% (15/16)
179
toVariant
Name: QJsonValue::toVariant
Prototype: QVariant QJsonValue::toVariant() const
Coverage:  0.000% (0/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonvalue.cpp
Lines: 451-473
  0.000% (0/14)
128
detach
Name: QJsonValue::detach
Prototype: void QJsonValue::detach()
Coverage:  0.000% (0/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonvalue.cpp
Lines: 669-680
  0.000% (0/7)
83
QJsonValue
Name: QJsonValue::QJsonValue
Prototype: QJsonValue::QJsonValue(const QJsonValue &other)
Coverage:  88.889% (8/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonvalue.cpp
Lines: 261-271
 88.889% (8/9)
73
toString
Name: QJsonValue::toString
Prototype: QString QJsonValue::toString(const QString &defaultValue) const
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonvalue.cpp
Lines: 543-550
  0.000% (0/4)
52
toString
Name: QJsonValue::toString
Prototype: QString QJsonValue::toString() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonvalue.cpp
Lines: 559-566
100.000% (4/4)
52
operator =
Name: QJsonValue::operator =
Prototype: QJsonValue &QJsonValue::operator =(const QJsonValue &other)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonvalue.cpp
Lines: 276-284
100.000% (1/1)
51
~QJsonValue
Name: QJsonValue::~QJsonValue
Prototype: QJsonValue::~QJsonValue()
Coverage:  76.923% (10/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonvalue.cpp
Lines: 249-256
 76.923% (10/13)
43
toObject
Name: QJsonValue::toObject
Prototype: QJsonObject QJsonValue::toObject(const QJsonObject &defaultValue) const
Coverage:  50.000% (3/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonvalue.cpp
Lines: 598-604
 50.000% (3/6)
32
toInt
Name: QJsonValue::toInt
Prototype: int QJsonValue::toInt(int defaultValue) const
Coverage:  0.000% (0/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonvalue.cpp
Lines: 519-524
  0.000% (0/6)
32
toDouble
Name: QJsonValue::toDouble
Prototype: double QJsonValue::toDouble(double defaultValue) const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonvalue.cpp
Lines: 531-536
100.000% (4/4)
32
toBool
Name: QJsonValue::toBool
Prototype: bool QJsonValue::toBool(bool defaultValue) const
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonvalue.cpp
Lines: 506-511
 50.000% (2/4)
32
toArray
Name: QJsonValue::toArray
Prototype: QJsonArray QJsonValue::toArray(const QJsonArray &defaultValue) const
Coverage:  83.333% (5/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonvalue.cpp
Lines: 573-579
 83.333% (5/6)
32
QJsonValue
Name: QJsonValue::QJsonValue
Prototype: QJsonValue::QJsonValue(const QJsonArray &a)
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonvalue.cpp
Lines: 226-232
  0.000% (0/4)
32
QJsonValue
Name: QJsonValue::QJsonValue
Prototype: QJsonValue::QJsonValue(const QJsonObject &o)
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonvalue.cpp
Lines: 237-243
  0.000% (0/4)
32
stringDataFromQStringHelper
Name: QJsonValue::stringDataFromQStringHelper
Prototype: void QJsonValue::stringDataFromQStringHelper(const QString &string)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonvalue.cpp
Lines: 206-210
100.000% (1/1)
21
QJsonValue
Name: QJsonValue::QJsonValue
Prototype: QJsonValue::QJsonValue(Type type)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonvalue.cpp
Lines: 106-109
100.000% (1/1)
21
QJsonValue
Name: QJsonValue::QJsonValue
Prototype: QJsonValue::QJsonValue(QLatin1String s)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonvalue.cpp
Lines: 215-221
100.000% (1/1)
21
type
Name: QJsonValue::type
Prototype: QJsonValue::Type QJsonValue::type() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonvalue.cpp
Lines: 496-499
100.000% (1/1)
11
toObject
Name: QJsonValue::toObject
Prototype: QJsonObject QJsonValue::toObject() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonvalue.cpp
Lines: 613-616
100.000% (1/1)
11
toArray
Name: QJsonValue::toArray
Prototype: QJsonArray QJsonValue::toArray() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonvalue.cpp
Lines: 588-591
100.000% (1/1)
11
operator!=
Name: QJsonValue::operator!=
Prototype: bool QJsonValue::operator!=(const QJsonValue &other) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonvalue.cpp
Lines: 661-664
100.000% (1/1)
11
QJsonValue
Name: QJsonValue::QJsonValue
Prototype: QJsonValue::QJsonValue(qint64 n)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonvalue.cpp
Lines: 179-183
  0.000% (0/1)
11
QJsonValue
Name: QJsonValue::QJsonValue
Prototype: QJsonValue::QJsonValue(bool b)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonvalue.cpp
Lines: 148-152
100.000% (1/1)
11
QJsonValue
Name: QJsonValue::QJsonValue
Prototype: QJsonValue::QJsonValue(double n)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonvalue.cpp
Lines: 157-161
100.000% (1/1)
11
QJsonValue
Name: QJsonValue::QJsonValue
Prototype: QJsonValue::QJsonValue(int n)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonvalue.cpp
Lines: 167-171
100.000% (1/1)
11
QJsonValue
Name: QJsonValue::QJsonValue
Prototype: QJsonValue::QJsonValue(const QString &s)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonvalue.cpp
Lines: 188-192
100.000% (1/1)
11

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