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

Function Tree

Path:<top>::QConfFileSettingsPrivate
FunctionCondition %▾eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
sync
Name: QConfFileSettingsPrivate::sync
Prototype: void QConfFileSettingsPrivate::sync()
Coverage: 100.000% (7/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsettings.cpp
Lines: 1329-1341
100.000% (7/7)
53
get
Name: QConfFileSettingsPrivate::get
Prototype: bool QConfFileSettingsPrivate::get(const QString &key, QVariant *value) const
Coverage: 100.000% (28/28)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsettings.cpp
Lines: 1241-1272
100.000% (28/28)
218
flush
Name: QConfFileSettingsPrivate::flush
Prototype: void QConfFileSettingsPrivate::flush()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsettings.cpp
Lines: 1343-1346
100.000% (1/1)
11
ensureAllSectionsParsed
Name: QConfFileSettingsPrivate::ensureAllSectionsParsed
Prototype: void QConfFileSettingsPrivate::ensureAllSectionsParsed(QConfFile *confFile) const
Coverage: 100.000% (7/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsettings.cpp
Lines: 1883-1893
100.000% (7/7)
63
children
Name: QConfFileSettingsPrivate::children
Prototype: QStringList QConfFileSettingsPrivate::children(const QString &prefix, ChildSpec spec) const
Coverage: 100.000% (27/27)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsettings.cpp
Lines: 1274-1315
100.000% (27/27)
278
QConfFileSettingsPrivate
Name: QConfFileSettingsPrivate::QConfFileSettingsPrivate
Prototype: QConfFileSettingsPrivate::QConfFileSettingsPrivate(const QString &fileName, QSettings::Format format)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsettings.cpp
Lines: 1156-1166
100.000% (1/1)
31
readIniLine
Name: QConfFileSettingsPrivate::readIniLine
Prototype: bool QConfFileSettingsPrivate::readIniLine(const QByteArray &data, int &dataPos, int &lineStart, int &lineLen, int &equalsPos)
Coverage:  95.652% (66/69)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsettings.cpp
Lines: 1562-1623
 95.652% (66/69)
4219
QConfFileSettingsPrivate
Name: QConfFileSettingsPrivate::QConfFileSettingsPrivate
Prototype: QConfFileSettingsPrivate::QConfFileSettingsPrivate(QSettings::Format format, QSettings::Scope scope, const QString &organization, const QString &application)
Coverage:  94.737% (18/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsettings.cpp
Lines: 1115-1154
 94.737% (18/19)
227
initFormat
Name: QConfFileSettingsPrivate::initFormat
Prototype: void QConfFileSettingsPrivate::initFormat()
Coverage:  90.909% (10/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsettings.cpp
Lines: 924-948
 90.909% (10/11)
143
initAccess
Name: QConfFileSettingsPrivate::initAccess
Prototype: void QConfFileSettingsPrivate::initAccess()
Coverage:  90.000% (9/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsettings.cpp
Lines: 950-960
 90.000% (9/10)
54
syncConfFile
Name: QConfFileSettingsPrivate::syncConfFile
Prototype: void QConfFileSettingsPrivate::syncConfFile(int confFileNo)
Coverage:  89.888% (80/89)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsettings.cpp
Lines: 1368-1534
 89.888% (80/89)
7923
remove
Name: QConfFileSettingsPrivate::remove
Prototype: void QConfFileSettingsPrivate::remove(const QString &key)
Coverage:  88.235% (15/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsettings.cpp
Lines: 1202-1227
 88.235% (15/17)
185
writeIniFile
Name: QConfFileSettingsPrivate::writeIniFile
Prototype: bool QConfFileSettingsPrivate::writeIniFile(QIODevice &device, const ParsedSettingsMap &map)
Coverage:  88.095% (37/42)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsettings.cpp
Lines: 1794-1881
 88.095% (37/42)
5112
readIniSection
Name: QConfFileSettingsPrivate::readIniSection
Prototype: bool QConfFileSettingsPrivate::readIniSection(const QSettingsKey &section, const QByteArray &data, ParsedSettingsMap *settingsMap, QTextCodec *codec)
Coverage:  88.000% (22/25)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsettings.cpp
Lines: 1704-1759
 88.000% (22/25)
356
ensureSectionParsed
Name: QConfFileSettingsPrivate::ensureSectionParsed
Prototype: void QConfFileSettingsPrivate::ensureSectionParsed(QConfFile *confFile, const QSettingsKey &key) const
Coverage:  87.500% (21/24)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsettings.cpp
Lines: 1895-1920
 87.500% (21/24)
177
isWritable
Name: QConfFileSettingsPrivate::isWritable
Prototype: bool QConfFileSettingsPrivate::isWritable() const
Coverage:  77.778% (7/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsettings.cpp
Lines: 1356-1366
 77.778% (7/9)
63
~QConfFileSettingsPrivate
Name: QConfFileSettingsPrivate::~QConfFileSettingsPrivate
Prototype: QConfFileSettingsPrivate::~QConfFileSettingsPrivate()
Coverage:  76.471% (13/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsettings.cpp
Lines: 1168-1200
 76.471% (13/17)
167
readIniFile
Name: QConfFileSettingsPrivate::readIniFile
Prototype: bool QConfFileSettingsPrivate::readIniFile(const QByteArray &data, UnparsedSettingsMap *unparsedIniSections)
Coverage:  69.444% (25/36)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsettings.cpp
Lines: 1630-1702
 69.444% (25/36)
369
set
Name: QConfFileSettingsPrivate::set
Prototype: void QConfFileSettingsPrivate::set(const QString &key, const QVariant &value)
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsettings.cpp
Lines: 1229-1239
 50.000% (2/4)
72
fileName
Name: QConfFileSettingsPrivate::fileName
Prototype: QString QConfFileSettingsPrivate::fileName() const
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsettings.cpp
Lines: 1348-1354
 50.000% (2/4)
42
clear
Name: QConfFileSettingsPrivate::clear
Prototype: void QConfFileSettingsPrivate::clear()
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsettings.cpp
Lines: 1317-1327
 50.000% (2/4)
72

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