| Line | Source | Count | 
|---|
| 1 |  | - | 
| 2 |  | - | 
| 3 |  | - | 
| 4 |  | - | 
| 5 |  | - | 
| 6 |  | - | 
| 7 |  | - | 
| 8 |  | - | 
| 9 |  | - | 
| 10 |  | - | 
| 11 |  | - | 
| 12 |  | - | 
| 13 |  | - | 
| 14 |  | - | 
| 15 |  | - | 
| 16 |  | - | 
| 17 | struct QConfFileCustomFormat | - | 
| 18 | { | - | 
| 19 | QString extension; | - | 
| 20 | QSettings::ReadFunc readFunc; | - | 
| 21 | QSettings::WriteFunc writeFunc; | - | 
| 22 | Qt::CaseSensitivity caseSensitivity; | - | 
| 23 | }; | - | 
| 24 | template<> class QTypeInfo<QConfFileCustomFormat > { public: enum { isComplex = (((Q_MOVABLE_TYPE) & Q_PRIMITIVE_TYPE) == 0), isStatic = (((Q_MOVABLE_TYPE) & (Q_MOVABLE_TYPE | Q_PRIMITIVE_TYPE)) == 0), isRelocatable = !isStatic || ((Q_MOVABLE_TYPE) & Q_RELOCATABLE_TYPE), isLarge = (sizeof(QConfFileCustomFormat)>sizeof(void*)), isPointer = false, isIntegral = QtPrivate::is_integral< QConfFileCustomFormat >::value, isDummy = (((Q_MOVABLE_TYPE) & Q_DUMMY_TYPE) != 0), sizeOf = sizeof(QConfFileCustomFormat) }; static inline const char *name() { return "QConfFileCustomFormat"; } }; | - | 
| 25 |  | - | 
| 26 | typedef QHash<QString, QConfFile *> ConfFileHash; | - | 
| 27 | typedef QCache<QString, QConfFile> ConfFileCache; | - | 
| 28 | typedef QHash<int, QString> PathHash; | - | 
| 29 | typedef QVector<QConfFileCustomFormat> CustomFormatVector; | - | 
| 30 |  | - | 
| 31 | namespace { namespace Q_QGS_usedHashFunc { typedef ConfFileHash Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::Initialized ) guard.store(QtGlobalStatic::Destroyed);| TRUE | evaluated 174 times by 31 tests Evaluated by:tst_languagechange - unknown statustst_qabstractitemview - unknown statustst_qaccessibility - unknown statustst_qcalendarwidget - unknown statustst_qcolordialog - unknown statustst_qcommandlinkbutton - unknown statustst_qcompleter - unknown statustst_qdatetimeedit - unknown statustst_qdbusxml2cpp - unknown statustst_qerrormessage - unknown statustst_qfiledialog - unknown statustst_qfiledialog2 - unknown statustst_qfileiconprovider - unknown statustst_qfilesystemmodel - unknown statustst_qgraphicsproxywidget - unknown statustst_qicon - unknown statustst_qlabel - unknown statustst_qlineedit - unknown statustst_qmessagebox - unknown statustst_qplaintextedit - unknown statustst_qprinter - unknown statustst_qsettings - unknown statustst_qsidebar - unknown statustst_qstyle - unknown statustst_qstylesheetstyle - unknown status...
 |  | FALSE | never evaluated | 
executed 174 times by 31 tests}:  guard.store(QtGlobalStatic::Destroyed);Executed by:tst_languagechange - unknown statustst_qabstractitemview - unknown statustst_qaccessibility - unknown statustst_qcalendarwidget - unknown statustst_qcolordialog - unknown statustst_qcommandlinkbutton - unknown statustst_qcompleter - unknown statustst_qdatetimeedit - unknown statustst_qdbusxml2cpp - unknown statustst_qerrormessage - unknown statustst_qfiledialog - unknown statustst_qfiledialog2 - unknown statustst_qfileiconprovider - unknown statustst_qfilesystemmodel - unknown statustst_qgraphicsproxywidget - unknown statustst_qicon - unknown statustst_qlabel - unknown statustst_qlineedit - unknown statustst_qmessagebox - unknown statustst_qplaintextedit - unknown statustst_qprinter - unknown statustst_qsettings - unknown statustst_qsidebar - unknown statustst_qstyle - unknown statustst_qstylesheetstyle - unknown status...
 executed 174 times by 31 tests}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ())) : value () { guard.store(QtGlobalStatic::Initialized); } } holder; return:  end of blockExecuted by:tst_languagechange - unknown statustst_qabstractitemview - unknown statustst_qaccessibility - unknown statustst_qcalendarwidget - unknown statustst_qcolordialog - unknown statustst_qcommandlinkbutton - unknown statustst_qcompleter - unknown statustst_qdatetimeedit - unknown statustst_qdbusxml2cpp - unknown statustst_qerrormessage - unknown statustst_qfiledialog - unknown statustst_qfiledialog2 - unknown statustst_qfileiconprovider - unknown statustst_qfilesystemmodel - unknown statustst_qgraphicsproxywidget - unknown statustst_qicon - unknown statustst_qlabel - unknown statustst_qlineedit - unknown statustst_qmessagebox - unknown statustst_qplaintextedit - unknown statustst_qprinter - unknown statustst_qsettings - unknown statustst_qsidebar - unknown statustst_qstyle - unknown statustst_qstylesheetstyle - unknown status...
 executed 13201 times by 36 tests&holder.value;:  return &holder.value;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 executed 13201 times by 36 tests} } } static QGlobalStatic<ConfFileHash, Q_QGS_usedHashFunc::innerFunction, Q_QGS_usedHashFunc::guard> usedHashFunc;:  return &holder.value;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 0-13201 | 
| 32 | namespace { namespace Q_QGS_unusedCacheFunc { typedef ConfFileCache Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::Initialized ) guard.store(QtGlobalStatic::Destroyed);| TRUE | evaluated 174 times by 31 tests Evaluated by:tst_languagechange - unknown statustst_qabstractitemview - unknown statustst_qaccessibility - unknown statustst_qcalendarwidget - unknown statustst_qcolordialog - unknown statustst_qcommandlinkbutton - unknown statustst_qcompleter - unknown statustst_qdatetimeedit - unknown statustst_qdbusxml2cpp - unknown statustst_qerrormessage - unknown statustst_qfiledialog - unknown statustst_qfiledialog2 - unknown statustst_qfileiconprovider - unknown statustst_qfilesystemmodel - unknown statustst_qgraphicsproxywidget - unknown statustst_qicon - unknown statustst_qlabel - unknown statustst_qlineedit - unknown statustst_qmessagebox - unknown statustst_qplaintextedit - unknown statustst_qprinter - unknown statustst_qsettings - unknown statustst_qsidebar - unknown statustst_qstyle - unknown statustst_qstylesheetstyle - unknown status...
 |  | FALSE | never evaluated | 
executed 174 times by 31 tests}:  guard.store(QtGlobalStatic::Destroyed);Executed by:tst_languagechange - unknown statustst_qabstractitemview - unknown statustst_qaccessibility - unknown statustst_qcalendarwidget - unknown statustst_qcolordialog - unknown statustst_qcommandlinkbutton - unknown statustst_qcompleter - unknown statustst_qdatetimeedit - unknown statustst_qdbusxml2cpp - unknown statustst_qerrormessage - unknown statustst_qfiledialog - unknown statustst_qfiledialog2 - unknown statustst_qfileiconprovider - unknown statustst_qfilesystemmodel - unknown statustst_qgraphicsproxywidget - unknown statustst_qicon - unknown statustst_qlabel - unknown statustst_qlineedit - unknown statustst_qmessagebox - unknown statustst_qplaintextedit - unknown statustst_qprinter - unknown statustst_qsettings - unknown statustst_qsidebar - unknown statustst_qstyle - unknown statustst_qstylesheetstyle - unknown status...
 executed 174 times by 31 tests}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ())) : value () { guard.store(QtGlobalStatic::Initialized); } } holder; return:  end of blockExecuted by:tst_languagechange - unknown statustst_qabstractitemview - unknown statustst_qaccessibility - unknown statustst_qcalendarwidget - unknown statustst_qcolordialog - unknown statustst_qcommandlinkbutton - unknown statustst_qcompleter - unknown statustst_qdatetimeedit - unknown statustst_qdbusxml2cpp - unknown statustst_qerrormessage - unknown statustst_qfiledialog - unknown statustst_qfiledialog2 - unknown statustst_qfileiconprovider - unknown statustst_qfilesystemmodel - unknown statustst_qgraphicsproxywidget - unknown statustst_qicon - unknown statustst_qlabel - unknown statustst_qlineedit - unknown statustst_qmessagebox - unknown statustst_qplaintextedit - unknown statustst_qprinter - unknown statustst_qsettings - unknown statustst_qsidebar - unknown statustst_qstyle - unknown statustst_qstylesheetstyle - unknown status...
 executed 5352 times by 31 tests&holder.value;:  return &holder.value;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 executed 5352 times by 31 tests} } } static QGlobalStatic<ConfFileCache, Q_QGS_unusedCacheFunc::innerFunction, Q_QGS_unusedCacheFunc::guard> unusedCacheFunc;:  return &holder.value;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 0-5352 | 
| 33 | namespace { namespace Q_QGS_pathHashFunc { typedef PathHash Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::Initialized ) guard.store(QtGlobalStatic::Destroyed);| TRUE | evaluated 7 times by 7 tests Evaluated by:tst_languagechange - unknown statustst_qcolordialog - unknown statustst_qfiledialog - unknown statustst_qfiledialog2 - unknown statustst_qgraphicsproxywidget - unknown statustst_qsettings - unknown statustst_qtextformat - unknown status
 |  | FALSE | never evaluated | 
executed 7 times by 7 tests}:  guard.store(QtGlobalStatic::Destroyed);Executed by:tst_languagechange - unknown statustst_qcolordialog - unknown statustst_qfiledialog - unknown statustst_qfiledialog2 - unknown statustst_qgraphicsproxywidget - unknown statustst_qsettings - unknown statustst_qtextformat - unknown status
 executed 7 times by 7 tests}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ())) : value () { guard.store(QtGlobalStatic::Initialized); } } holder; return:  end of blockExecuted by:tst_languagechange - unknown statustst_qcolordialog - unknown statustst_qfiledialog - unknown statustst_qfiledialog2 - unknown statustst_qgraphicsproxywidget - unknown statustst_qsettings - unknown statustst_qtextformat - unknown status
 executed 3324 times by 7 tests&holder.value;:  return &holder.value;Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_QTextFormattst_languageChange
 executed 3324 times by 7 tests} } } static QGlobalStatic<PathHash, Q_QGS_pathHashFunc::innerFunction, Q_QGS_pathHashFunc::guard> pathHashFunc;:  return &holder.value;Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_QTextFormattst_languageChange
 | 0-3324 | 
| 34 | namespace { namespace Q_QGS_customFormatVectorFunc { typedef CustomFormatVector Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::Initialized ) guard.store(QtGlobalStatic::Destroyed);| TRUE | evaluated 1 time by 1 test Evaluated by:tst_qsettings - unknown status
 |  | FALSE | never evaluated | 
executed 1 time by 1 test}:  guard.store(QtGlobalStatic::Destroyed);Executed by:tst_qsettings - unknown status
 executed 1 time by 1 test}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ())) : value () { guard.store(QtGlobalStatic::Initialized); } } holder; return:  end of blockExecuted by:tst_qsettings - unknown status
 executed 179 times by 1 test&holder.value;:  return &holder.value; executed 179 times by 1 test} } } static QGlobalStatic<CustomFormatVector, Q_QGS_customFormatVectorFunc::innerFunction, Q_QGS_customFormatVectorFunc::guard> customFormatVectorFunc;:  return &holder.value; | 0-179 | 
| 35 |  | - | 
| 36 | static QBasicMutex settingsGlobalMutex; | - | 
| 37 |  | - | 
| 38 | static QSettings::Format globalDefaultFormat = QSettings::NativeFormat; | - | 
| 39 |  | - | 
| 40 | QConfFile::QConfFile(const QString &fileName, bool _userPerms) | - | 
| 41 | : name(fileName), size(0), ref(1), userPerms(_userPerms) | - | 
| 42 | { | - | 
| 43 | usedHashFunc()->insert(name, this); | - | 
| 44 | } executed 2658 times by 31 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 2658 | 
| 45 |  | - | 
| 46 | QConfFile::~QConfFile() | - | 
| 47 | { | - | 
| 48 | if (usedHashFunc() )| TRUE | evaluated 2658 times by 36 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | never evaluated | 
 | 0-2658 | 
| 49 | usedHashFunc()->remove(name); executed 2658 times by 36 tests:  usedHashFunc()->remove(name);Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 2658 | 
| 50 | } executed 2658 times by 36 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 2658 | 
| 51 |  | - | 
| 52 | ParsedSettingsMap QConfFile::mergedKeyMap() const | - | 
| 53 | { | - | 
| 54 | ParsedSettingsMap result = originalKeys; | - | 
| 55 | ParsedSettingsMap::const_iterator i; | - | 
| 56 |  | - | 
| 57 | for (i = removedKeys.begin(); i != removedKeys.end() ; ++i)| TRUE | evaluated 802 times by 3 tests Evaluated by:tst_QFileDialog2tst_QFiledialogtst_QSettings
 |  | FALSE | evaluated 565 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 565-802 | 
| 58 | result.remove(i.key()); executed 802 times by 3 tests:  result.remove(i.key());Executed by:tst_QFileDialog2tst_QFiledialogtst_QSettings
 | 802 | 
| 59 | for (i = addedKeys.begin(); i != addedKeys.end() ; ++i)| TRUE | evaluated 2367 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 565 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 565-2367 | 
| 60 | result.insert(i.key(), i.value()); executed 2367 times by 6 tests:  result.insert(i.key(), i.value());Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 2367 | 
| 61 | return executed 565 times by 6 testsresult;:  return result;Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 executed 565 times by 6 tests:  return result;Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 565 | 
| 62 | } | - | 
| 63 |  | - | 
| 64 | bool QConfFile::isWritable() const | - | 
| 65 | { | - | 
| 66 | QFileInfo fileInfo(name); | - | 
| 67 |  | - | 
| 68 |  | - | 
| 69 | if (fileInfo.exists() ) {| TRUE | evaluated 464 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 123 times by 1 test | 
 | 123-464 | 
| 70 |  | - | 
| 71 | QFile file(name); | - | 
| 72 | return executed 464 times by 6 testsfile.open(QFile::ReadWrite);:  return file.open(QFile::ReadWrite);Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 executed 464 times by 6 tests:  return file.open(QFile::ReadWrite);Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 464 | 
| 73 |  | - | 
| 74 | } else { | - | 
| 75 |  | - | 
| 76 | QDir dir(fileInfo.absolutePath()); | - | 
| 77 | if (!dir.exists() ) {| TRUE | evaluated 101 times by 1 test |  | FALSE | evaluated 22 times by 1 test | 
 | 22-101 | 
| 78 | if (!dir.mkpath(dir.absolutePath()) )| TRUE | never evaluated |  | FALSE | evaluated 101 times by 1 test | 
 | 0-101 | 
| 79 | return never executed: false;return false; never executed: return false; | 0 | 
| 80 | } executed 101 times by 1 test:  end of block | 101 | 
| 81 |  | - | 
| 82 |  | - | 
| 83 | QTemporaryFile file(name); | - | 
| 84 | return executed 123 times by 1 testfile.open();:  return file.open(); executed 123 times by 1 test:  return file.open(); | 123 | 
| 85 | } | - | 
| 86 |  | - | 
| 87 | } | - | 
| 88 |  | - | 
| 89 | QConfFile *QConfFile::fromName(const QString &fileName, bool _userPerms) | - | 
| 90 | { | - | 
| 91 | QString absPath = QFileInfo(fileName).absoluteFilePath(); | - | 
| 92 |  | - | 
| 93 | ConfFileHash *usedHash = usedHashFunc(); | - | 
| 94 | ConfFileCache *unusedCache = unusedCacheFunc(); | - | 
| 95 |  | - | 
| 96 | QConfFile *confFile = 0; | - | 
| 97 | QMutexLocker locker(&settingsGlobalMutex); | - | 
| 98 |  | - | 
| 99 | if (!(confFile = usedHash->value(absPath)) ) {| TRUE | evaluated 3336 times by 31 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 215 times by 1 test | 
 | 215-3336 | 
| 100 | if (( confFile = unusedCache->take(absPath))| TRUE | evaluated 678 times by 7 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QSettingstst_languageChange
 |  | FALSE | evaluated 2658 times by 31 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
)| TRUE | evaluated 678 times by 7 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QSettingstst_languageChange
 |  | FALSE | evaluated 2658 times by 31 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 678-2658 | 
| 101 | usedHash->insert(absPath, confFile); executed 678 times by 7 tests:  usedHash->insert(absPath, confFile);Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QSettingstst_languageChange
 | 678 | 
| 102 | } executed 3336 times by 31 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 3336 | 
| 103 | if (confFile ) {| TRUE | evaluated 893 times by 7 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QSettingstst_languageChange
 |  | FALSE | evaluated 2658 times by 31 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 893-2658 | 
| 104 | confFile->ref.ref(); | - | 
| 105 | return executed 893 times by 7 testsconfFile;:  return confFile;Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QSettingstst_languageChange
 executed 893 times by 7 tests:  return confFile;Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QSettingstst_languageChange
 | 893 | 
| 106 | } | - | 
| 107 | return executed 2658 times by 31 testsnew QConfFile(absPath, _userPerms);:  return new QConfFile(absPath, _userPerms);Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 executed 2658 times by 31 tests:  return new QConfFile(absPath, _userPerms);Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 2658 | 
| 108 | } | - | 
| 109 |  | - | 
| 110 | void QConfFile::clearCache() | - | 
| 111 | { | - | 
| 112 | QMutexLocker locker(&settingsGlobalMutex); | - | 
| 113 | unusedCacheFunc()->clear(); | - | 
| 114 | } executed 125 times by 1 test:  end of block | 125 | 
| 115 |  | - | 
| 116 |  | - | 
| 117 |  | - | 
| 118 |  | - | 
| 119 | QSettingsPrivate::QSettingsPrivate(QSettings::Format format) | - | 
| 120 | : format(format), scope(QSettings::UserScope ), iniCodec(0), spec(0), fallbacks(true), | - | 
| 121 | pendingChanges(false), status(QSettings::NoError) | - | 
| 122 | { | - | 
| 123 | } executed 248 times by 29 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QToolButton...
 | 248 | 
| 124 |  | - | 
| 125 | QSettingsPrivate::QSettingsPrivate(QSettings::Format format, QSettings::Scope scope, | - | 
| 126 | const QString &organization, const QString &application) | - | 
| 127 | : format(format), scope(scope), organizationName(organization), applicationName(application), | - | 
| 128 | iniCodec(0), spec(0), fallbacks(true), pendingChanges(false), status(QSettings::NoError) | - | 
| 129 | { | - | 
| 130 | } executed 1428 times by 7 tests:  end of blockExecuted by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_QTextFormattst_languageChange
 | 1428 | 
| 131 |  | - | 
| 132 | QSettingsPrivate::~QSettingsPrivate() | - | 
| 133 | { | - | 
| 134 | } | - | 
| 135 |  | - | 
| 136 | QString QSettingsPrivate::actualKey(const QString &key) const | - | 
| 137 | { | - | 
| 138 | QString n = normalizedKey(key); | - | 
| 139 | ((!(!n.isEmpty())) ? qt_assert_x("QSettings", "empty key",__FILE__,251) : qt_noop()); | - | 
| 140 | return executed 48963 times by 30 testsgroupPrefix + n;:  return groupPrefix + n;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 executed 48963 times by 30 tests:  return groupPrefix + n;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 48963 | 
| 141 | } | - | 
| 142 | QString QSettingsPrivate::normalizedKey(const QString &key) | - | 
| 143 | { | - | 
| 144 | QString result = key; | - | 
| 145 |  | - | 
| 146 | int i = 0; | - | 
| 147 | while (i < result.size() ) {| TRUE | evaluated 160322 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 126 times by 3 tests Evaluated by:tst_QFileDialog2tst_QFiledialogtst_QSettings
 | 
 | 126-160322 | 
| 148 | while (result.at(i) == QLatin1Char('/') ) {| TRUE | evaluated 544 times by 1 test |  | FALSE | evaluated 160231 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 544-160231 | 
| 149 | result.remove(i, 1); | - | 
| 150 | if (i == result.size() )| TRUE | evaluated 91 times by 1 test |  | FALSE | evaluated 453 times by 1 test | 
 | 91-453 | 
| 151 | goto executed 91 times by 1 testafter_loop;:  goto after_loop; executed 91 times by 1 test:  goto after_loop; | 91 | 
| 152 | } executed 453 times by 1 test:  end of block | 453 | 
| 153 | while (result.at(i) != QLatin1Char('/') ) {| TRUE | evaluated 948417 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 109814 times by 28 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 109814-948417 | 
| 154 | ++i; | - | 
| 155 | if (i == result.size() )| TRUE | evaluated 50417 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 898000 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 50417-898000 | 
| 156 | return executed 50417 times by 30 testsresult;:  return result;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 executed 50417 times by 30 tests:  return result;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 50417 | 
| 157 | } executed 898000 times by 30 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 898000 | 
| 158 | ++i; | - | 
| 159 | } executed 109814 times by 28 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 109814 | 
| 160 |  | - | 
| 161 | after_loop: code before this statement executed 126 times by 3 tests:  after_loop:Executed by:tst_QFileDialog2tst_QFiledialogtst_QSettings
 | 126 | 
| 162 | if (!result.isEmpty() )| TRUE | evaluated 58 times by 1 test |  | FALSE | evaluated 159 times by 3 tests Evaluated by:tst_QFileDialog2tst_QFiledialogtst_QSettings
 | 
 | 58-159 | 
| 163 | result.truncate(i - 1); executed 58 times by 1 test:  result.truncate(i - 1); | 58 | 
| 164 | return executed 217 times by 3 testsresult;:  return result;Executed by:tst_QFileDialog2tst_QFiledialogtst_QSettings
 executed 217 times by 3 tests:  return result;Executed by:tst_QFileDialog2tst_QFiledialogtst_QSettings
 | 217 | 
| 165 | } | - | 
| 166 |  | - | 
| 167 |  | - | 
| 168 |  | - | 
| 169 |  | - | 
| 170 | QSettingsPrivate *QSettingsPrivate::create(QSettings::Format format, QSettings::Scope scope, | - | 
| 171 | const QString &organization, const QString &application) | - | 
| 172 | { | - | 
| 173 | return executed 1428 times by 7 testsnew QConfFileSettingsPrivate(format, scope, organization, application);:  return new QConfFileSettingsPrivate(format, scope, organization, application);Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_QTextFormattst_languageChange
 executed 1428 times by 7 tests:  return new QConfFileSettingsPrivate(format, scope, organization, application);Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_QTextFormattst_languageChange
 | 1428 | 
| 174 | } | - | 
| 175 |  | - | 
| 176 |  | - | 
| 177 |  | - | 
| 178 | QSettingsPrivate *QSettingsPrivate::create(const QString &fileName, QSettings::Format format) | - | 
| 179 | { | - | 
| 180 | return executed 248 times by 29 testsnew QConfFileSettingsPrivate(fileName, format);:  return new QConfFileSettingsPrivate(fileName, format);Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QToolButton...
 executed 248 times by 29 tests:  return new QConfFileSettingsPrivate(fileName, format);Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QToolButton...
 | 248 | 
| 181 | } | - | 
| 182 |  | - | 
| 183 |  | - | 
| 184 | void QSettingsPrivate::processChild(QStringRef key, ChildSpec spec, QStringList &result) | - | 
| 185 | { | - | 
| 186 | if (spec != AllKeys ) {| TRUE | evaluated 2980 times by 6 tests Evaluated by:tst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChangetst_qdbusxml2cpp - unknown status
 |  | FALSE | evaluated 30673 times by 27 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QToolButton...
 | 
 | 2980-30673 | 
| 187 | int slashPos = key.indexOf(QLatin1Char('/')); | - | 
| 188 | if (slashPos == -1 ) {| TRUE | evaluated 304 times by 1 test |  | FALSE | evaluated 2676 times by 6 tests Evaluated by:tst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChangetst_qdbusxml2cpp - unknown status
 | 
 | 304-2676 | 
| 189 | if (spec != ChildKeys )| TRUE | evaluated 152 times by 1 test |  | FALSE | evaluated 152 times by 1 test | 
 | 152 | 
| 190 | return; executed 152 times by 1 test:  return; | 152 | 
| 191 | } executed 152 times by 1 testelse {:  end of block | 152 | 
| 192 | if (spec != ChildGroups )| TRUE | evaluated 328 times by 1 test |  | FALSE | evaluated 2348 times by 6 tests Evaluated by:tst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChangetst_qdbusxml2cpp - unknown status
 | 
 | 328-2348 | 
| 193 | return; executed 328 times by 1 test:  return; | 328 | 
| 194 | key.truncate(slashPos); | - | 
| 195 | } executed 2348 times by 6 tests:  end of blockExecuted by:tst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChangetst_qdbusxml2cpp - unknown status
 | 2348 | 
| 196 | } | - | 
| 197 | result.append(key.toString()); | - | 
| 198 | } executed 33173 times by 28 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QToolButton...
 | 33173 | 
| 199 |  | - | 
| 200 | void QSettingsPrivate::beginGroupOrArray(const QSettingsGroup &group) | - | 
| 201 | { | - | 
| 202 | groupStack.push(group); | - | 
| 203 | const QString name = group.name(); | - | 
| 204 | if (!name.isEmpty() )| TRUE | evaluated 1343 times by 6 tests Evaluated by:tst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChangetst_selftests - unknown status
 |  | FALSE | evaluated 43 times by 1 test | 
 | 43-1343 | 
| 205 | groupPrefix += name + QLatin1Char('/'); executed 1343 times by 6 tests:  groupPrefix += name + QLatin1Char('/');Executed by:tst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChangetst_selftests - unknown status
 | 1343 | 
| 206 | } executed 1386 times by 6 tests:  end of blockExecuted by:tst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChangetst_selftests - unknown status
 | 1386 | 
| 207 |  | - | 
| 208 |  | - | 
| 209 |  | - | 
| 210 |  | - | 
| 211 |  | - | 
| 212 |  | - | 
| 213 | void QSettingsPrivate::setStatus(QSettings::Status status) const | - | 
| 214 | { | - | 
| 215 | if (status == QSettings::NoError || this->status == QSettings::NoError| TRUE | never evaluated |  | FALSE | evaluated 44 times by 3 tests Evaluated by:tst_QIcontst_QSettingstst_selftests - unknown status
 | 
)| TRUE | evaluated 41 times by 3 tests Evaluated by:tst_QIcontst_QSettingstst_selftests - unknown status
 |  | FALSE | evaluated 3 times by 1 test | 
 | 0-44 | 
| 216 | this->status = status; executed 41 times by 3 tests:  this->status = status;Executed by:tst_QIcontst_QSettingstst_selftests - unknown status
 | 41 | 
| 217 | } executed 44 times by 3 tests:  end of blockExecuted by:tst_QIcontst_QSettingstst_selftests - unknown status
 | 44 | 
| 218 |  | - | 
| 219 | void QSettingsPrivate::update() | - | 
| 220 | { | - | 
| 221 | flush(); | - | 
| 222 | pendingChanges = false; | - | 
| 223 | } executed 4 times by 1 test:  end of block | 4 | 
| 224 |  | - | 
| 225 | void QSettingsPrivate::requestUpdate() | - | 
| 226 | { | - | 
| 227 | if (!pendingChanges ) {| TRUE | evaluated 567 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 2156 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 567-2156 | 
| 228 | pendingChanges = true; | - | 
| 229 |  | - | 
| 230 | QSettings * const q = q_func(); | - | 
| 231 | QCoreApplication::postEvent(q, new QEvent(QEvent::UpdateRequest)); | - | 
| 232 |  | - | 
| 233 |  | - | 
| 234 |  | - | 
| 235 | } executed 567 times by 6 tests:  end of blockExecuted by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 567 | 
| 236 | } executed 2723 times by 6 tests:  end of blockExecuted by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 2723 | 
| 237 |  | - | 
| 238 | QStringList QSettingsPrivate::variantListToStringList(const QVariantList &l) | - | 
| 239 | { | - | 
| 240 | QStringList result; | - | 
| 241 | result.reserve(l.count()); | - | 
| 242 | QVariantList::const_iterator it = l.constBegin(); | - | 
| 243 | for (; it != l.constEnd() ; ++it)| TRUE | evaluated 1082 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 524 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 524-1082 | 
| 244 | result.append(variantToString(*it)); executed 1082 times by 6 tests:  result.append(variantToString(*it));Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 1082 | 
| 245 | return executed 524 times by 6 testsresult;:  return result;Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 executed 524 times by 6 tests:  return result;Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 524 | 
| 246 | } | - | 
| 247 |  | - | 
| 248 | QVariant QSettingsPrivate::stringListToVariantList(const QStringList &l) | - | 
| 249 | { | - | 
| 250 | QStringList outStringList = l; | - | 
| 251 | for (int i = 0; i < outStringList.count() ; ++i) {| TRUE | evaluated 8740 times by 28 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 47 times by 28 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 47-8740 | 
| 252 | const QString &str = outStringList.at(i); | - | 
| 253 |  | - | 
| 254 | if (str.startsWith(QLatin1Char('@')) ) {| TRUE | evaluated 34 times by 1 test |  | FALSE | evaluated 8706 times by 28 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 34-8706 | 
| 255 | if (str.length() >= 2 && str.at(1) == QLatin1Char('@')| TRUE | evaluated 34 times by 1 test |  | FALSE | never evaluated | 
) {| TRUE | evaluated 4 times by 1 test |  | FALSE | evaluated 30 times by 1 test | 
 | 0-34 | 
| 256 | outStringList[i].remove(0, 1); | - | 
| 257 | } executed 4 times by 1 testelse {:  end of block | 4 | 
| 258 | QVariantList variantList; | - | 
| 259 | const int stringCount = l.count(); | - | 
| 260 | variantList.reserve(stringCount); | - | 
| 261 | for (int j = 0; j < stringCount ; ++j)| TRUE | evaluated 258 times by 1 test |  | FALSE | evaluated 30 times by 1 test | 
 | 30-258 | 
| 262 | variantList.append(stringToVariant(l.at(j))); executed 258 times by 1 test:  variantList.append(stringToVariant(l.at(j))); | 258 | 
| 263 | return executed 30 times by 1 testvariantList;:  return variantList; executed 30 times by 1 test:  return variantList; | 30 | 
| 264 | } | - | 
| 265 | } | - | 
| 266 | } executed 8710 times by 28 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 8710 | 
| 267 | return executed 47 times by 28 testsoutStringList;:  return outStringList;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 executed 47 times by 28 tests:  return outStringList;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 47 | 
| 268 | } | - | 
| 269 |  | - | 
| 270 | QString QSettingsPrivate::variantToString(const QVariant &v) | - | 
| 271 | { | - | 
| 272 | QString result; | - | 
| 273 |  | - | 
| 274 | switch (v.type()) { | - | 
| 275 | case never executed: QVariant::Invalid:case QVariant::Invalid: never executed: case QVariant::Invalid: | 0 | 
| 276 | result = QLatin1String("@Invalid()"); | - | 
| 277 | break; never executed: break; | 0 | 
| 278 |  | - | 
| 279 | case executed 253 times by 6 testsQVariant::ByteArray::  case QVariant::ByteArray:Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 executed 253 times by 6 tests{:  case QVariant::ByteArray:Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 253 | 
| 280 | QByteArray a = v.toByteArray(); | - | 
| 281 | result = QLatin1String("@ByteArray(") | - | 
| 282 | + QLatin1String(a.constData(), a.size()) | - | 
| 283 | + QLatin1Char(')'); | - | 
| 284 | break; executed 253 times by 6 tests:  break;Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 253 | 
| 285 | } | - | 
| 286 |  | - | 
| 287 | case executed 1867 times by 6 testsQVariant::String::  case QVariant::String:Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 executed 1867 times by 6 tests:  case QVariant::String:Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 1867 | 
| 288 | case never executed: QVariant::LongLong:case QVariant::LongLong: never executed: case QVariant::LongLong: | 0 | 
| 289 | case never executed: QVariant::ULongLong:case QVariant::ULongLong: never executed: case QVariant::ULongLong: | 0 | 
| 290 | case executed 631 times by 5 testsQVariant::Int::  case QVariant::Int:Executed by:tst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 executed 631 times by 5 tests:  case QVariant::Int:Executed by:tst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 631 | 
| 291 | case executed 96 times by 2 testsQVariant::UInt::  case QVariant::UInt:Executed by:tst_QColorDialogtst_languageChange
 executed 96 times by 2 tests:  case QVariant::UInt:Executed by:tst_QColorDialogtst_languageChange
 | 96 | 
| 292 | case executed 4 times by 1 testQVariant::Bool::  case QVariant::Bool: executed 4 times by 1 test:  case QVariant::Bool: | 4 | 
| 293 | case never executed: QVariant::Double:case QVariant::Double: never executed: case QVariant::Double: | 0 | 
| 294 | case executed 2 times by 1 testQVariant::KeySequence::  case QVariant::KeySequence: executed 2 times by 1 test{:  case QVariant::KeySequence: | 2 | 
| 295 | result = v.toString(); | - | 
| 296 | if (result.contains(QChar::Null) )| TRUE | evaluated 2 times by 1 test |  | FALSE | evaluated 2598 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 2-2598 | 
| 297 | result = QLatin1String("@String(") + result + QLatin1Char(')'); executed 2 times by 1 test:  result = QLatin1String("@String(") + result + QLatin1Char(')'); | 2 | 
| 298 | else if (result.startsWith(QLatin1Char('@')) )| TRUE | evaluated 7 times by 1 test |  | FALSE | evaluated 2591 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 7-2591 | 
| 299 | result.prepend(QLatin1Char('@')); executed 7 times by 1 test:  result.prepend(QLatin1Char('@')); | 7 | 
| 300 | break; executed 2600 times by 6 tests:  break;Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 2600 | 
| 301 | } | - | 
| 302 |  | - | 
| 303 | case executed 43 times by 1 testQVariant::Rect::  case QVariant::Rect: executed 43 times by 1 test{:  case QVariant::Rect: | 43 | 
| 304 | QRect r = qvariant_cast<QRect>(v); | - | 
| 305 | result = QString::asprintf("@Rect(%d %d %d %d)", r.x(), r.y(), r.width(), r.height()); | - | 
| 306 | break; executed 43 times by 1 test:  break; | 43 | 
| 307 | } | - | 
| 308 | case executed 41 times by 1 testQVariant::Size::  case QVariant::Size: executed 41 times by 1 test{:  case QVariant::Size: | 41 | 
| 309 | QSize s = qvariant_cast<QSize>(v); | - | 
| 310 | result = QString::asprintf("@Size(%d %d)", s.width(), s.height()); | - | 
| 311 | break; executed 41 times by 1 test:  break; | 41 | 
| 312 | } | - | 
| 313 | case executed 39 times by 1 testQVariant::Point::  case QVariant::Point: executed 39 times by 1 test{:  case QVariant::Point: | 39 | 
| 314 | QPoint p = qvariant_cast<QPoint>(v); | - | 
| 315 | result = QString::asprintf("@Point(%d %d)", p.x(), p.y()); | - | 
| 316 | break; executed 39 times by 1 test:  break; | 39 | 
| 317 | } | - | 
| 318 |  | - | 
| 319 |  | - | 
| 320 | default executed 176 times by 1 test::  default: executed 176 times by 1 test{:  default: | 176 | 
| 321 |  | - | 
| 322 | QDataStream::Version version; | - | 
| 323 | const char *typeSpec; | - | 
| 324 | if (v.type() == QVariant::DateTime ) {| TRUE | evaluated 4 times by 1 test |  | FALSE | evaluated 172 times by 1 test | 
 | 4-172 | 
| 325 | version = QDataStream::Qt_5_6; | - | 
| 326 | typeSpec = "@DateTime("; | - | 
| 327 | } executed 4 times by 1 testelse {:  end of block | 4 | 
| 328 | version = QDataStream::Qt_4_0; | - | 
| 329 | typeSpec = "@Variant("; | - | 
| 330 | } executed 172 times by 1 test:  end of block | 172 | 
| 331 | QByteArray a; | - | 
| 332 | { | - | 
| 333 | QDataStream s(&a, QIODevice::WriteOnly); | - | 
| 334 | s.setVersion(version); | - | 
| 335 | s << v; | - | 
| 336 | } | - | 
| 337 |  | - | 
| 338 | result = QLatin1String(typeSpec) | - | 
| 339 | + QLatin1String(a.constData(), a.size()) | - | 
| 340 | + QLatin1Char(')'); | - | 
| 341 |  | - | 
| 342 |  | - | 
| 343 |  | - | 
| 344 | break; executed 176 times by 1 test:  break; | 176 | 
| 345 | } | - | 
| 346 | } | - | 
| 347 |  | - | 
| 348 | return executed 3152 times by 6 testsresult;:  return result;Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 executed 3152 times by 6 tests:  return result;Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 3152 | 
| 349 | } | - | 
| 350 |  | - | 
| 351 |  | - | 
| 352 | QVariant QSettingsPrivate::stringToVariant(const QString &s) | - | 
| 353 | { | - | 
| 354 | if (s.startsWith(QLatin1Char('@')) ) {| TRUE | evaluated 314 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 30061 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 314-30061 | 
| 355 | if (s.endsWith(QLatin1Char(')')) ) {| TRUE | evaluated 307 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 7 times by 1 test | 
 | 7-307 | 
| 356 | if (s.startsWith(QLatin1String("@ByteArray(")) ) {| TRUE | evaluated 13 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 294 times by 1 test | 
 | 13-294 | 
| 357 | return executed 13 times by 4 testsQVariant(s.midRef(11, s.size() - 12).toLatin1());:  return QVariant(s.midRef(11, s.size() - 12).toLatin1());Executed by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 executed 13 times by 4 tests:  return QVariant(s.midRef(11, s.size() - 12).toLatin1());Executed by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 13 | 
| 358 | } else if (s.startsWith(QLatin1String("@String(")) ) {| TRUE | never evaluated |  | FALSE | evaluated 294 times by 1 test | 
 | 0-294 | 
| 359 | return never executed: QVariant(s.midRef(8, s.size() - 9).toString());return QVariant(s.midRef(8, s.size() - 9).toString()); never executed: return QVariant(s.midRef(8, s.size() - 9).toString()); | 0 | 
| 360 | } else if (s.startsWith(QLatin1String("@Variant(")) | TRUE | evaluated 163 times by 1 test |  | FALSE | evaluated 131 times by 1 test | 
 | 131-163 | 
| 361 | || s.startsWith(QLatin1String("@DateTime(")) ) {| TRUE | evaluated 4 times by 1 test |  | FALSE | evaluated 127 times by 1 test | 
 | 4-127 | 
| 362 |  | - | 
| 363 | QDataStream::Version version; | - | 
| 364 | int offset; | - | 
| 365 | if (s.at(1) == QLatin1Char('D') ) {| TRUE | evaluated 4 times by 1 test |  | FALSE | evaluated 163 times by 1 test | 
 | 4-163 | 
| 366 | version = QDataStream::Qt_5_6; | - | 
| 367 | offset = 10; | - | 
| 368 | } executed 4 times by 1 testelse {:  end of block | 4 | 
| 369 | version = QDataStream::Qt_4_0; | - | 
| 370 | offset = 9; | - | 
| 371 | } executed 163 times by 1 test:  end of block | 163 | 
| 372 | QByteArray a = s.midRef(offset).toLatin1(); | - | 
| 373 | QDataStream stream(&a, QIODevice::ReadOnly); | - | 
| 374 | stream.setVersion(version); | - | 
| 375 | QVariant result; | - | 
| 376 | stream >> result; | - | 
| 377 | return executed 167 times by 1 testresult;:  return result; executed 167 times by 1 test:  return result; | 167 | 
| 378 |  | - | 
| 379 |  | - | 
| 380 |  | - | 
| 381 |  | - | 
| 382 | } else if (s.startsWith(QLatin1String("@Rect(")) ) {| TRUE | evaluated 45 times by 1 test |  | FALSE | evaluated 82 times by 1 test | 
 | 45-82 | 
| 383 | QStringList args = QSettingsPrivate::splitArgs(s, 5); | - | 
| 384 | if (args.size() == 4 )| TRUE | evaluated 43 times by 1 test |  | FALSE | evaluated 2 times by 1 test | 
 | 2-43 | 
| 385 | return executed 43 times by 1 testQVariant(QRect(args[0].toInt(), args[1].toInt(), args[2].toInt(), args[3].toInt()));:  return QVariant(QRect(args[0].toInt(), args[1].toInt(), args[2].toInt(), args[3].toInt())); executed 43 times by 1 test:  return QVariant(QRect(args[0].toInt(), args[1].toInt(), args[2].toInt(), args[3].toInt())); | 43 | 
| 386 | } executed 2 times by 1 testelse if (s.startsWith(QLatin1String("@Size(")):  end of block ) {| TRUE | evaluated 41 times by 1 test |  | FALSE | evaluated 41 times by 1 test | 
 | 2-41 | 
| 387 | QStringList args = QSettingsPrivate::splitArgs(s, 5); | - | 
| 388 | if (args.size() == 2 )| TRUE | evaluated 41 times by 1 test |  | FALSE | never evaluated | 
 | 0-41 | 
| 389 | return executed 41 times by 1 testQVariant(QSize(args[0].toInt(), args[1].toInt()));:  return QVariant(QSize(args[0].toInt(), args[1].toInt())); executed 41 times by 1 test:  return QVariant(QSize(args[0].toInt(), args[1].toInt())); | 41 | 
| 390 | } never executed: else if (s.startsWith(QLatin1String("@Point("))end of block ) {| TRUE | evaluated 39 times by 1 test |  | FALSE | evaluated 2 times by 1 test | 
 | 0-39 | 
| 391 | QStringList args = QSettingsPrivate::splitArgs(s, 6); | - | 
| 392 | if (args.size() == 2 )| TRUE | evaluated 39 times by 1 test |  | FALSE | never evaluated | 
 | 0-39 | 
| 393 | return executed 39 times by 1 testQVariant(QPoint(args[0].toInt(), args[1].toInt()));:  return QVariant(QPoint(args[0].toInt(), args[1].toInt())); executed 39 times by 1 test:  return QVariant(QPoint(args[0].toInt(), args[1].toInt())); | 39 | 
| 394 |  | - | 
| 395 | } never executed: else if (s == QLatin1String("@Invalid()")end of block ) {| TRUE | never evaluated |  | FALSE | evaluated 2 times by 1 test | 
 | 0-2 | 
| 396 | return never executed: QVariant();return QVariant(); never executed: return QVariant(); | 0 | 
| 397 | } | - | 
| 398 |  | - | 
| 399 | } executed 4 times by 1 test:  end of block | 4 | 
| 400 | if (s.startsWith(QLatin1String("@@")) )| TRUE | evaluated 5 times by 1 test |  | FALSE | evaluated 6 times by 1 test | 
 | 5-6 | 
| 401 | return executed 5 times by 1 testQVariant(s.mid(1));:  return QVariant(s.mid(1)); executed 5 times by 1 test:  return QVariant(s.mid(1)); | 5 | 
| 402 | } executed 6 times by 1 test:  end of block | 6 | 
| 403 |  | - | 
| 404 | return executed 30067 times by 29 testsQVariant(s);:  return QVariant(s);Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 executed 30067 times by 29 tests:  return QVariant(s);Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 30067 | 
| 405 | } | - | 
| 406 |  | - | 
| 407 | static const char hexDigits[] = "0123456789ABCDEF"; | - | 
| 408 |  | - | 
| 409 | void QSettingsPrivate::iniEscapedKey(const QString &key, QByteArray &result) | - | 
| 410 | { | - | 
| 411 | result.reserve(result.length() + key.length() * 3 / 2); | - | 
| 412 | for (int i = 0; i < key.size() ; ++i) {| TRUE | evaluated 26033 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 3018 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 3018-26033 | 
| 413 | uint ch = key.at(i).unicode(); | - | 
| 414 |  | - | 
| 415 | if (ch == '/' ) {| TRUE | evaluated 448 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 25585 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 448-25585 | 
| 416 | result += '\\'; | - | 
| 417 | } executed 448 times by 4 testselse if ((ch >= 'a':  end of blockExecuted by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 && ch <= 'z'| TRUE | evaluated 22389 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 3196 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
) || (ch >= 'A'| TRUE | evaluated 22376 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 13 times by 1 test | 
&& ch <= 'Z'| TRUE | evaluated 2152 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 1057 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
) || (ch >= '0'| TRUE | evaluated 2130 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 22 times by 1 test | 
&& ch <= '9'| TRUE | evaluated 975 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 104 times by 1 test | 
)| TRUE | evaluated 947 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 28 times by 1 test | 
 | 13-22389 | 
| 418 | || ch == '_' || ch == '-'| TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 131 times by 1 test | 
|| ch == '.'| TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 130 times by 1 test | 
) {| TRUE | evaluated 3 times by 1 test |  | FALSE | evaluated 127 times by 1 test | 
 | 1-131 | 
| 419 | result += (char)ch; | - | 
| 420 | } executed 25458 times by 6 testselse if (ch <= 0xFF:  end of blockExecuted by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 ) {| TRUE | evaluated 122 times by 1 test |  | FALSE | evaluated 5 times by 1 test | 
 | 5-25458 | 
| 421 | result += '%'; | - | 
| 422 | result += hexDigits[ch / 16]; | - | 
| 423 | result += hexDigits[ch % 16]; | - | 
| 424 | } executed 122 times by 1 testelse {:  end of block | 122 | 
| 425 | result += "%U"; | - | 
| 426 | QByteArray hexCode; | - | 
| 427 | for (int i = 0; i < 4 ; ++i) {| TRUE | evaluated 20 times by 1 test |  | FALSE | evaluated 5 times by 1 test | 
 | 5-20 | 
| 428 | hexCode.prepend(hexDigits[ch % 16]); | - | 
| 429 | ch >>= 4; | - | 
| 430 | } executed 20 times by 1 test:  end of block | 20 | 
| 431 | result += hexCode; | - | 
| 432 | } executed 5 times by 1 test:  end of block | 5 | 
| 433 | } | - | 
| 434 | } executed 3018 times by 6 tests:  end of blockExecuted by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 3018 | 
| 435 |  | - | 
| 436 | bool QSettingsPrivate::iniUnescapedKey(const QByteArray &key, int from, int to, QString &result) | - | 
| 437 | { | - | 
| 438 | bool lowercaseOnly = true; | - | 
| 439 | int i = from; | - | 
| 440 | result.reserve(result.length() + (to - from)); | - | 
| 441 | while (i < to ) {| TRUE | evaluated 296440 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 39012 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 39012-296440 | 
| 442 | int ch = (uchar)key.at(i); | - | 
| 443 |  | - | 
| 444 | if (ch == '\\' ) {| TRUE | evaluated 227 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 296213 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 227-296213 | 
| 445 | result += QLatin1Char('/'); | - | 
| 446 | ++i; | - | 
| 447 | continue; executed 227 times by 4 tests:  continue;Executed by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 227 | 
| 448 | } | - | 
| 449 |  | - | 
| 450 | if (ch != '%' || i == to - 1| TRUE | evaluated 296144 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 69 times by 1 test | 
) {| TRUE | evaluated 2 times by 1 test |  | FALSE | evaluated 67 times by 1 test | 
 | 2-296144 | 
| 451 | if (uint(ch - 'A') <= 'Z' - 'A' )| TRUE | evaluated 33706 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 262440 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 33706-262440 | 
| 452 | lowercaseOnly = false; executed 33706 times by 29 tests:  lowercaseOnly = false;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 33706 | 
| 453 | result += QLatin1Char(ch); | - | 
| 454 | ++i; | - | 
| 455 | continue; executed 296146 times by 29 tests:  continue;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 296146 | 
| 456 | } | - | 
| 457 |  | - | 
| 458 | int numDigits = 2; | - | 
| 459 | int firstDigitPos = i + 1; | - | 
| 460 |  | - | 
| 461 | ch = key.at(i + 1); | - | 
| 462 | if (ch == 'U' ) {| TRUE | evaluated 9 times by 1 test |  | FALSE | evaluated 58 times by 1 test | 
 | 9-58 | 
| 463 | ++firstDigitPos; | - | 
| 464 | numDigits = 4; | - | 
| 465 | } executed 9 times by 1 test:  end of block | 9 | 
| 466 |  | - | 
| 467 | if (firstDigitPos + numDigits > to ) {| TRUE | never evaluated |  | FALSE | evaluated 67 times by 1 test | 
 | 0-67 | 
| 468 | result += QLatin1Char('%'); | - | 
| 469 |  | - | 
| 470 | ++i; | - | 
| 471 | continue; never executed: continue; | 0 | 
| 472 | } | - | 
| 473 |  | - | 
| 474 | bool ok; | - | 
| 475 | ch = key.mid(firstDigitPos, numDigits).toInt(&ok, 16); | - | 
| 476 | if (!ok ) {| TRUE | evaluated 10 times by 1 test |  | FALSE | evaluated 57 times by 1 test | 
 | 10-57 | 
| 477 | result += QLatin1Char('%'); | - | 
| 478 |  | - | 
| 479 | ++i; | - | 
| 480 | continue; executed 10 times by 1 test:  continue; | 10 | 
| 481 | } | - | 
| 482 |  | - | 
| 483 | QChar qch(ch); | - | 
| 484 | if (qch.isUpper() )| TRUE | evaluated 3 times by 1 test |  | FALSE | evaluated 54 times by 1 test | 
 | 3-54 | 
| 485 | lowercaseOnly = false; executed 3 times by 1 test:  lowercaseOnly = false; | 3 | 
| 486 | result += qch; | - | 
| 487 | i = firstDigitPos + numDigits; | - | 
| 488 | } executed 57 times by 1 test:  end of block | 57 | 
| 489 | return executed 39012 times by 29 testslowercaseOnly;:  return lowercaseOnly;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 executed 39012 times by 29 tests:  return lowercaseOnly;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 39012 | 
| 490 | } | - | 
| 491 |  | - | 
| 492 | void QSettingsPrivate::iniEscapedString(const QString &str, QByteArray &result, QTextCodec *codec) | - | 
| 493 | { | - | 
| 494 | bool needsQuotes = false; | - | 
| 495 | bool escapeNextIfDigit = false; | - | 
| 496 | bool useCodec = codec && !str.startsWith(QLatin1String("@ByteArray("))| TRUE | evaluated 3 times by 1 test |  | FALSE | evaluated 3175 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
| TRUE | evaluated 2 times by 1 test |  | FALSE | evaluated 1 time by 1 test | 
 | 1-3175 | 
| 497 | && !str.startsWith(QLatin1String("@Variant(")) ;| TRUE | evaluated 2 times by 1 test |  | FALSE | never evaluated | 
 | 0-2 | 
| 498 |  | - | 
| 499 | int i; | - | 
| 500 | int startPos = result.size(); | - | 
| 501 |  | - | 
| 502 | result.reserve(startPos + str.size() * 3 / 2); | - | 
| 503 | const QChar *unicode = str.unicode(); | - | 
| 504 | for (i = 0; i < str.size() ; ++i) {| TRUE | evaluated 89650 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 3178 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 3178-89650 | 
| 505 | uint ch = unicode[i].unicode(); | - | 
| 506 | if (ch == ';' || ch == ','| TRUE | evaluated 3 times by 1 test |  | FALSE | evaluated 89647 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
|| ch == '='| TRUE | evaluated 5 times by 1 test |  | FALSE | evaluated 89642 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
)| TRUE | evaluated 3 times by 1 test |  | FALSE | evaluated 89639 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 3-89647 | 
| 507 | needsQuotes = true; executed 11 times by 1 test:  needsQuotes = true; | 11 | 
| 508 |  | - | 
| 509 | if (escapeNextIfDigit | TRUE | evaluated 37254 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 52396 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 37254-52396 | 
| 510 | && ((ch >= '0' && ch <= '9'| TRUE | evaluated 5496 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 31758 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
)| TRUE | evaluated 16 times by 1 test |  | FALSE | evaluated 5480 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 16-31758 | 
| 511 | || (ch >= 'a' && ch <= 'f'| TRUE | evaluated 4895 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 32343 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
)| TRUE | evaluated 824 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 4071 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 824-32343 | 
| 512 | || (ch >= 'A' && ch <= 'F'| TRUE | evaluated 4655 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 31759 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
))) {| TRUE | evaluated 527 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 4128 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 527-31759 | 
| 513 | result += "\\x" + QByteArray::number(ch, 16); | - | 
| 514 | continue; executed 1367 times by 6 tests:  continue;Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 1367 | 
| 515 | } | - | 
| 516 |  | - | 
| 517 | escapeNextIfDigit = false; | - | 
| 518 |  | - | 
| 519 | switch (ch) { | - | 
| 520 | case executed 28726 times by 6 tests'\0'::  case '\0':Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 executed 28726 times by 6 tests:  case '\0':Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 28726 | 
| 521 | result += "\\0"; | - | 
| 522 | escapeNextIfDigit = true; | - | 
| 523 | break; executed 28726 times by 6 tests:  break;Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 28726 | 
| 524 | case executed 3 times by 1 test'\a'::  case '\a': executed 3 times by 1 test:  case '\a': | 3 | 
| 525 | result += "\\a"; | - | 
| 526 | break; executed 3 times by 1 test:  break; | 3 | 
| 527 | case executed 125 times by 1 test'\b'::  case '\b': executed 125 times by 1 test:  case '\b': | 125 | 
| 528 | result += "\\b"; | - | 
| 529 | break; executed 125 times by 1 test:  break; | 125 | 
| 530 | case executed 4 times by 1 test'\f'::  case '\f': executed 4 times by 1 test:  case '\f': | 4 | 
| 531 | result += "\\f"; | - | 
| 532 | break; executed 4 times by 1 test:  break; | 4 | 
| 533 | case executed 229 times by 1 test'\n'::  case '\n': executed 229 times by 1 test:  case '\n': | 229 | 
| 534 | result += "\\n"; | - | 
| 535 | break; executed 229 times by 1 test:  break; | 229 | 
| 536 | case executed 4 times by 1 test'\r'::  case '\r': executed 4 times by 1 test:  case '\r': | 4 | 
| 537 | result += "\\r"; | - | 
| 538 | break; executed 4 times by 1 test:  break; | 4 | 
| 539 | case executed 28 times by 1 test'\t'::  case '\t': executed 28 times by 1 test:  case '\t': | 28 | 
| 540 | result += "\\t"; | - | 
| 541 | break; executed 28 times by 1 test:  break; | 28 | 
| 542 | case executed 8 times by 1 test'\v'::  case '\v': executed 8 times by 1 test:  case '\v': | 8 | 
| 543 | result += "\\v"; | - | 
| 544 | break; executed 8 times by 1 test:  break; | 8 | 
| 545 | case executed 3 times by 1 test'"'::  case '"': executed 3 times by 1 test:  case '"': | 3 | 
| 546 | case executed 4 times by 1 test'\\'::  case '\\': executed 4 times by 1 test:  case '\\': | 4 | 
| 547 | result += '\\'; | - | 
| 548 | result += (char)ch; | - | 
| 549 | break; executed 7 times by 1 test:  break; | 7 | 
| 550 | default executed 59149 times by 6 tests::  default:Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 executed 59149 times by 6 tests:  default:Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 59149 | 
| 551 | if (ch <= 0x1F || (ch >= 0x7F| TRUE | evaluated 3671 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 55478 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
&& !useCodec| TRUE | evaluated 3498 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 51980 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
)) {| TRUE | evaluated 3494 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 4 times by 1 test | 
 | 4-55478 | 
| 552 | result += "\\x" + QByteArray::number(ch, 16); | - | 
| 553 | escapeNextIfDigit = true; | - | 
| 554 |  | - | 
| 555 | } executed 7165 times by 6 testselse if (useCodec:  end of blockExecuted by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 ) {| TRUE | evaluated 26 times by 1 test |  | FALSE | evaluated 51958 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 26-51958 | 
| 556 |  | - | 
| 557 | result += codec->fromUnicode(&unicode[i], 1); | - | 
| 558 |  | - | 
| 559 | } executed 26 times by 1 testelse {:  end of block | 26 | 
| 560 | result += (char)ch; | - | 
| 561 | } executed 51958 times by 6 tests:  end of blockExecuted by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 51958 | 
| 562 | } | - | 
| 563 | } | - | 
| 564 |  | - | 
| 565 | if (needsQuotes | TRUE | evaluated 8 times by 1 test |  | FALSE | evaluated 3170 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 8-3170 | 
| 566 | || (startPos < result.size() && (result.at(startPos) == ' '| TRUE | evaluated 3134 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 36 times by 4 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QSettingstst_languageChange
 | 
| TRUE | evaluated 3 times by 1 test |  | FALSE | evaluated 3131 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 3-3134 | 
| 567 | || result.at(result.size() - 1) == ' ' ))) {| TRUE | evaluated 3 times by 1 test |  | FALSE | evaluated 3128 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 3-3128 | 
| 568 | result.insert(startPos, '"'); | - | 
| 569 | result += '"'; | - | 
| 570 | } executed 14 times by 1 test:  end of block | 14 | 
| 571 | } executed 3178 times by 6 tests:  end of blockExecuted by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 3178 | 
| 572 |  | - | 
| 573 | inline static void iniChopTrailingSpaces(QString &str, int limit) | - | 
| 574 | { | - | 
| 575 | int n = str.size() - 1; | - | 
| 576 | QChar ch; | - | 
| 577 | while (n >= limit && ((| TRUE | evaluated 39027 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 28 times by 3 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettings
 | 
ch = str.at(n)) == QLatin1Char(' ')| TRUE | evaluated 12 times by 1 test |  | FALSE | evaluated 39015 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
|| ch == QLatin1Char('\t')| TRUE | evaluated 12 times by 1 test |  | FALSE | evaluated 39015 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
))| TRUE | never evaluated |  | FALSE | evaluated 39015 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 0-39027 | 
| 578 | str.truncate(n--); executed 12 times by 1 test:  str.truncate(n--); | 12 | 
| 579 | } executed 39043 times by 29 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 39043 | 
| 580 |  | - | 
| 581 | void QSettingsPrivate::iniEscapedStringList(const QStringList &strs, QByteArray &result, QTextCodec *codec) | - | 
| 582 | { | - | 
| 583 | if (strs.isEmpty() ) {| TRUE | evaluated 4 times by 1 test |  | FALSE | evaluated 541 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 4-541 | 
| 584 | result += "@Invalid()"; | - | 
| 585 | } executed 4 times by 1 testelse {:  end of block | 4 | 
| 586 | for (int i = 0; i < strs.size() ; ++i) {| TRUE | evaluated 1119 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 541 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 541-1119 | 
| 587 | if (i != 0 )| TRUE | evaluated 578 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 541 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 541-578 | 
| 588 | result += ", "; executed 578 times by 6 tests:  result += ", ";Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 578 | 
| 589 | iniEscapedString(strs.at(i), result, codec); | - | 
| 590 | } executed 1119 times by 6 tests:  end of blockExecuted by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 1119 | 
| 591 | } executed 541 times by 6 tests:  end of blockExecuted by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 541 | 
| 592 | } | - | 
| 593 |  | - | 
| 594 | bool QSettingsPrivate::iniUnescapedStringList(const QByteArray &str, int from, int to, | - | 
| 595 | QString &stringResult, QStringList &stringListResult, | - | 
| 596 | QTextCodec *codec) | - | 
| 597 | { | - | 
| 598 | static const char escapeCodes[][2] = | - | 
| 599 | { | - | 
| 600 | { 'a', '\a' }, | - | 
| 601 | { 'b', '\b' }, | - | 
| 602 | { 'f', '\f' }, | - | 
| 603 | { 'n', '\n' }, | - | 
| 604 | { 'r', '\r' }, | - | 
| 605 | { 't', '\t' }, | - | 
| 606 | { 'v', '\v' }, | - | 
| 607 | { '"', '"' }, | - | 
| 608 | { '?', '?' }, | - | 
| 609 | { '\'', '\'' }, | - | 
| 610 | { '\\', '\\' } | - | 
| 611 | }; | - | 
| 612 | static const int numEscapeCodes = sizeof(escapeCodes) / sizeof(escapeCodes[0]); | - | 
| 613 |  | - | 
| 614 | bool isStringList = false; | - | 
| 615 | bool inQuotedString = false; | - | 
| 616 | bool currentValueIsQuoted = false; | - | 
| 617 | int escapeVal = 0; | - | 
| 618 | int i = from; | - | 
| 619 | char ch; | - | 
| 620 |  | - | 
| 621 | StSkipSpaces: code before this statement executed 30201 times by 29 tests:  StSkipSpaces:Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 30201 | 
| 622 | while (i < to && ((| TRUE | evaluated 39358 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 20 times by 3 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettings
 | 
ch = str.at(i)) == ' '| TRUE | evaluated 283 times by 5 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QIcontst_QSettingstst_languageChange
 |  | FALSE | evaluated 39075 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
|| ch == '\t'| TRUE | evaluated 283 times by 5 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QIcontst_QSettingstst_languageChange
 |  | FALSE | evaluated 39075 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
))| TRUE | evaluated 2 times by 1 test |  | FALSE | evaluated 39073 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 2-39358 | 
| 623 | ++ executed 285 times by 5 testsi;:  ++i;Executed by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QIcontst_QSettingstst_languageChange
 executed 285 times by 5 tests:  ++i;Executed by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QIcontst_QSettingstst_languageChange
 | 285 | 
| 624 |  | - | 
| 625 |  | - | 
| 626 | StNormal: code before this statement executed 39093 times by 29 tests:  StNormal:Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 39093 | 
| 627 | int chopLimit = stringResult.length(); | - | 
| 628 | while (i < to ) {| TRUE | evaluated 54203 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 30195 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 30195-54203 | 
| 629 | switch (str.at(i)) { | - | 
| 630 | case executed 5581 times by 4 tests'\\'::  case '\\':Executed by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 executed 5581 times by 4 tests:  case '\\':Executed by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 5581 | 
| 631 | ++i; | - | 
| 632 | if (i >= to )| TRUE | evaluated 3 times by 1 test |  | FALSE | evaluated 5578 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 3-5578 | 
| 633 | goto executed 3 times by 1 testend;:  goto end; executed 3 times by 1 test:  goto end; | 3 | 
| 634 |  | - | 
| 635 | ch = str.at(i++); | - | 
| 636 | for (int j = 0; j < numEscapeCodes ; ++j) {| TRUE | evaluated 58744 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 5228 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 5228-58744 | 
| 637 | if (ch == escapeCodes[j][0] ) {| TRUE | evaluated 350 times by 1 test |  | FALSE | evaluated 58394 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 350-58394 | 
| 638 | stringResult += QLatin1Char(escapeCodes[j][1]); | - | 
| 639 | goto executed 350 times by 1 testStNormal;:  goto StNormal; executed 350 times by 1 test:  goto StNormal; | 350 | 
| 640 | } | - | 
| 641 | } executed 58394 times by 4 tests:  end of blockExecuted by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 58394 | 
| 642 |  | - | 
| 643 | if (ch == 'x' ) {| TRUE | evaluated 1686 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 3542 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 1686-3542 | 
| 644 | escapeVal = 0; | - | 
| 645 |  | - | 
| 646 | if (i >= to )| TRUE | never evaluated |  | FALSE | evaluated 1686 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 0-1686 | 
| 647 | goto never executed: end;goto end; never executed: goto end; | 0 | 
| 648 |  | - | 
| 649 | ch = str.at(i); | - | 
| 650 | if ((ch >= '0' && ch <= '9'| TRUE | evaluated 1686 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | never evaluated | 
) || (ch >= 'A'| TRUE | evaluated 1419 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 267 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
&& ch <= 'F'| TRUE | evaluated 267 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | never evaluated | 
) || (ch >= 'a'| TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 266 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
&& ch <= 'f'| TRUE | evaluated 265 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 1 time by 1 test | 
))| TRUE | evaluated 265 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | never evaluated | 
 | 0-1686 | 
| 651 | goto executed 1685 times by 4 testsStHexEscape;:  goto StHexEscape;Executed by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 executed 1685 times by 4 tests:  goto StHexEscape;Executed by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 1685 | 
| 652 | } executed 1 time by 1 testelse if (ch >= '0':  end of block && ch <= '7'| TRUE | evaluated 3527 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 15 times by 1 test | 
) {| TRUE | evaluated 3523 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 4 times by 1 test | 
 | 1-3527 | 
| 653 | escapeVal = ch - '0'; | - | 
| 654 | goto executed 3523 times by 4 testsStOctEscape;:  goto StOctEscape;Executed by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 executed 3523 times by 4 tests:  goto StOctEscape;Executed by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 3523 | 
| 655 | } else if (ch == '\n' || ch == '\r'| TRUE | evaluated 6 times by 1 test |  | FALSE | evaluated 13 times by 1 test | 
) {| TRUE | evaluated 6 times by 1 test |  | FALSE | evaluated 7 times by 1 test | 
 | 6-13 | 
| 656 | if (i < to ) {| TRUE | evaluated 7 times by 1 test |  | FALSE | evaluated 5 times by 1 test | 
 | 5-7 | 
| 657 | char ch2 = str.at(i); | - | 
| 658 |  | - | 
| 659 | if ((ch2 == '\n' || ch2 == '\r'| TRUE | evaluated 3 times by 1 test |  | FALSE | evaluated 4 times by 1 test | 
) && ch2 != ch| TRUE | evaluated 2 times by 1 test |  | FALSE | evaluated 2 times by 1 test | 
)| TRUE | evaluated 5 times by 1 test |  | FALSE | never evaluated | 
 | 0-5 | 
| 660 | ++ executed 5 times by 1 testi;:  ++i; executed 5 times by 1 test:  ++i; | 5 | 
| 661 | } executed 7 times by 1 test:  end of block | 7 | 
| 662 | } executed 12 times by 1 testelse {:  end of block | 12 | 
| 663 |  | - | 
| 664 | } executed 7 times by 1 test:  end of block | 7 | 
| 665 | chopLimit = stringResult.length(); | - | 
| 666 | break; executed 20 times by 1 test:  break; | 20 | 
| 667 | case executed 44 times by 1 test'"'::  case '"': executed 44 times by 1 test:  case '"': | 44 | 
| 668 | ++i; | - | 
| 669 | currentValueIsQuoted = true; | - | 
| 670 | inQuotedString = !inQuotedString; | - | 
| 671 | if (!inQuotedString )| TRUE | evaluated 20 times by 1 test |  | FALSE | evaluated 24 times by 1 test | 
 | 20-24 | 
| 672 | goto executed 20 times by 1 testStSkipSpaces;:  goto StSkipSpaces; executed 20 times by 1 test:  goto StSkipSpaces; | 20 | 
| 673 | break; executed 24 times by 1 test:  break; | 24 | 
| 674 | case executed 8876 times by 28 tests','::  case ',':Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 executed 8876 times by 28 tests:  case ',':Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 8876 | 
| 675 | if (!inQuotedString ) {| TRUE | evaluated 8872 times by 28 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 4 times by 1 test | 
 | 4-8872 | 
| 676 | if (!currentValueIsQuoted )| TRUE | evaluated 8863 times by 28 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 9 times by 1 test | 
 | 9-8863 | 
| 677 | iniChopTrailingSpaces(stringResult, chopLimit); executed 8863 times by 28 tests:  iniChopTrailingSpaces(stringResult, chopLimit);Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 8863 | 
| 678 | if (!isStringList ) {| TRUE | evaluated 82 times by 28 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 8790 times by 28 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 82-8790 | 
| 679 | isStringList = true; | - | 
| 680 | stringListResult.clear(); | - | 
| 681 | stringResult.squeeze(); | - | 
| 682 | } executed 82 times by 28 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 82 | 
| 683 | stringListResult.append(stringResult); | - | 
| 684 | stringResult.clear(); | - | 
| 685 | currentValueIsQuoted = false; | - | 
| 686 | ++i; | - | 
| 687 | goto executed 8872 times by 28 testsStSkipSpaces;:  goto StSkipSpaces;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 executed 8872 times by 28 tests:  goto StSkipSpaces;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 8872 | 
| 688 | } | - | 
| 689 |  | - | 
| 690 | default executed 39706 times by 29 tests::  default:Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 executed 39706 times by 29 tests:  default:Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 code before this statement executed 4 times by 1 test{:  default: | 4-39706 | 
| 691 | int j = i + 1; | - | 
| 692 | while (j < to ) {| TRUE | evaluated 274077 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 30164 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 30164-274077 | 
| 693 | ch = str.at(j); | - | 
| 694 | if (ch == '\\' || ch == '"'| TRUE | evaluated 668 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 273409 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
|| ch == ','| TRUE | evaluated 17 times by 1 test |  | FALSE | evaluated 273392 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
)| TRUE | evaluated 8857 times by 28 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 264535 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 17-273409 | 
| 695 | break; executed 9542 times by 28 tests:  break;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 9542 | 
| 696 | ++j; | - | 
| 697 | } executed 264535 times by 29 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 264535 | 
| 698 |  | - | 
| 699 |  | - | 
| 700 |  | - | 
| 701 |  | - | 
| 702 | if (codec ) {| TRUE | evaluated 4 times by 1 test |  | FALSE | evaluated 39702 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 4-39702 | 
| 703 | stringResult += codec->toUnicode(str.constData() + i, j - i); | - | 
| 704 | } executed 4 times by 1 testelse:  end of block | 4 | 
| 705 |  | - | 
| 706 | { | - | 
| 707 | int n = stringResult.size(); | - | 
| 708 | stringResult.resize(n + (j - i)); | - | 
| 709 | QChar *resultData = stringResult.data() + n; | - | 
| 710 | for (int k = i; k < j ; ++k)| TRUE | evaluated 304205 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 39702 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 39702-304205 | 
| 711 | * executed 304205 times by 29 testsresultData++ = QLatin1Char(str.at(k));:  *resultData++ = QLatin1Char(str.at(k));Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 executed 304205 times by 29 tests:  *resultData++ = QLatin1Char(str.at(k));Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 304205 | 
| 712 | } executed 39702 times by 29 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 39702 | 
| 713 | i = j; | - | 
| 714 | } | - | 
| 715 | } executed 39706 times by 29 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 39706 | 
| 716 | } | - | 
| 717 | if (!currentValueIsQuoted )| TRUE | evaluated 30180 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 15 times by 1 test | 
 | 15-30180 | 
| 718 | iniChopTrailingSpaces(stringResult, chopLimit); executed 30180 times by 29 tests:  iniChopTrailingSpaces(stringResult, chopLimit);Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 30180 | 
| 719 | goto executed 30195 times by 29 testsend;:  goto end;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 executed 30195 times by 29 tests:  goto end;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 30195 | 
| 720 |  | - | 
| 721 | StHexEscape: | - | 
| 722 | if (i >= to ) {| TRUE | evaluated 3 times by 1 test |  | FALSE | evaluated 4346 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 3-4346 | 
| 723 | stringResult += QChar(escapeVal); | - | 
| 724 | goto executed 3 times by 1 testend;:  goto end; executed 3 times by 1 test:  goto end; | 3 | 
| 725 | } | - | 
| 726 |  | - | 
| 727 | ch = str.at(i); | - | 
| 728 | if (ch >= 'a' )| TRUE | evaluated 511 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 3835 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 511-3835 | 
| 729 | ch -= 'a' - 'A'; executed 511 times by 4 tests:  ch -= 'a' - 'A';Executed by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 511 | 
| 730 | if ((ch >= '0' && ch <= '9'| TRUE | evaluated 4241 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 105 times by 3 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettings
 | 
) || (ch >= 'A'| TRUE | evaluated 2148 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 2093 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
&& ch <= 'F'| TRUE | evaluated 2093 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 105 times by 3 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettings
 | 
)) {| TRUE | evaluated 516 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 1577 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 105-4241 | 
| 731 | escapeVal <<= 4; | - | 
| 732 | escapeVal += strchr(hexDigits, ch) - hexDigits; | - | 
| 733 | ++i; | - | 
| 734 | goto executed 2664 times by 4 testsStHexEscape;:  goto StHexEscape;Executed by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 executed 2664 times by 4 tests:  goto StHexEscape;Executed by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 2664 | 
| 735 | } else { | - | 
| 736 | stringResult += QChar(escapeVal); | - | 
| 737 | goto executed 1682 times by 4 testsStNormal;:  goto StNormal;Executed by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 executed 1682 times by 4 tests:  goto StNormal;Executed by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 1682 | 
| 738 | } | - | 
| 739 |  | - | 
| 740 | StOctEscape: | - | 
| 741 | if (i >= to ) {| TRUE | never evaluated |  | FALSE | evaluated 3538 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 0-3538 | 
| 742 | stringResult += QChar(escapeVal); | - | 
| 743 | goto never executed: end;goto end; never executed: goto end; | 0 | 
| 744 | } | - | 
| 745 |  | - | 
| 746 | ch = str.at(i); | - | 
| 747 | if (ch >= '0' && ch <= '7'| TRUE | evaluated 3447 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 91 times by 2 tests Evaluated by:tst_QSettingstst_languageChange
 | 
) {| TRUE | evaluated 15 times by 1 test |  | FALSE | evaluated 3432 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 15-3447 | 
| 748 | escapeVal <<= 3; | - | 
| 749 | escapeVal += ch - '0'; | - | 
| 750 | ++i; | - | 
| 751 | goto executed 15 times by 1 testStOctEscape;:  goto StOctEscape; executed 15 times by 1 test:  goto StOctEscape; | 15 | 
| 752 | } else { | - | 
| 753 | stringResult += QChar(escapeVal); | - | 
| 754 | goto executed 3523 times by 4 testsStNormal;:  goto StNormal;Executed by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 executed 3523 times by 4 tests:  goto StNormal;Executed by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 3523 | 
| 755 | } | - | 
| 756 |  | - | 
| 757 | end: | - | 
| 758 | if (isStringList )| TRUE | evaluated 82 times by 28 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 30119 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 82-30119 | 
| 759 | stringListResult.append(stringResult); executed 82 times by 28 tests:  stringListResult.append(stringResult);Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 82 | 
| 760 | return executed 30201 times by 29 testsisStringList;:  return isStringList;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 executed 30201 times by 29 tests:  return isStringList;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 30201 | 
| 761 | } | - | 
| 762 |  | - | 
| 763 | QStringList QSettingsPrivate::splitArgs(const QString &s, int idx) | - | 
| 764 | { | - | 
| 765 | int l = s.length(); | - | 
| 766 | ((!(l > 0)) ? qt_assert("l > 0",__FILE__,898) : qt_noop()); | - | 
| 767 | ((!(s.at(idx) == QLatin1Char('('))) ? qt_assert("s.at(idx) == QLatin1Char('(')",__FILE__,899) : qt_noop()); | - | 
| 768 | ((!(s.at(l - 1) == QLatin1Char(')'))) ? qt_assert("s.at(l - 1) == QLatin1Char(')')",__FILE__,900) : qt_noop()); | - | 
| 769 |  | - | 
| 770 | QStringList result; | - | 
| 771 | QString item; | - | 
| 772 |  | - | 
| 773 | for (++idx; idx < l ; ++idx) {| TRUE | evaluated 711 times by 1 test |  | FALSE | evaluated 125 times by 1 test | 
 | 125-711 | 
| 774 | QChar c = s.at(idx); | - | 
| 775 | if (c == QLatin1Char(')') ) {| TRUE | evaluated 125 times by 1 test |  | FALSE | evaluated 586 times by 1 test | 
 | 125-586 | 
| 776 | ((!(idx == l - 1)) ? qt_assert("idx == l - 1",__FILE__,908) : qt_noop()); | - | 
| 777 | result.append(item); | - | 
| 778 | } executed 125 times by 1 testelse if (c == QLatin1Char(' '):  end of block ) {| TRUE | evaluated 211 times by 1 test |  | FALSE | evaluated 375 times by 1 test | 
 | 125-375 | 
| 779 | result.append(item); | - | 
| 780 | item.clear(); | - | 
| 781 | } executed 211 times by 1 testelse {:  end of block | 211 | 
| 782 | item.append(c); | - | 
| 783 | } executed 375 times by 1 test:  end of block | 375 | 
| 784 | } | - | 
| 785 |  | - | 
| 786 | return executed 125 times by 1 testresult;:  return result; executed 125 times by 1 test:  return result; | 125 | 
| 787 | } | - | 
| 788 |  | - | 
| 789 |  | - | 
| 790 |  | - | 
| 791 |  | - | 
| 792 | void QConfFileSettingsPrivate::initFormat() | - | 
| 793 | { | - | 
| 794 | extension = ( format == QSettings::NativeFormat)| TRUE | evaluated 1179 times by 7 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_QTextFormattst_languageChange
 |  | FALSE | evaluated 497 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QToolButton...
 | 
? QLatin1String(".conf") : QLatin1String(".ini");| TRUE | evaluated 1179 times by 7 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_QTextFormattst_languageChange
 |  | FALSE | evaluated 497 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QToolButton...
 | 
 | 497-1179 | 
| 795 | readFunc = 0; | - | 
| 796 | writeFunc = 0; | - | 
| 797 |  | - | 
| 798 |  | - | 
| 799 |  | - | 
| 800 | caseSensitivity = IniCaseSensitivity; | - | 
| 801 |  | - | 
| 802 |  | - | 
| 803 | if (format > QSettings::IniFormat ) {| TRUE | evaluated 176 times by 1 test |  | FALSE | evaluated 1500 times by 31 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 176-1500 | 
| 804 | QMutexLocker locker(&settingsGlobalMutex); | - | 
| 805 | const CustomFormatVector *customFormatVector = customFormatVectorFunc(); | - | 
| 806 |  | - | 
| 807 | int i = (int)format - (int)QSettings::CustomFormat1; | - | 
| 808 | if (i >= 0 && i < customFormatVector->size()| TRUE | evaluated 176 times by 1 test |  | FALSE | never evaluated | 
) {| TRUE | evaluated 175 times by 1 test |  | FALSE | evaluated 1 time by 1 test | 
 | 0-176 | 
| 809 | QConfFileCustomFormat info = customFormatVector->at(i); | - | 
| 810 | extension = info.extension; | - | 
| 811 | readFunc = info.readFunc; | - | 
| 812 | writeFunc = info.writeFunc; | - | 
| 813 | caseSensitivity = info.caseSensitivity; | - | 
| 814 | } executed 175 times by 1 test:  end of block | 175 | 
| 815 | } executed 176 times by 1 test:  end of block | 176 | 
| 816 | } executed 1676 times by 31 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 1676 | 
| 817 |  | - | 
| 818 | void QConfFileSettingsPrivate::initAccess() | - | 
| 819 | { | - | 
| 820 | if (confFiles[spec] ) {| TRUE | evaluated 1676 times by 31 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | never evaluated | 
 | 0-1676 | 
| 821 | if (format > QSettings::IniFormat ) {| TRUE | evaluated 176 times by 1 test |  | FALSE | evaluated 1500 times by 31 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 176-1500 | 
| 822 | if (!readFunc )| TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 175 times by 1 test | 
 | 1-175 | 
| 823 | setStatus(QSettings::AccessError); executed 1 time by 1 test:  setStatus(QSettings::AccessError); | 1 | 
| 824 | } executed 176 times by 1 test:  end of block | 176 | 
| 825 | } executed 1676 times by 31 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 1676 | 
| 826 |  | - | 
| 827 | sync(); | - | 
| 828 | } executed 1676 times by 31 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 1676 | 
| 829 | static inline int pathHashKey(QSettings::Format format, QSettings::Scope scope) | - | 
| 830 | { | - | 
| 831 | return executed 3453 times by 7 testsint((uint(format) << 1) | uint(scope == QSettings::SystemScope));:  return int((uint(format) << 1) | uint(scope == QSettings::SystemScope));Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_QTextFormattst_languageChange
 executed 3453 times by 7 tests:  return int((uint(format) << 1) | uint(scope == QSettings::SystemScope));Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_QTextFormattst_languageChange
 | 3453 | 
| 832 | } | - | 
| 833 |  | - | 
| 834 |  | - | 
| 835 | static QString make_user_path() | - | 
| 836 | { | - | 
| 837 | static constexpr QChar sep = QLatin1Char('/'); | - | 
| 838 | return executed 7 times by 7 testsQStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation) + sep;:  return QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation) + sep;Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_QTextFormattst_languageChange
 executed 7 times by 7 tests:  return QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation) + sep;Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_QTextFormattst_languageChange
 | 7 | 
| 839 |  | - | 
| 840 | } | - | 
| 841 |  | - | 
| 842 |  | - | 
| 843 | static void initDefaultPaths(QMutexLocker *locker) | - | 
| 844 | { | - | 
| 845 | PathHash *pathHash = pathHashFunc(); | - | 
| 846 |  | - | 
| 847 | locker->unlock(); | - | 
| 848 |  | - | 
| 849 |  | - | 
| 850 |  | - | 
| 851 |  | - | 
| 852 |  | - | 
| 853 |  | - | 
| 854 | QString systemPath = QLibraryInfo::location(QLibraryInfo::SettingsPath) + QLatin1Char('/'); | - | 
| 855 |  | - | 
| 856 | locker->relock(); | - | 
| 857 | if (pathHash->isEmpty() ) {| TRUE | evaluated 7 times by 7 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_QTextFormattst_languageChange
 |  | FALSE | never evaluated | 
 | 0-7 | 
| 858 | const QString userPath = make_user_path(); | - | 
| 859 | pathHash->insert(pathHashKey(QSettings::IniFormat, QSettings::UserScope), userPath); | - | 
| 860 | pathHash->insert(pathHashKey(QSettings::IniFormat, QSettings::SystemScope), systemPath); | - | 
| 861 |  | - | 
| 862 | pathHash->insert(pathHashKey(QSettings::NativeFormat, QSettings::UserScope), userPath); | - | 
| 863 | pathHash->insert(pathHashKey(QSettings::NativeFormat, QSettings::SystemScope), systemPath); | - | 
| 864 |  | - | 
| 865 |  | - | 
| 866 | } executed 7 times by 7 tests:  end of blockExecuted by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_QTextFormattst_languageChange
 | 7 | 
| 867 | } executed 7 times by 7 tests:  end of blockExecuted by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_QTextFormattst_languageChange
 | 7 | 
| 868 |  | - | 
| 869 | static QString getPath(QSettings::Format format, QSettings::Scope scope) | - | 
| 870 | { | - | 
| 871 | ((!((int)QSettings::NativeFormat == 0)) ? qt_assert("(int)QSettings::NativeFormat == 0",__FILE__,1099) : qt_noop()); | - | 
| 872 | ((!((int)QSettings::IniFormat == 1)) ? qt_assert("(int)QSettings::IniFormat == 1",__FILE__,1100) : qt_noop()); | - | 
| 873 |  | - | 
| 874 | QMutexLocker locker(&settingsGlobalMutex); | - | 
| 875 | PathHash *pathHash = pathHashFunc(); | - | 
| 876 | if (pathHash->isEmpty() )| TRUE | evaluated 6 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QTextFormattst_languageChange
 |  | FALSE | evaluated 2743 times by 7 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_QTextFormattst_languageChange
 | 
 | 6-2743 | 
| 877 | initDefaultPaths(&locker); executed 6 times by 6 tests:  initDefaultPaths(&locker);Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QTextFormattst_languageChange
 | 6 | 
| 878 |  | - | 
| 879 | QString result = pathHash->value(pathHashKey(format, scope)); | - | 
| 880 | if (!result.isEmpty() )| TRUE | evaluated 2641 times by 7 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_QTextFormattst_languageChange
 |  | FALSE | evaluated 108 times by 1 test | 
 | 108-2641 | 
| 881 | return executed 2641 times by 7 testsresult;:  return result;Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_QTextFormattst_languageChange
 executed 2641 times by 7 tests:  return result;Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_QTextFormattst_languageChange
 | 2641 | 
| 882 |  | - | 
| 883 |  | - | 
| 884 | return executed 108 times by 1 testpathHash->value(pathHashKey(QSettings::IniFormat, scope));:  return pathHash->value(pathHashKey(QSettings::IniFormat, scope)); executed 108 times by 1 test:  return pathHash->value(pathHashKey(QSettings::IniFormat, scope)); | 108 | 
| 885 | } | - | 
| 886 |  | - | 
| 887 | QConfFileSettingsPrivate::QConfFileSettingsPrivate(QSettings::Format format, | - | 
| 888 | QSettings::Scope scope, | - | 
| 889 | const QString &organization, | - | 
| 890 | const QString &application) | - | 
| 891 | : QSettingsPrivate(format, scope, organization, application), | - | 
| 892 | nextPosition(0x40000000) | - | 
| 893 | { | - | 
| 894 | int i; | - | 
| 895 | initFormat(); | - | 
| 896 |  | - | 
| 897 | QString org = organization; | - | 
| 898 | if (org.isEmpty() ) {| TRUE | evaluated 8 times by 1 test |  | FALSE | evaluated 1420 times by 7 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_QTextFormattst_languageChange
 | 
 | 8-1420 | 
| 899 | setStatus(QSettings::AccessError); | - | 
| 900 | org = QLatin1String("Unknown Organization"); | - | 
| 901 | } executed 8 times by 1 test:  end of block | 8 | 
| 902 |  | - | 
| 903 | QString appFile = org + QDir::separator() + application + extension; | - | 
| 904 | QString orgFile = org + extension; | - | 
| 905 |  | - | 
| 906 | if (scope == QSettings::UserScope ) {| TRUE | evaluated 1321 times by 7 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_QTextFormattst_languageChange
 |  | FALSE | evaluated 107 times by 1 test | 
 | 107-1321 | 
| 907 | QString userPath = getPath(format, QSettings::UserScope); | - | 
| 908 | if (!application.isEmpty() )| TRUE | evaluated 256 times by 2 tests Evaluated by:tst_QSettingstst_QTextFormat
 |  | FALSE | evaluated 1065 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 256-1065 | 
| 909 | confFiles[F_User | F_Application].reset(QConfFile::fromName(userPath + appFile, true)); executed 256 times by 2 tests:  confFiles[F_User | F_Application].reset(QConfFile::fromName(userPath + appFile, true));Executed by:tst_QSettingstst_QTextFormat
 | 256 | 
| 910 | confFiles[F_User | F_Organization].reset(QConfFile::fromName(userPath + orgFile, true)); | - | 
| 911 | } executed 1321 times by 7 tests:  end of blockExecuted by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_QTextFormattst_languageChange
 | 1321 | 
| 912 |  | - | 
| 913 | QString systemPath = getPath(format, QSettings::SystemScope); | - | 
| 914 | if (!application.isEmpty() )| TRUE | evaluated 298 times by 2 tests Evaluated by:tst_QSettingstst_QTextFormat
 |  | FALSE | evaluated 1130 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 298-1130 | 
| 915 | confFiles[F_System | F_Application].reset(QConfFile::fromName(systemPath + appFile, false)); executed 298 times by 2 tests:  confFiles[F_System | F_Application].reset(QConfFile::fromName(systemPath + appFile, false));Executed by:tst_QSettingstst_QTextFormat
 | 298 | 
| 916 | confFiles[F_System | F_Organization].reset(QConfFile::fromName(systemPath + orgFile, false)); | - | 
| 917 |  | - | 
| 918 | for (i = 0; i < NumConfFiles ; ++i) {| TRUE | evaluated 2772 times by 7 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_QTextFormattst_languageChange
 |  | FALSE | never evaluated | 
 | 0-2772 | 
| 919 | if (confFiles[i] ) {| TRUE | evaluated 1428 times by 7 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_QTextFormattst_languageChange
 |  | FALSE | evaluated 1344 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 1344-1428 | 
| 920 | spec = i; | - | 
| 921 | break; executed 1428 times by 7 tests:  break;Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_QTextFormattst_languageChange
 | 1428 | 
| 922 | } | - | 
| 923 | } executed 1344 times by 6 tests:  end of blockExecuted by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 1344 | 
| 924 |  | - | 
| 925 | initAccess(); | - | 
| 926 | } executed 1428 times by 7 tests:  end of blockExecuted by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_QTextFormattst_languageChange
 | 1428 | 
| 927 |  | - | 
| 928 | QConfFileSettingsPrivate::QConfFileSettingsPrivate(const QString &fileName, | - | 
| 929 | QSettings::Format format) | - | 
| 930 | : QSettingsPrivate(format), | - | 
| 931 | nextPosition(0x40000000) | - | 
| 932 | { | - | 
| 933 | initFormat(); | - | 
| 934 |  | - | 
| 935 | confFiles[0].reset(QConfFile::fromName(fileName, true)); | - | 
| 936 |  | - | 
| 937 | initAccess(); | - | 
| 938 | } executed 248 times by 29 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QToolButton...
 | 248 | 
| 939 |  | - | 
| 940 | QConfFileSettingsPrivate::~QConfFileSettingsPrivate() | - | 
| 941 | { | - | 
| 942 | QMutexLocker locker(&settingsGlobalMutex); | - | 
| 943 | ConfFileHash *usedHash = usedHashFunc(); | - | 
| 944 | ConfFileCache *unusedCache = unusedCacheFunc(); | - | 
| 945 |  | - | 
| 946 | for (int i = 0; i < NumConfFiles ; ++i) {| TRUE | evaluated 6704 times by 31 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 1676 times by 31 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 1676-6704 | 
| 947 | if (confFiles[i] && !confFiles[i]->ref.deref() ) {| TRUE | evaluated 3336 times by 31 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 215 times by 1 test | 
 | 215-3336 | 
| 948 | if (confFiles[i]->size == 0 ) {| TRUE | evaluated 2282 times by 7 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_QTextFormattst_languageChange
 |  | FALSE | evaluated 1054 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 1054-2282 | 
| 949 | delete confFiles[i].take(); | - | 
| 950 | } executed 2282 times by 7 testselse {:  end of blockExecuted by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_QTextFormattst_languageChange
 | 2282 | 
| 951 | if (usedHash )| TRUE | evaluated 1054 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | never evaluated | 
 | 0-1054 | 
| 952 | usedHash->remove(confFiles[i]->name); executed 1054 times by 30 tests:  usedHash->remove(confFiles[i]->name);Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 1054 | 
| 953 | if (unusedCache ) {| TRUE | evaluated 1054 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | never evaluated | 
 | 0-1054 | 
| 954 | try { | - | 
| 955 |  | - | 
| 956 | unusedCache->insert(confFiles[i]->name, confFiles[i].data(), | - | 
| 957 | 10 + (confFiles[i]->originalKeys.size() / 4)); | - | 
| 958 | confFiles[i].take(); | - | 
| 959 | } executed 1054 times by 30 testscatch (...) {:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 1054 | 
| 960 |  | - | 
| 961 | delete confFiles[i].take(); | - | 
| 962 | } never executed: end of block | 0 | 
| 963 | } else { | - | 
| 964 |  | - | 
| 965 | delete confFiles[i].take(); | - | 
| 966 | } never executed: end of block | 0 | 
| 967 | } | - | 
| 968 | } | - | 
| 969 |  | - | 
| 970 | confFiles[i].take(); | - | 
| 971 | } executed 6704 times by 31 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 6704 | 
| 972 | } executed 1676 times by 31 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 1676 | 
| 973 |  | - | 
| 974 | void QConfFileSettingsPrivate::remove(const QString &key) | - | 
| 975 | { | - | 
| 976 | QConfFile *confFile = confFiles[spec].data(); | - | 
| 977 | if (!confFile )| TRUE | never evaluated |  | FALSE | evaluated 263 times by 3 tests Evaluated by:tst_QFileDialog2tst_QFiledialogtst_QSettings
 | 
 | 0-263 | 
| 978 | return; never executed: return; | 0 | 
| 979 |  | - | 
| 980 | QSettingsKey theKey(key, caseSensitivity); | - | 
| 981 | QSettingsKey prefix(key + QLatin1Char('/'), caseSensitivity); | - | 
| 982 | QMutexLocker locker(&confFile->mutex); | - | 
| 983 |  | - | 
| 984 | ensureSectionParsed(confFile, theKey); | - | 
| 985 | ensureSectionParsed(confFile, prefix); | - | 
| 986 |  | - | 
| 987 | ParsedSettingsMap::iterator i = confFile->addedKeys.lowerBound(prefix); | - | 
| 988 | while (i != confFile->addedKeys.end() && i.key().startsWith(prefix)| TRUE | evaluated 25 times by 1 test |  | FALSE | evaluated 250 times by 3 tests Evaluated by:tst_QFileDialog2tst_QFiledialogtst_QSettings
 | 
)| TRUE | evaluated 12 times by 1 test |  | FALSE | evaluated 13 times by 1 test | 
 | 12-250 | 
| 989 | i = confFile->addedKeys.erase(i); executed 12 times by 1 test:  i = confFile->addedKeys.erase(i); | 12 | 
| 990 | confFile->addedKeys.remove(theKey); | - | 
| 991 |  | - | 
| 992 | ParsedSettingsMap::const_iterator j = const_cast<const ParsedSettingsMap *>(&confFile->originalKeys)->lowerBound(prefix); | - | 
| 993 | while (j != confFile->originalKeys.constEnd() && j.key().startsWith(prefix)| TRUE | evaluated 767 times by 3 tests Evaluated by:tst_QFileDialog2tst_QFiledialogtst_QSettings
 |  | FALSE | evaluated 247 times by 3 tests Evaluated by:tst_QFileDialog2tst_QFiledialogtst_QSettings
 | 
) {| TRUE | evaluated 751 times by 3 tests Evaluated by:tst_QFileDialog2tst_QFiledialogtst_QSettings
 |  | FALSE | evaluated 16 times by 1 test | 
 | 16-767 | 
| 994 | confFile->removedKeys.insert(j.key(), QVariant()); | - | 
| 995 | ++j; | - | 
| 996 | } executed 751 times by 3 tests:  end of blockExecuted by:tst_QFileDialog2tst_QFiledialogtst_QSettings
 | 751 | 
| 997 | if (confFile->originalKeys.contains(theKey) )| TRUE | evaluated 5 times by 1 test |  | FALSE | evaluated 258 times by 3 tests Evaluated by:tst_QFileDialog2tst_QFiledialogtst_QSettings
 | 
 | 5-258 | 
| 998 | confFile->removedKeys.insert(theKey, QVariant()); executed 5 times by 1 test:  confFile->removedKeys.insert(theKey, QVariant()); | 5 | 
| 999 | } executed 263 times by 3 tests:  end of blockExecuted by:tst_QFileDialog2tst_QFiledialogtst_QSettings
 | 263 | 
| 1000 |  | - | 
| 1001 | void QConfFileSettingsPrivate::set(const QString &key, const QVariant &value) | - | 
| 1002 | { | - | 
| 1003 | QConfFile *confFile = confFiles[spec].data(); | - | 
| 1004 | if (!confFile )| TRUE | never evaluated |  | FALSE | evaluated 2444 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 0-2444 | 
| 1005 | return; never executed: return; | 0 | 
| 1006 |  | - | 
| 1007 | QSettingsKey theKey(key, caseSensitivity, nextPosition++); | - | 
| 1008 | QMutexLocker locker(&confFile->mutex); | - | 
| 1009 | confFile->removedKeys.remove(theKey); | - | 
| 1010 | confFile->addedKeys.insert(theKey, value); | - | 
| 1011 | } executed 2444 times by 6 tests:  end of blockExecuted by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 2444 | 
| 1012 |  | - | 
| 1013 | bool QConfFileSettingsPrivate::get(const QString &key, QVariant *value) const | - | 
| 1014 | { | - | 
| 1015 | QSettingsKey theKey(key, caseSensitivity); | - | 
| 1016 | ParsedSettingsMap::const_iterator j; | - | 
| 1017 | bool found = false; | - | 
| 1018 |  | - | 
| 1019 | for (int i = 0; i < NumConfFiles ; ++i) {| TRUE | evaluated 117684 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 23081 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QTextFormat...
 | 
 | 23081-117684 | 
| 1020 | if (QConfFile *confFile = confFiles[i].data() ) {| TRUE | evaluated 47110 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 70574 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 47110-70574 | 
| 1021 | QMutexLocker locker(&confFile->mutex); | - | 
| 1022 |  | - | 
| 1023 | if (!confFile->addedKeys.isEmpty() ) {| TRUE | evaluated 723 times by 1 test |  | FALSE | evaluated 46387 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 723-46387 | 
| 1024 | j = confFile->addedKeys.constFind(theKey); | - | 
| 1025 | found = (j != confFile->addedKeys.constEnd()); | - | 
| 1026 | } executed 723 times by 1 test:  end of block | 723 | 
| 1027 | if (!found ) {| TRUE | evaluated 46509 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 601 times by 1 test | 
 | 601-46509 | 
| 1028 | ensureSectionParsed(confFile, theKey); | - | 
| 1029 | j = confFile->originalKeys.constFind(theKey); | - | 
| 1030 | found = (j != confFile->originalKeys.constEnd() | TRUE | evaluated 22818 times by 28 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 23691 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QTextFormat...
 | 
 | 22818-23691 | 
| 1031 | && !confFile->removedKeys.contains(theKey) );| TRUE | evaluated 22813 times by 28 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 5 times by 1 test | 
 | 5-22813 | 
| 1032 | } executed 46509 times by 30 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 46509 | 
| 1033 |  | - | 
| 1034 | if (found && value| TRUE | evaluated 23414 times by 28 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 23696 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QTextFormat...
 | 
)| TRUE | evaluated 23295 times by 28 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 119 times by 1 test | 
 | 119-23696 | 
| 1035 | * executed 23295 times by 28 testsvalue = *j;:  *value = *j;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 executed 23295 times by 28 tests:  *value = *j;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 23295 | 
| 1036 |  | - | 
| 1037 | if (found )| TRUE | evaluated 23414 times by 28 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 23696 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QTextFormat...
 | 
 | 23414-23696 | 
| 1038 | return executed 23414 times by 28 teststrue;:  return true;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 executed 23414 times by 28 tests:  return true;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 23414 | 
| 1039 | if (!fallbacks )| TRUE | evaluated 24 times by 1 test |  | FALSE | evaluated 23672 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QTextFormat...
 | 
 | 24-23672 | 
| 1040 | break; executed 24 times by 1 test:  break; | 24 | 
| 1041 | } executed 23672 times by 29 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QTextFormat...
 | 23672 | 
| 1042 | } executed 94246 times by 30 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 94246 | 
| 1043 | return executed 23105 times by 29 testsfalse;:  return false;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QTextFormat...
 executed 23105 times by 29 tests:  return false;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QTextFormat...
 | 23105 | 
| 1044 | } | - | 
| 1045 |  | - | 
| 1046 | QStringList QConfFileSettingsPrivate::children(const QString &prefix, ChildSpec spec) const | - | 
| 1047 | { | - | 
| 1048 | QStringList result; | - | 
| 1049 | ParsedSettingsMap::const_iterator j; | - | 
| 1050 |  | - | 
| 1051 | QSettingsKey thePrefix(prefix, caseSensitivity); | - | 
| 1052 | int startPos = prefix.size(); | - | 
| 1053 |  | - | 
| 1054 | for (int i = 0; i < NumConfFiles ; ++i) {| TRUE | evaluated 4144 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QToolButton...
 |  | FALSE | evaluated 764 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QToolButton...
 | 
 | 764-4144 | 
| 1055 | if (QConfFile *confFile = confFiles[i].data() ) {| TRUE | evaluated 1805 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QToolButton...
 |  | FALSE | evaluated 2339 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QToolButton...
 | 
 | 1805-2339 | 
| 1056 | QMutexLocker locker(&confFile->mutex); | - | 
| 1057 |  | - | 
| 1058 | if (thePrefix.isEmpty() ) {| TRUE | evaluated 1321 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QToolButton...
 |  | FALSE | evaluated 484 times by 1 test | 
 | 484-1321 | 
| 1059 | ensureAllSectionsParsed(confFile); | - | 
| 1060 | } executed 1321 times by 29 testselse {:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QToolButton...
 | 1321 | 
| 1061 | ensureSectionParsed(confFile, thePrefix); | - | 
| 1062 | } executed 484 times by 1 test:  end of block | 484 | 
| 1063 |  | - | 
| 1064 | j = const_cast<const ParsedSettingsMap *>( | - | 
| 1065 | &confFile->originalKeys)->lowerBound( thePrefix); | - | 
| 1066 | while (j != confFile->originalKeys.constEnd() && j.key().startsWith(thePrefix)| TRUE | evaluated 33448 times by 28 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QToolButton...
 |  | FALSE | evaluated 1649 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QToolButton...
 | 
) {| TRUE | evaluated 33292 times by 28 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QToolButton...
 |  | FALSE | evaluated 156 times by 1 test | 
 | 156-33448 | 
| 1067 | if (!confFile->removedKeys.contains(j.key()) )| TRUE | evaluated 33286 times by 28 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QToolButton...
 |  | FALSE | evaluated 6 times by 1 test | 
 | 6-33286 | 
| 1068 | processChild(j.key().originalCaseKey().midRef(startPos), spec, result); executed 33286 times by 28 tests:  processChild(j.key().originalCaseKey().midRef(startPos), spec, result);Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QToolButton...
 | 33286 | 
| 1069 | ++j; | - | 
| 1070 | } executed 33292 times by 28 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QToolButton...
 | 33292 | 
| 1071 |  | - | 
| 1072 | j = const_cast<const ParsedSettingsMap *>( | - | 
| 1073 | &confFile->addedKeys)->lowerBound(thePrefix); | - | 
| 1074 | while (j != confFile->addedKeys.constEnd() && j.key().startsWith(thePrefix)| TRUE | evaluated 404 times by 1 test |  | FALSE | evaluated 1768 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QToolButton...
 | 
) {| TRUE | evaluated 367 times by 1 test |  | FALSE | evaluated 37 times by 1 test | 
 | 37-1768 | 
| 1075 | processChild(j.key().originalCaseKey().midRef(startPos), spec, result); | - | 
| 1076 | ++j; | - | 
| 1077 | } executed 367 times by 1 test:  end of block | 367 | 
| 1078 |  | - | 
| 1079 | if (!fallbacks )| TRUE | evaluated 292 times by 1 test |  | FALSE | evaluated 1513 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QToolButton...
 | 
 | 292-1513 | 
| 1080 | break; executed 292 times by 1 test:  break; | 292 | 
| 1081 | } executed 1513 times by 29 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QToolButton...
 | 1513 | 
| 1082 | } executed 3852 times by 29 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QToolButton...
 | 3852 | 
| 1083 | std::sort(result.begin(), result.end()); | - | 
| 1084 | result.erase(std::unique(result.begin(), result.end()), | - | 
| 1085 | result.end()); | - | 
| 1086 | return executed 1056 times by 29 testsresult;:  return result;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QToolButton...
 executed 1056 times by 29 tests:  return result;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QToolButton...
 | 1056 | 
| 1087 | } | - | 
| 1088 |  | - | 
| 1089 | void QConfFileSettingsPrivate::clear() | - | 
| 1090 | { | - | 
| 1091 | QConfFile *confFile = confFiles[spec].data(); | - | 
| 1092 | if (!confFile )| TRUE | never evaluated |  | FALSE | evaluated 16 times by 1 test | 
 | 0-16 | 
| 1093 | return; never executed: return; | 0 | 
| 1094 |  | - | 
| 1095 | QMutexLocker locker(&confFile->mutex); | - | 
| 1096 | ensureAllSectionsParsed(confFile); | - | 
| 1097 | confFile->addedKeys.clear(); | - | 
| 1098 | confFile->removedKeys = confFile->originalKeys; | - | 
| 1099 | } executed 16 times by 1 test:  end of block | 16 | 
| 1100 |  | - | 
| 1101 | void QConfFileSettingsPrivate::sync() | - | 
| 1102 | { | - | 
| 1103 |  | - | 
| 1104 |  | - | 
| 1105 |  | - | 
| 1106 | for (int i = 0; i < NumConfFiles ; ++i) {| TRUE | evaluated 9228 times by 31 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 2307 times by 31 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 2307-9228 | 
| 1107 | QConfFile *confFile = confFiles[i].data(); | - | 
| 1108 | if (confFile ) {| TRUE | evaluated 5102 times by 31 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 4126 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 4126-5102 | 
| 1109 | QMutexLocker locker(&confFile->mutex); | - | 
| 1110 | syncConfFile(i); | - | 
| 1111 | } executed 5102 times by 31 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 5102 | 
| 1112 | } executed 9228 times by 31 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 9228 | 
| 1113 | } executed 2307 times by 31 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 2307 | 
| 1114 |  | - | 
| 1115 | void QConfFileSettingsPrivate::flush() | - | 
| 1116 | { | - | 
| 1117 | sync(); | - | 
| 1118 | } executed 567 times by 6 tests:  end of blockExecuted by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 567 | 
| 1119 |  | - | 
| 1120 | QString QConfFileSettingsPrivate::fileName() const | - | 
| 1121 | { | - | 
| 1122 | QConfFile *confFile = confFiles[spec].data(); | - | 
| 1123 | if (!confFile )| TRUE | never evaluated |  | FALSE | evaluated 27 times by 1 test | 
 | 0-27 | 
| 1124 | return never executed: QString();return QString(); never executed: return QString(); | 0 | 
| 1125 | return executed 27 times by 1 testconfFile->name;:  return confFile->name; executed 27 times by 1 test:  return confFile->name; | 27 | 
| 1126 | } | - | 
| 1127 |  | - | 
| 1128 | bool QConfFileSettingsPrivate::isWritable() const | - | 
| 1129 | { | - | 
| 1130 | if (format > QSettings::IniFormat && !writeFunc| TRUE | evaluated 12 times by 1 test |  | FALSE | evaluated 9 times by 1 test | 
)| TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 11 times by 1 test | 
 | 1-12 | 
| 1131 | return executed 1 time by 1 testfalse;:  return false; executed 1 time by 1 test:  return false; | 1 | 
| 1132 |  | - | 
| 1133 | QConfFile *confFile = confFiles[spec].data(); | - | 
| 1134 | if (!confFile )| TRUE | never evaluated |  | FALSE | evaluated 20 times by 1 test | 
 | 0-20 | 
| 1135 | return never executed: false;return false; never executed: return false; | 0 | 
| 1136 |  | - | 
| 1137 | return executed 20 times by 1 testconfFile->isWritable();:  return confFile->isWritable(); executed 20 times by 1 test:  return confFile->isWritable(); | 20 | 
| 1138 | } | - | 
| 1139 |  | - | 
| 1140 | void QConfFileSettingsPrivate::syncConfFile(int confFileNo) | - | 
| 1141 | { | - | 
| 1142 | QConfFile *confFile = confFiles[confFileNo].data(); | - | 
| 1143 | bool readOnly = confFile->addedKeys.isEmpty() && confFile->removedKeys.isEmpty()| TRUE | evaluated 4646 times by 31 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 456 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
;| TRUE | evaluated 4535 times by 31 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 111 times by 3 tests Evaluated by:tst_QFileDialog2tst_QFiledialogtst_QSettings
 | 
 | 111-4646 | 
| 1144 | bool ok; | - | 
| 1145 |  | - | 
| 1146 |  | - | 
| 1147 |  | - | 
| 1148 |  | - | 
| 1149 |  | - | 
| 1150 | if (readOnly && confFile->size > 0| TRUE | evaluated 4535 times by 31 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 567 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
) {| TRUE | evaluated 828 times by 7 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QSettingstst_languageChange
 |  | FALSE | evaluated 3707 times by 31 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 567-4535 | 
| 1151 | QFileInfo fileInfo(confFile->name); | - | 
| 1152 | if (confFile->size == fileInfo.size() && confFile->timeStamp == fileInfo.lastModified()| TRUE | evaluated 783 times by 7 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QSettingstst_languageChange
 |  | FALSE | evaluated 45 times by 1 test | 
)| TRUE | evaluated 783 times by 7 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QSettingstst_languageChange
 |  | FALSE | never evaluated | 
 | 0-783 | 
| 1153 | return; executed 783 times by 7 tests:  return;Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QSettingstst_languageChange
 | 783 | 
| 1154 | } executed 45 times by 1 test:  end of block | 45 | 
| 1155 | QLockFile lockFile(confFile->name + QLatin1String(".lock")); | - | 
| 1156 |  | - | 
| 1157 | if (!readOnly ) {| TRUE | evaluated 567 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 3752 times by 31 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 567-3752 | 
| 1158 | if (!confFile->isWritable() | TRUE | evaluated 2 times by 1 test |  | FALSE | evaluated 565 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 2-565 | 
| 1159 |  | - | 
| 1160 | || !lockFile.lock() | TRUE | never evaluated |  | FALSE | evaluated 565 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 0-565 | 
| 1161 |  | - | 
| 1162 | ) { | - | 
| 1163 | setStatus(QSettings::AccessError); | - | 
| 1164 | return; executed 2 times by 1 test:  return; | 2 | 
| 1165 | } | - | 
| 1166 | } executed 565 times by 6 tests:  end of blockExecuted by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 565 | 
| 1167 |  | - | 
| 1168 |  | - | 
| 1169 |  | - | 
| 1170 |  | - | 
| 1171 |  | - | 
| 1172 | QFileInfo fileInfo(confFile->name); | - | 
| 1173 | bool mustReadFile = true; | - | 
| 1174 | bool createFile = !fileInfo.exists(); | - | 
| 1175 |  | - | 
| 1176 | if (!readOnly )| TRUE | evaluated 565 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 3752 times by 31 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 565-3752 | 
| 1177 | mustReadFile = (confFile->size != fileInfo.size() | TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 564 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
executed 565 times by 6 tests:  mustReadFile = (confFile->size != fileInfo.size() || (confFile->size != 0 && confFile->timeStamp != fileInfo.lastModified()));Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 1-565 | 
| 1178 | || (confFile->size != 0 && confFile->timeStamp != fileInfo.lastModified()| TRUE | evaluated 341 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 223 times by 3 tests Evaluated by:tst_QFileDialog2tst_QFiledialogtst_QSettings
 | 
));| TRUE | never evaluated |  | FALSE | evaluated 341 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
executed 565 times by 6 tests:  mustReadFile = (confFile->size != fileInfo.size() || (confFile->size != 0 && confFile->timeStamp != fileInfo.lastModified()));Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 0-565 | 
| 1179 |  | - | 
| 1180 | if (mustReadFile ) {| TRUE | evaluated 3753 times by 31 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 564 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 564-3753 | 
| 1181 | confFile->unparsedIniSections.clear(); | - | 
| 1182 | confFile->originalKeys.clear(); | - | 
| 1183 |  | - | 
| 1184 | QFile file(confFile->name); | - | 
| 1185 | if (!createFile && !file.open(QFile::ReadOnly)| TRUE | evaluated 848 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 2905 times by 7 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_QTextFormattst_languageChange
 | 
) {| TRUE | never evaluated |  | FALSE | evaluated 848 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 0-2905 | 
| 1186 | setStatus(QSettings::AccessError); | - | 
| 1187 | return; never executed: return; | 0 | 
| 1188 | } | - | 
| 1189 |  | - | 
| 1190 |  | - | 
| 1191 |  | - | 
| 1192 |  | - | 
| 1193 |  | - | 
| 1194 | if (file.isReadable() && fileInfo.size() != 0| TRUE | evaluated 848 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 2905 times by 7 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_QTextFormattst_languageChange
 | 
) {| TRUE | evaluated 309 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 539 times by 2 tests Evaluated by:tst_QFileDialog2tst_QFiledialog
 | 
 | 309-2905 | 
| 1195 |  | - | 
| 1196 |  | - | 
| 1197 |  | - | 
| 1198 |  | - | 
| 1199 |  | - | 
| 1200 | { | - | 
| 1201 | if (format <= QSettings::IniFormat ) {| TRUE | evaluated 258 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 51 times by 1 test | 
 | 51-258 | 
| 1202 | QByteArray data = file.readAll(); | - | 
| 1203 | ok = readIniFile(data, &confFile->unparsedIniSections); | - | 
| 1204 | } executed 258 times by 30 testselse {:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 258 | 
| 1205 | if (readFunc ) {| TRUE | evaluated 51 times by 1 test |  | FALSE | never evaluated | 
 | 0-51 | 
| 1206 | QSettings::SettingsMap tempNewKeys; | - | 
| 1207 | ok = readFunc(file, tempNewKeys); | - | 
| 1208 |  | - | 
| 1209 | if (ok ) {| TRUE | evaluated 50 times by 1 test |  | FALSE | evaluated 1 time by 1 test | 
 | 1-50 | 
| 1210 | QSettings::SettingsMap::const_iterator i = tempNewKeys.constBegin(); | - | 
| 1211 | while (i != tempNewKeys.constEnd() ) {| TRUE | evaluated 408 times by 1 test |  | FALSE | evaluated 50 times by 1 test | 
 | 50-408 | 
| 1212 | confFile->originalKeys.insert(QSettingsKey(i.key(), | - | 
| 1213 | caseSensitivity), | - | 
| 1214 | i.value()); | - | 
| 1215 | ++i; | - | 
| 1216 | } executed 408 times by 1 test:  end of block | 408 | 
| 1217 | } executed 50 times by 1 test:  end of block | 50 | 
| 1218 | } executed 51 times by 1 testelse {:  end of block | 51 | 
| 1219 | ok = false; | - | 
| 1220 | } never executed: end of block | 0 | 
| 1221 | } | - | 
| 1222 | } | - | 
| 1223 |  | - | 
| 1224 | if (!ok )| TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 308 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 1-308 | 
| 1225 | setStatus(QSettings::FormatError); executed 1 time by 1 test:  setStatus(QSettings::FormatError); | 1 | 
| 1226 | } executed 309 times by 30 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 309 | 
| 1227 |  | - | 
| 1228 | confFile->size = fileInfo.size(); | - | 
| 1229 | confFile->timeStamp = fileInfo.lastModified(); | - | 
| 1230 | } executed 3753 times by 31 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 3753 | 
| 1231 |  | - | 
| 1232 |  | - | 
| 1233 |  | - | 
| 1234 |  | - | 
| 1235 |  | - | 
| 1236 | if (!readOnly ) {| TRUE | evaluated 565 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 3752 times by 31 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 565-3752 | 
| 1237 | ensureAllSectionsParsed(confFile); | - | 
| 1238 | ParsedSettingsMap mergedKeys = confFile->mergedKeyMap(); | - | 
| 1239 |  | - | 
| 1240 |  | - | 
| 1241 |  | - | 
| 1242 |  | - | 
| 1243 |  | - | 
| 1244 |  | - | 
| 1245 | { | - | 
| 1246 |  | - | 
| 1247 | QSaveFile sf(confFile->name); | - | 
| 1248 |  | - | 
| 1249 |  | - | 
| 1250 |  | - | 
| 1251 | if (!sf.open(QIODevice::WriteOnly) ) {| TRUE | never evaluated |  | FALSE | evaluated 565 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 0-565 | 
| 1252 | setStatus(QSettings::AccessError); | - | 
| 1253 | ok = false; | - | 
| 1254 | } never executed: else if (format <= QSettings::IniFormatend of block ) {| TRUE | evaluated 485 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 80 times by 1 test | 
 | 0-485 | 
| 1255 | ok = writeIniFile(sf, mergedKeys); | - | 
| 1256 | } executed 485 times by 6 testselse {:  end of blockExecuted by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 485 | 
| 1257 | if (writeFunc ) {| TRUE | evaluated 79 times by 1 test |  | FALSE | evaluated 1 time by 1 test | 
 | 1-79 | 
| 1258 | QSettings::SettingsMap tempOriginalKeys; | - | 
| 1259 |  | - | 
| 1260 | ParsedSettingsMap::const_iterator i = mergedKeys.constBegin(); | - | 
| 1261 | while (i != mergedKeys.constEnd() ) {| TRUE | evaluated 418 times by 1 test |  | FALSE | evaluated 79 times by 1 test | 
 | 79-418 | 
| 1262 | tempOriginalKeys.insert(i.key(), i.value()); | - | 
| 1263 | ++i; | - | 
| 1264 | } executed 418 times by 1 test:  end of block | 418 | 
| 1265 | ok = writeFunc(sf, tempOriginalKeys); | - | 
| 1266 | } executed 79 times by 1 testelse {:  end of block | 79 | 
| 1267 | ok = false; | - | 
| 1268 | } executed 1 time by 1 test:  end of block | 1 | 
| 1269 | } | - | 
| 1270 |  | - | 
| 1271 | if (ok )| TRUE | evaluated 562 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 3 times by 1 test | 
 | 3-562 | 
| 1272 | ok = sf.commit(); executed 562 times by 6 tests:  ok = sf.commit();Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 562 | 
| 1273 |  | - | 
| 1274 | } | - | 
| 1275 |  | - | 
| 1276 | if (ok ) {| TRUE | evaluated 562 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 3 times by 1 test | 
 | 3-562 | 
| 1277 | confFile->unparsedIniSections.clear(); | - | 
| 1278 | confFile->originalKeys = mergedKeys; | - | 
| 1279 | confFile->addedKeys.clear(); | - | 
| 1280 | confFile->removedKeys.clear(); | - | 
| 1281 |  | - | 
| 1282 | QFileInfo fileInfo(confFile->name); | - | 
| 1283 | confFile->size = fileInfo.size(); | - | 
| 1284 | confFile->timeStamp = fileInfo.lastModified(); | - | 
| 1285 |  | - | 
| 1286 |  | - | 
| 1287 | if (createFile ) {| TRUE | evaluated 115 times by 1 test |  | FALSE | evaluated 447 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 115-447 | 
| 1288 | QFile::Permissions perms = fileInfo.permissions() | QFile::ReadOwner | QFile::WriteOwner; | - | 
| 1289 | if (!confFile->userPerms )| TRUE | evaluated 32 times by 1 test |  | FALSE | evaluated 83 times by 1 test | 
 | 32-83 | 
| 1290 | perms |= QFile::ReadGroup | QFile::ReadOther; executed 32 times by 1 test:  perms |= QFile::ReadGroup | QFile::ReadOther; | 32 | 
| 1291 | QFile(confFile->name).setPermissions(perms); | - | 
| 1292 | } executed 115 times by 1 test:  end of block | 115 | 
| 1293 | } executed 562 times by 6 testselse {:  end of blockExecuted by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 562 | 
| 1294 | setStatus(QSettings::AccessError); | - | 
| 1295 | } executed 3 times by 1 test:  end of block | 3 | 
| 1296 | } | - | 
| 1297 | } executed 4317 times by 31 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 4317 | 
| 1298 |  | - | 
| 1299 | enum { Space = 0x1, Special = 0x2 }; | - | 
| 1300 |  | - | 
| 1301 | static const char charTraits[256] = | - | 
| 1302 | { | - | 
| 1303 |  | - | 
| 1304 |  | - | 
| 1305 |  | - | 
| 1306 | 0, 0, 0, 0, 0, 0, 0, 0, 0, Space, Space | Special, 0, 0, Space | Special, 0, 0, | - | 
| 1307 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | - | 
| 1308 | Space, 0, Special, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | - | 
| 1309 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, Special, 0, Special, 0, 0, | - | 
| 1310 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | - | 
| 1311 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, Special, 0, 0, 0, | - | 
| 1312 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | - | 
| 1313 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | - | 
| 1314 |  | - | 
| 1315 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | - | 
| 1316 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | - | 
| 1317 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | - | 
| 1318 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | - | 
| 1319 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | - | 
| 1320 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | - | 
| 1321 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | - | 
| 1322 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 | - | 
| 1323 | }; | - | 
| 1324 |  | - | 
| 1325 | bool QConfFileSettingsPrivate::readIniLine(const QByteArray &data, int &dataPos, | - | 
| 1326 | int &lineStart, int &lineLen, int &equalsPos) | - | 
| 1327 | { | - | 
| 1328 | int dataLen = data.length(); | - | 
| 1329 | bool inQuotes = false; | - | 
| 1330 |  | - | 
| 1331 | equalsPos = -1; | - | 
| 1332 |  | - | 
| 1333 | lineStart = dataPos; | - | 
| 1334 | while (lineStart < dataLen && (| TRUE | evaluated 165094 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 9326 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
charTraits[uint(uchar(data.at(lineStart)))] & Space)| TRUE | evaluated 95639 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 69455 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
)| TRUE | evaluated 95639 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 69455 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 9326-165094 | 
| 1335 | ++ executed 95639 times by 30 testslineStart;:  ++lineStart;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 executed 95639 times by 30 tests:  ++lineStart;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 95639 | 
| 1336 |  | - | 
| 1337 | int i = lineStart; | - | 
| 1338 | while (i < dataLen ) {| TRUE | evaluated 141419 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 9346 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 9346-141419 | 
| 1339 | while (!(charTraits[uint(uchar(data.at(i)))] & Special) ) {| TRUE | evaluated 1114455 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 141384 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 141384-1114455 | 
| 1340 | if (++ i == dataLen| TRUE | evaluated 35 times by 1 test |  | FALSE | evaluated 1114420 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
)| TRUE | evaluated 35 times by 1 test |  | FALSE | evaluated 1114420 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 35-1114420 | 
| 1341 | goto executed 35 times by 1 testbreak_out_of_outer_loop;:  goto break_out_of_outer_loop; executed 35 times by 1 test:  goto break_out_of_outer_loop; | 35 | 
| 1342 | } executed 1114420 times by 30 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 1114420 | 
| 1343 |  | - | 
| 1344 | char ch = data.at(i++); | - | 
| 1345 | if (ch == '=' ) {| TRUE | evaluated 60374 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 81010 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 60374-81010 | 
| 1346 | if (!inQuotes && equalsPos == -1| TRUE | evaluated 60372 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 2 times by 1 test | 
)| TRUE | evaluated 60372 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | never evaluated | 
 | 0-60372 | 
| 1347 | equalsPos = i - 1; executed 60372 times by 29 tests:  equalsPos = i - 1;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 60372 | 
| 1348 | } executed 60374 times by 29 testselse if (ch == '\n':  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 || ch == '\r'| TRUE | evaluated 69404 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 11606 times by 5 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChangetst_selftests - unknown status
 | 
) {| TRUE | evaluated 2 times by 1 test |  | FALSE | evaluated 11604 times by 5 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChangetst_selftests - unknown status
 | 
 | 2-69404 | 
| 1349 | if (i == lineStart + 1 ) {| TRUE | evaluated 6 times by 1 test |  | FALSE | evaluated 69400 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 6-69400 | 
| 1350 | ++lineStart; | - | 
| 1351 | } executed 6 times by 1 testelse if (!inQuotes:  end of block ) {| TRUE | evaluated 69396 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 4 times by 1 test | 
 | 4-69396 | 
| 1352 | --i; | - | 
| 1353 | goto executed 69396 times by 30 testsbreak_out_of_outer_loop;:  goto break_out_of_outer_loop;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 executed 69396 times by 30 tests:  goto break_out_of_outer_loop;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 69396 | 
| 1354 | } | - | 
| 1355 | } executed 10 times by 1 testelse if (ch == '\\':  end of block ) {| TRUE | evaluated 11480 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 124 times by 2 tests Evaluated by:tst_QSettingstst_selftests - unknown status
 | 
 | 10-11480 | 
| 1356 | if (i < dataLen ) {| TRUE | evaluated 11476 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 4 times by 1 test | 
 | 4-11476 | 
| 1357 | char ch = data.at(i++); | - | 
| 1358 | if (i < dataLen ) {| TRUE | evaluated 11472 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 4 times by 1 test | 
 | 4-11472 | 
| 1359 | char ch2 = data.at(i); | - | 
| 1360 |  | - | 
| 1361 | if ((ch == '\n' && ch2 == '\r'| TRUE | evaluated 10 times by 1 test |  | FALSE | evaluated 11462 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
) || (ch == '\r'| TRUE | evaluated 4 times by 1 test |  | FALSE | evaluated 6 times by 1 test | 
&& ch2 == '\n'| TRUE | evaluated 10 times by 1 test |  | FALSE | evaluated 11458 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
))| TRUE | evaluated 6 times by 1 test |  | FALSE | evaluated 4 times by 1 test | 
 | 4-11462 | 
| 1362 | ++ executed 10 times by 1 testi;:  ++i; executed 10 times by 1 test:  ++i; | 10 | 
| 1363 | } executed 11472 times by 4 tests:  end of blockExecuted by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 11472 | 
| 1364 | } executed 11476 times by 4 tests:  end of blockExecuted by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 11476 | 
| 1365 | } executed 11480 times by 4 testselse if (ch == '"':  end of blockExecuted by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 ) {| TRUE | evaluated 112 times by 2 tests Evaluated by:tst_QSettingstst_selftests - unknown status
 |  | FALSE | evaluated 12 times by 1 test | 
 | 12-11480 | 
| 1366 | inQuotes = !inQuotes; | - | 
| 1367 | } executed 112 times by 2 testselse {:  end of blockExecuted by:tst_QSettingstst_selftests - unknown status
 | 112 | 
| 1368 | ((!(ch == ';')) ? qt_assert("ch == ';'",__FILE__,1605) : qt_noop()); | - | 
| 1369 |  | - | 
| 1370 | if (i == lineStart + 1 ) {| TRUE | evaluated 8 times by 1 test |  | FALSE | evaluated 4 times by 1 test | 
 | 4-8 | 
| 1371 | char ch; | - | 
| 1372 | while (i < dataLen && (((| TRUE | evaluated 26 times by 1 test |  | FALSE | evaluated 4 times by 1 test | 
ch = data.at(i)) != '\n')| TRUE | evaluated 22 times by 1 test |  | FALSE | evaluated 4 times by 1 test | 
&& ch != '\r'| TRUE | evaluated 22 times by 1 test |  | FALSE | evaluated 4 times by 1 test | 
))| TRUE | evaluated 22 times by 1 test |  | FALSE | never evaluated | 
 | 0-26 | 
| 1373 | ++ executed 22 times by 1 testi;:  ++i; executed 22 times by 1 test:  ++i; | 22 | 
| 1374 | lineStart = i; | - | 
| 1375 | } executed 8 times by 1 testelse if (!inQuotes:  end of block ) {| TRUE | evaluated 4 times by 1 test |  | FALSE | never evaluated | 
 | 0-8 | 
| 1376 | --i; | - | 
| 1377 | goto executed 4 times by 1 testbreak_out_of_outer_loop;:  goto break_out_of_outer_loop; executed 4 times by 1 test:  goto break_out_of_outer_loop; | 4 | 
| 1378 | } | - | 
| 1379 | } executed 8 times by 1 test:  end of block | 8 | 
| 1380 | } | - | 
| 1381 |  | - | 
| 1382 | break_out_of_outer_loop: code before this statement executed 9346 times by 30 tests:  break_out_of_outer_loop:Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 9346 | 
| 1383 | dataPos = i; | - | 
| 1384 | lineLen = i - lineStart; | - | 
| 1385 | return executed 78781 times by 30 testslineLen > 0;:  return lineLen > 0;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 executed 78781 times by 30 tests:  return lineLen > 0;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 78781 | 
| 1386 | } | - | 
| 1387 |  | - | 
| 1388 |  | - | 
| 1389 |  | - | 
| 1390 |  | - | 
| 1391 |  | - | 
| 1392 |  | - | 
| 1393 | bool QConfFileSettingsPrivate::readIniFile(const QByteArray &data, | - | 
| 1394 | UnparsedSettingsMap *unparsedIniSections) | - | 
| 1395 | { | - | 
| 1396 | QString currentSection; | - | 
| 1397 | int currentSectionStart = 0; | - | 
| 1398 | int dataPos = 0; | - | 
| 1399 | int lineStart; | - | 
| 1400 | int lineLen; | - | 
| 1401 | int equalsPos; | - | 
| 1402 | int position = 0; | - | 
| 1403 | int sectionPosition = 0; | - | 
| 1404 | bool ok = true; | - | 
| 1405 |  | - | 
| 1406 |  | - | 
| 1407 |  | - | 
| 1408 | const uchar *dd = (const uchar *)data.constData(); | - | 
| 1409 | if (data.size() >= 3 && dd[0] == 0xef| TRUE | evaluated 256 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 2 times by 1 test | 
&& dd[1] == 0xbb| TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 255 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
&& dd[2] == 0xbf| TRUE | evaluated 1 time by 1 test |  | FALSE | never evaluated | 
) {| TRUE | evaluated 1 time by 1 test |  | FALSE | never evaluated | 
 | 0-256 | 
| 1410 | iniCodec = QTextCodec::codecForName("UTF-8"); | - | 
| 1411 | dataPos = 3; | - | 
| 1412 | } executed 1 time by 1 test:  end of block | 1 | 
| 1413 |  | - | 
| 1414 |  | - | 
| 1415 | while (readIniLine(data, dataPos, lineStart, lineLen, equalsPos) ) {| TRUE | evaluated 39173 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 258 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 258-39173 | 
| 1416 | char ch = data.at(lineStart); | - | 
| 1417 | if (ch == '[' ) {| TRUE | evaluated 8868 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 30305 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 8868-30305 | 
| 1418 | { QByteArray §ionData = (*unparsedIniSections)[QSettingsKey(currentSection, IniCaseSensitivity, sectionPosition)]; if (!sectionData.isEmpty() ) sectionData.append('\n');| TRUE | never evaluated |  | FALSE | evaluated 8868 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
never executed: sectionData += data.mid(currentSectionStart, lineStart - currentSectionStart); sectionPosition = ++position; };sectionData.append('\n'); | 0-8868 | 
| 1419 |  | - | 
| 1420 |  | - | 
| 1421 | QByteArray iniSection; | - | 
| 1422 | int idx = data.indexOf(']', lineStart); | - | 
| 1423 | if (idx == -1 || idx >= lineStart + lineLen| TRUE | never evaluated |  | FALSE | evaluated 8868 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
) {| TRUE | never evaluated |  | FALSE | evaluated 8868 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 0-8868 | 
| 1424 | ok = false; | - | 
| 1425 | iniSection = data.mid(lineStart + 1, lineLen - 1); | - | 
| 1426 | } never executed: else {end of block | 0 | 
| 1427 | iniSection = data.mid(lineStart + 1, idx - lineStart - 1); | - | 
| 1428 | } executed 8868 times by 29 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 8868 | 
| 1429 |  | - | 
| 1430 | iniSection = iniSection.trimmed(); | - | 
| 1431 |  | - | 
| 1432 | if (qstricmp(iniSection.constData(), "general") == 0 ) {| TRUE | evaluated 48 times by 1 test |  | FALSE | evaluated 8820 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 48-8820 | 
| 1433 | currentSection.clear(); | - | 
| 1434 | } executed 48 times by 1 testelse {:  end of block | 48 | 
| 1435 | if (qstricmp(iniSection.constData(), "%general") == 0 ) {| TRUE | never evaluated |  | FALSE | evaluated 8820 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 0-8820 | 
| 1436 | currentSection = QLatin1String(iniSection.constData() + 1); | - | 
| 1437 | } never executed: else {end of block | 0 | 
| 1438 | currentSection.clear(); | - | 
| 1439 | iniUnescapedKey(iniSection, 0, iniSection.size(), currentSection); | - | 
| 1440 | } executed 8820 times by 29 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 8820 | 
| 1441 | currentSection += QLatin1Char('/'); | - | 
| 1442 | } executed 8820 times by 29 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 8820 | 
| 1443 | currentSectionStart = dataPos; | - | 
| 1444 | } executed 8868 times by 29 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 8868 | 
| 1445 | ++position; | - | 
| 1446 | } executed 39173 times by 30 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 39173 | 
| 1447 |  | - | 
| 1448 | ((!(lineStart == data.length())) ? qt_assert("lineStart == data.length()",__FILE__,1696) : qt_noop()); | - | 
| 1449 | { QByteArray §ionData = (*unparsedIniSections)[QSettingsKey(currentSection, IniCaseSensitivity, sectionPosition)]; if (!sectionData.isEmpty() ) sectionData.append('\n');| TRUE | never evaluated |  | FALSE | evaluated 258 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
never executed: sectionData += data.mid(currentSectionStart, lineStart - currentSectionStart); sectionPosition = ++position; };sectionData.append('\n'); | 0-258 | 
| 1450 |  | - | 
| 1451 | return executed 258 times by 30 testsok;:  return ok;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 executed 258 times by 30 tests:  return ok;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 258 | 
| 1452 |  | - | 
| 1453 |  | - | 
| 1454 | } | - | 
| 1455 |  | - | 
| 1456 | bool QConfFileSettingsPrivate::readIniSection(const QSettingsKey §ion, const QByteArray &data, | - | 
| 1457 | ParsedSettingsMap *settingsMap, QTextCodec *codec) | - | 
| 1458 | { | - | 
| 1459 | QStringList strListValue; | - | 
| 1460 | bool sectionIsLowercase = (section == section.originalCaseKey()); | - | 
| 1461 | int equalsPos; | - | 
| 1462 |  | - | 
| 1463 | bool ok = true; | - | 
| 1464 | int dataPos = 0; | - | 
| 1465 | int lineStart; | - | 
| 1466 | int lineLen; | - | 
| 1467 | int position = section.originalKeyPosition(); | - | 
| 1468 |  | - | 
| 1469 | while (readIniLine(data, dataPos, lineStart, lineLen, equalsPos) ) {| TRUE | evaluated 30278 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 9072 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 9072-30278 | 
| 1470 | char ch = data.at(lineStart); | - | 
| 1471 | ((!(ch != '[')) ? qt_assert("ch != '['",__FILE__,1719) : qt_noop()); | - | 
| 1472 |  | - | 
| 1473 | if (equalsPos == -1 ) {| TRUE | evaluated 106 times by 3 tests Evaluated by:tst_QIcontst_QSettingstst_selftests - unknown status
 |  | FALSE | evaluated 30172 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 106-30172 | 
| 1474 | if (ch != ';' )| TRUE | evaluated 106 times by 3 tests Evaluated by:tst_QIcontst_QSettingstst_selftests - unknown status
 |  | FALSE | never evaluated | 
 | 0-106 | 
| 1475 | ok = false; executed 106 times by 3 tests:  ok = false;Executed by:tst_QIcontst_QSettingstst_selftests - unknown status
 | 106 | 
| 1476 | continue; executed 106 times by 3 tests:  continue;Executed by:tst_QIcontst_QSettingstst_selftests - unknown status
 | 106 | 
| 1477 | } | - | 
| 1478 |  | - | 
| 1479 | int keyEnd = equalsPos; | - | 
| 1480 | while (keyEnd > lineStart && ((| TRUE | evaluated 30176 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | never evaluated | 
ch = data.at(keyEnd - 1)) == ' '| TRUE | evaluated 3 times by 1 test |  | FALSE | evaluated 30173 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
|| ch == '\t'| TRUE | evaluated 3 times by 1 test |  | FALSE | evaluated 30173 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
))| TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 30172 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 0-30176 | 
| 1481 | -- executed 4 times by 1 testkeyEnd;:  --keyEnd; executed 4 times by 1 test:  --keyEnd; | 4 | 
| 1482 | int valueStart = equalsPos + 1; | - | 
| 1483 |  | - | 
| 1484 | QString key = section.originalCaseKey(); | - | 
| 1485 | bool keyIsLowercase = (iniUnescapedKey(data, lineStart, keyEnd, key) && sectionIsLowercase| TRUE | evaluated 462 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 29710 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
);| TRUE | evaluated 462 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | never evaluated | 
 | 0-29710 | 
| 1486 |  | - | 
| 1487 | QString strValue; | - | 
| 1488 | strValue.reserve(lineLen - (valueStart - lineStart)); | - | 
| 1489 | bool isStringList = iniUnescapedStringList(data, valueStart, lineStart + lineLen, | - | 
| 1490 | strValue, strListValue, codec); | - | 
| 1491 | QVariant variant; | - | 
| 1492 | if (isStringList ) {| TRUE | evaluated 77 times by 28 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 30095 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 77-30095 | 
| 1493 | variant = stringListToVariantList(strListValue); | - | 
| 1494 | } executed 77 times by 28 testselse {:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 77 | 
| 1495 | variant = stringToVariant(strValue); | - | 
| 1496 | } executed 30095 times by 29 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 30095 | 
| 1497 |  | - | 
| 1498 |  | - | 
| 1499 |  | - | 
| 1500 |  | - | 
| 1501 |  | - | 
| 1502 |  | - | 
| 1503 | settingsMap->insert(QSettingsKey(key, keyIsLowercase ? Qt::CaseSensitive | - | 
| 1504 | : IniCaseSensitivity, | - | 
| 1505 | position), | - | 
| 1506 | variant); | - | 
| 1507 | ++position; | - | 
| 1508 | } executed 30172 times by 29 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 30172 | 
| 1509 |  | - | 
| 1510 | return executed 9072 times by 30 testsok;:  return ok;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 executed 9072 times by 30 tests:  return ok;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 9072 | 
| 1511 | } | - | 
| 1512 |  | - | 
| 1513 | class QSettingsIniKey : public QString | - | 
| 1514 | { | - | 
| 1515 | public: | - | 
| 1516 | inline QSettingsIniKey() : position(-1) {} never executed: end of block | 0 | 
| 1517 | inline QSettingsIniKey(const QString &str, int pos = -1) : QString(str), position(pos) {} executed 3005 times by 6 tests:  end of blockExecuted by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 3005 | 
| 1518 |  | - | 
| 1519 | int position; | - | 
| 1520 | }; | - | 
| 1521 | template<> class QTypeInfo<QSettingsIniKey > { public: enum { isComplex = (((Q_MOVABLE_TYPE) & Q_PRIMITIVE_TYPE) == 0), isStatic = (((Q_MOVABLE_TYPE) & (Q_MOVABLE_TYPE | Q_PRIMITIVE_TYPE)) == 0), isRelocatable = !isStatic || ((Q_MOVABLE_TYPE) & Q_RELOCATABLE_TYPE), isLarge = (sizeof(QSettingsIniKey)>sizeof(void*)), isPointer = false, isIntegral = QtPrivate::is_integral< QSettingsIniKey >::value, isDummy = (((Q_MOVABLE_TYPE) & Q_DUMMY_TYPE) != 0), sizeOf = sizeof(QSettingsIniKey) }; static inline const char *name() { return "QSettingsIniKey"; } }; | - | 
| 1522 |  | - | 
| 1523 | static bool operator<(const QSettingsIniKey &k1, const QSettingsIniKey &k2) | - | 
| 1524 | { | - | 
| 1525 | if (k1.position != k2.position )| TRUE | never evaluated |  | FALSE | evaluated 11534 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 0-11534 | 
| 1526 | return never executed: k1.position < k2.position;return k1.position < k2.position; never executed: return k1.position < k2.position; | 0 | 
| 1527 | return executed 11534 times by 6 testsstatic_cast<const QString &>(k1) < static_cast<const QString &>(k2);:  return static_cast<const QString &>(k1) < static_cast<const QString &>(k2);Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 executed 11534 times by 6 tests:  return static_cast<const QString &>(k1) < static_cast<const QString &>(k2);Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 11534 | 
| 1528 | } | - | 
| 1529 |  | - | 
| 1530 | typedef QMap<QSettingsIniKey, QVariant> IniKeyMap; | - | 
| 1531 |  | - | 
| 1532 | struct QSettingsIniSection | - | 
| 1533 | { | - | 
| 1534 | int position; | - | 
| 1535 | IniKeyMap keyMap; | - | 
| 1536 |  | - | 
| 1537 | inline QSettingsIniSection() : position(-1) {} executed 422 times by 6 tests:  end of blockExecuted by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 422 | 
| 1538 | }; | - | 
| 1539 |  | - | 
| 1540 | typedef QMap<QString, QSettingsIniSection> IniMap; | - | 
| 1541 |  | - | 
| 1542 |  | - | 
| 1543 |  | - | 
| 1544 |  | - | 
| 1545 |  | - | 
| 1546 | bool QConfFileSettingsPrivate::writeIniFile(QIODevice &device, const ParsedSettingsMap &map) | - | 
| 1547 | { | - | 
| 1548 | IniMap iniMap; | - | 
| 1549 | IniMap::const_iterator i; | - | 
| 1550 |  | - | 
| 1551 |  | - | 
| 1552 |  | - | 
| 1553 |  | - | 
| 1554 | const char eol = '\n'; | - | 
| 1555 |  | - | 
| 1556 |  | - | 
| 1557 | for (ParsedSettingsMap::const_iterator j = map.constBegin(); j != map.constEnd() ; ++j) {| TRUE | evaluated 2583 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 485 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 485-2583 | 
| 1558 | QString section; | - | 
| 1559 | QSettingsIniKey key(j.key().originalCaseKey(), j.key().originalKeyPosition()); | - | 
| 1560 | int slashPos; | - | 
| 1561 |  | - | 
| 1562 | if (( slashPos = key.indexOf(QLatin1Char('/'))) != -1| TRUE | evaluated 2068 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 515 times by 1 test | 
) {| TRUE | evaluated 2068 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 515 times by 1 test | 
 | 515-2068 | 
| 1563 | section = key.left(slashPos); | - | 
| 1564 | key.remove(0, slashPos + 1); | - | 
| 1565 | } executed 2068 times by 6 tests:  end of blockExecuted by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 2068 | 
| 1566 |  | - | 
| 1567 | QSettingsIniSection &iniSection = iniMap[section]; | - | 
| 1568 |  | - | 
| 1569 |  | - | 
| 1570 | if (uint(key.position) < uint(iniSection.position) )| TRUE | never evaluated |  | FALSE | evaluated 2583 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 0-2583 | 
| 1571 | iniSection.position = key.position; never executed: iniSection.position = key.position; | 0 | 
| 1572 | iniSection.keyMap[key] = j.value(); | - | 
| 1573 | } executed 2583 times by 6 tests:  end of blockExecuted by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 2583 | 
| 1574 |  | - | 
| 1575 | const int sectionCount = iniMap.size(); | - | 
| 1576 | QVector<QSettingsIniKey> sections; | - | 
| 1577 | sections.reserve(sectionCount); | - | 
| 1578 | for (i = iniMap.constBegin(); i != iniMap.constEnd() ; ++i)| TRUE | evaluated 422 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 485 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 422-485 | 
| 1579 | sections.append(QSettingsIniKey(i.key(), i.value().position)); executed 422 times by 6 tests:  sections.append(QSettingsIniKey(i.key(), i.value().position));Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 422 | 
| 1580 | std::sort(sections.begin(), sections.end()); | - | 
| 1581 |  | - | 
| 1582 | bool writeError = false; | - | 
| 1583 | for (int j = 0; !writeError && j < sectionCount| TRUE | evaluated 907 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | never evaluated | 
; ++j) {| TRUE | evaluated 422 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 485 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 0-907 | 
| 1584 | i = iniMap.constFind(sections.at(j)); | - | 
| 1585 | ((!(i != iniMap.constEnd())) ? qt_assert("i != iniMap.constEnd()",__FILE__,1833) : qt_noop()); | - | 
| 1586 |  | - | 
| 1587 | QByteArray realSection; | - | 
| 1588 |  | - | 
| 1589 | iniEscapedKey(i.key(), realSection); | - | 
| 1590 |  | - | 
| 1591 | if (realSection.isEmpty() ) {| TRUE | evaluated 99 times by 1 test |  | FALSE | evaluated 323 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 99-323 | 
| 1592 | realSection = "[General]"; | - | 
| 1593 | } executed 99 times by 1 testelse if (qstricmp(realSection.constData(), "general") == 0:  end of block ) {| TRUE | evaluated 3 times by 1 test |  | FALSE | evaluated 320 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 3-320 | 
| 1594 | realSection = "[%General]"; | - | 
| 1595 | } executed 3 times by 1 testelse {:  end of block | 3 | 
| 1596 | realSection.prepend('['); | - | 
| 1597 | realSection.append(']'); | - | 
| 1598 | } executed 320 times by 6 tests:  end of blockExecuted by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 320 | 
| 1599 |  | - | 
| 1600 | if (j != 0 )| TRUE | evaluated 47 times by 4 tests Evaluated by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 375 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 47-375 | 
| 1601 | realSection.prepend(eol); executed 47 times by 4 tests:  realSection.prepend(eol);Executed by:tst_QColorDialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 47 | 
| 1602 | realSection += eol; | - | 
| 1603 |  | - | 
| 1604 | device.write(realSection); | - | 
| 1605 |  | - | 
| 1606 | const IniKeyMap &ents = i.value().keyMap; | - | 
| 1607 | for (IniKeyMap::const_iterator j = ents.constBegin(); j != ents.constEnd() ; ++j) {| TRUE | evaluated 2583 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 422 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 422-2583 | 
| 1608 | QByteArray block; | - | 
| 1609 | iniEscapedKey(j.key(), block); | - | 
| 1610 | block += '='; | - | 
| 1611 |  | - | 
| 1612 | const QVariant &value = j.value(); | - | 
| 1613 |  | - | 
| 1614 |  | - | 
| 1615 |  | - | 
| 1616 |  | - | 
| 1617 |  | - | 
| 1618 |  | - | 
| 1619 | if (value.type() == QVariant::StringList | TRUE | evaluated 489 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 2094 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 489-2094 | 
| 1620 | || (value.type() == QVariant::List && value.toList().size() != 1| TRUE | evaluated 39 times by 1 test |  | FALSE | evaluated 2055 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
)) {| TRUE | evaluated 35 times by 1 test |  | FALSE | evaluated 4 times by 1 test | 
 | 4-2055 | 
| 1621 | iniEscapedStringList(variantListToStringList(value.toList()), block, iniCodec); | - | 
| 1622 | } executed 524 times by 6 testselse {:  end of blockExecuted by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 524 | 
| 1623 | iniEscapedString(variantToString(value), block, iniCodec); | - | 
| 1624 | } executed 2059 times by 6 tests:  end of blockExecuted by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 2059 | 
| 1625 | block += eol; | - | 
| 1626 | if (device.write(block) == -1 ) {| TRUE | never evaluated |  | FALSE | evaluated 2583 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 0-2583 | 
| 1627 | writeError = true; | - | 
| 1628 | break; never executed: break; | 0 | 
| 1629 | } | - | 
| 1630 | } executed 2583 times by 6 tests:  end of blockExecuted by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 2583 | 
| 1631 | } executed 422 times by 6 tests:  end of blockExecuted by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 422 | 
| 1632 | return executed 485 times by 6 tests!writeError;:  return !writeError;Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 executed 485 times by 6 tests:  return !writeError;Executed by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 485 | 
| 1633 | } | - | 
| 1634 |  | - | 
| 1635 | void QConfFileSettingsPrivate::ensureAllSectionsParsed(QConfFile *confFile) const | - | 
| 1636 | { | - | 
| 1637 | UnparsedSettingsMap::const_iterator i = confFile->unparsedIniSections.constBegin(); | - | 
| 1638 | const UnparsedSettingsMap::const_iterator end = confFile->unparsedIniSections.constEnd(); | - | 
| 1639 |  | - | 
| 1640 | for (; i != end ; ++i) {| TRUE | evaluated 8949 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 |  | FALSE | evaluated 1902 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 1902-8949 | 
| 1641 | if (!QConfFileSettingsPrivate::readIniSection(i.key(), i.value(), &confFile->originalKeys, iniCodec) )| TRUE | evaluated 28 times by 3 tests Evaluated by:tst_QIcontst_QSettingstst_selftests - unknown status
 |  | FALSE | evaluated 8921 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 28-8921 | 
| 1642 | setStatus(QSettings::FormatError); executed 28 times by 3 tests:  setStatus(QSettings::FormatError);Executed by:tst_QIcontst_QSettingstst_selftests - unknown status
 | 28 | 
| 1643 | } executed 8949 times by 30 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 8949 | 
| 1644 | confFile->unparsedIniSections.clear(); | - | 
| 1645 | } executed 1902 times by 30 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 1902 | 
| 1646 |  | - | 
| 1647 | void QConfFileSettingsPrivate::ensureSectionParsed(QConfFile *confFile, | - | 
| 1648 | const QSettingsKey &key) const | - | 
| 1649 | { | - | 
| 1650 | if (confFile->unparsedIniSections.isEmpty() )| TRUE | evaluated 47315 times by 29 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QTextFormat...
 |  | FALSE | evaluated 204 times by 3 tests Evaluated by:tst_QColorDialogtst_QSettingstst_languageChange
 | 
 | 204-47315 | 
| 1651 | return; executed 47315 times by 29 tests:  return;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QTextFormat...
 | 47315 | 
| 1652 |  | - | 
| 1653 | UnparsedSettingsMap::iterator i; | - | 
| 1654 |  | - | 
| 1655 | int indexOfSlash = key.indexOf(QLatin1Char('/')); | - | 
| 1656 | if (indexOfSlash != -1 ) {| TRUE | evaluated 140 times by 3 tests Evaluated by:tst_QColorDialogtst_QSettingstst_languageChange
 |  | FALSE | evaluated 64 times by 1 test | 
 | 64-140 | 
| 1657 | i = confFile->unparsedIniSections.upperBound(key); | - | 
| 1658 | if (i == confFile->unparsedIniSections.begin() )| TRUE | evaluated 6 times by 1 test |  | FALSE | evaluated 134 times by 3 tests Evaluated by:tst_QColorDialogtst_QSettingstst_languageChange
 | 
 | 6-134 | 
| 1659 | return; executed 6 times by 1 test:  return; | 6 | 
| 1660 | --i; | - | 
| 1661 | if (i.key().isEmpty() || !key.startsWith(i.key())| TRUE | evaluated 21 times by 1 test |  | FALSE | evaluated 113 times by 3 tests Evaluated by:tst_QColorDialogtst_QSettingstst_languageChange
 | 
)| TRUE | evaluated 54 times by 3 tests Evaluated by:tst_QColorDialogtst_QSettingstst_languageChange
 |  | FALSE | evaluated 59 times by 3 tests Evaluated by:tst_QColorDialogtst_QSettingstst_languageChange
 | 
 | 21-113 | 
| 1662 | return; executed 75 times by 3 tests:  return;Executed by:tst_QColorDialogtst_QSettingstst_languageChange
 | 75 | 
| 1663 | } executed 59 times by 3 testselse {:  end of blockExecuted by:tst_QColorDialogtst_QSettingstst_languageChange
 | 59 | 
| 1664 | i = confFile->unparsedIniSections.begin(); | - | 
| 1665 | if (i == confFile->unparsedIniSections.end() || !i.key().isEmpty()| TRUE | never evaluated |  | FALSE | evaluated 64 times by 1 test | 
)| TRUE | never evaluated |  | FALSE | evaluated 64 times by 1 test | 
 | 0-64 | 
| 1666 | return; never executed: return; | 0 | 
| 1667 | } executed 64 times by 1 test:  end of block | 64 | 
| 1668 |  | - | 
| 1669 | if (!QConfFileSettingsPrivate::readIniSection(i.key(), i.value(), &confFile->originalKeys, iniCodec) )| TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 122 times by 3 tests Evaluated by:tst_QColorDialogtst_QSettingstst_languageChange
 | 
 | 1-122 | 
| 1670 | setStatus(QSettings::FormatError); executed 1 time by 1 test:  setStatus(QSettings::FormatError); | 1 | 
| 1671 | confFile->unparsedIniSections.erase(i); | - | 
| 1672 | } executed 123 times by 3 tests:  end of blockExecuted by:tst_QColorDialogtst_QSettingstst_languageChange
 | 123 | 
| 1673 | QSettings::QSettings(const QString &organization, const QString &application, QObject *parent) | - | 
| 1674 | : QObject(*QSettingsPrivate::create(NativeFormat, UserScope, organization, application), | - | 
| 1675 | parent) | - | 
| 1676 | { | - | 
| 1677 | } executed 50 times by 2 tests:  end of blockExecuted by:tst_QSettingstst_QTextFormat
 | 50 | 
| 1678 | QSettings::QSettings(Scope scope, const QString &organization, const QString &application, | - | 
| 1679 | QObject *parent) | - | 
| 1680 | : QObject(*QSettingsPrivate::create(NativeFormat, scope, organization, application), parent) | - | 
| 1681 | { | - | 
| 1682 | } executed 1040 times by 6 tests:  end of blockExecuted by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 1040 | 
| 1683 | QSettings::QSettings(Format format, Scope scope, const QString &organization, | - | 
| 1684 | const QString &application, QObject *parent) | - | 
| 1685 | : QObject(*QSettingsPrivate::create(format, scope, organization, application), parent) | - | 
| 1686 | { | - | 
| 1687 | } executed 333 times by 1 test:  end of block | 333 | 
| 1688 | QSettings::QSettings(const QString &fileName, Format format, QObject *parent) | - | 
| 1689 | : QObject(*QSettingsPrivate::create(fileName, format), parent) | - | 
| 1690 | { | - | 
| 1691 | } executed 248 times by 29 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QToolButton...
 | 248 | 
| 1692 | QSettings::QSettings(QObject *parent) | - | 
| 1693 | : QObject(*QSettingsPrivate::create(globalDefaultFormat, UserScope, | - | 
| 1694 |  | - | 
| 1695 |  | - | 
| 1696 |  | - | 
| 1697 |  | - | 
| 1698 |  | - | 
| 1699 | QCoreApplication::organizationName().isEmpty() | - | 
| 1700 | ? QCoreApplication::organizationDomain() | - | 
| 1701 | : QCoreApplication::organizationName() | - | 
| 1702 |  | - | 
| 1703 | , QCoreApplication::applicationName()), | - | 
| 1704 | parent) | - | 
| 1705 | { | - | 
| 1706 | } executed 5 times by 1 test:  end of block | 5 | 
| 1707 | QSettings::~QSettings() | - | 
| 1708 | { | - | 
| 1709 | QSettingsPrivate * const d = d_func(); | - | 
| 1710 | if (d->pendingChanges ) {| TRUE | evaluated 563 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 |  | FALSE | evaluated 1113 times by 31 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 563-1113 | 
| 1711 | try { | - | 
| 1712 | d->flush(); | - | 
| 1713 | } executed 563 times by 6 testscatch (...) {:  end of blockExecuted by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 563 | 
| 1714 | ; | - | 
| 1715 | } never executed: end of block | 0 | 
| 1716 | } | - | 
| 1717 | } executed 1676 times by 31 tests:  end of blockExecuted by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 1676 | 
| 1718 | void QSettings::clear() | - | 
| 1719 | { | - | 
| 1720 | QSettingsPrivate * const d = d_func(); | - | 
| 1721 | d->clear(); | - | 
| 1722 | d->requestUpdate(); | - | 
| 1723 | } executed 15 times by 1 test:  end of block | 15 | 
| 1724 | void QSettings::sync() | - | 
| 1725 | { | - | 
| 1726 | QSettingsPrivate * const d = d_func(); | - | 
| 1727 | d->sync(); | - | 
| 1728 | } executed 64 times by 1 test:  end of block | 64 | 
| 1729 | QString QSettings::fileName() const | - | 
| 1730 | { | - | 
| 1731 | const QSettingsPrivate * const d = d_func(); | - | 
| 1732 | return executed 27 times by 1 testd->fileName();:  return d->fileName(); executed 27 times by 1 test:  return d->fileName(); | 27 | 
| 1733 | } | - | 
| 1734 | QSettings::Format QSettings::format() const | - | 
| 1735 | { | - | 
| 1736 | const QSettingsPrivate * const d = d_func(); | - | 
| 1737 | return executed 30 times by 1 testd->format;:  return d->format; executed 30 times by 1 test:  return d->format; | 30 | 
| 1738 | } | - | 
| 1739 | QSettings::Scope QSettings::scope() const | - | 
| 1740 | { | - | 
| 1741 | const QSettingsPrivate * const d = d_func(); | - | 
| 1742 | return executed 28 times by 1 testd->scope;:  return d->scope; executed 28 times by 1 test:  return d->scope; | 28 | 
| 1743 | } | - | 
| 1744 | QString QSettings::organizationName() const | - | 
| 1745 | { | - | 
| 1746 | const QSettingsPrivate * const d = d_func(); | - | 
| 1747 | return executed 32 times by 1 testd->organizationName;:  return d->organizationName; executed 32 times by 1 test:  return d->organizationName; | 32 | 
| 1748 | } | - | 
| 1749 | QString QSettings::applicationName() const | - | 
| 1750 | { | - | 
| 1751 | const QSettingsPrivate * const d = d_func(); | - | 
| 1752 | return executed 24 times by 1 testd->applicationName;:  return d->applicationName; executed 24 times by 1 test:  return d->applicationName; | 24 | 
| 1753 | } | - | 
| 1754 | void QSettings::setIniCodec(QTextCodec *codec) | - | 
| 1755 | { | - | 
| 1756 | QSettingsPrivate * const d = d_func(); | - | 
| 1757 | d->iniCodec = codec; | - | 
| 1758 | } never executed: end of block | 0 | 
| 1759 | void QSettings::setIniCodec(const char *codecName) | - | 
| 1760 | { | - | 
| 1761 | QSettingsPrivate * const d = d_func(); | - | 
| 1762 | if (QTextCodec *codec = QTextCodec::codecForName(codecName) )| TRUE | evaluated 6 times by 1 test |  | FALSE | never evaluated | 
 | 0-6 | 
| 1763 | d->iniCodec = codec; executed 6 times by 1 test:  d->iniCodec = codec; | 6 | 
| 1764 | } executed 6 times by 1 test:  end of block | 6 | 
| 1765 | QTextCodec *QSettings::iniCodec() const | - | 
| 1766 | { | - | 
| 1767 | const QSettingsPrivate * const d = d_func(); | - | 
| 1768 | return never executed: d->iniCodec;return d->iniCodec; never executed: return d->iniCodec; | 0 | 
| 1769 | } | - | 
| 1770 | QSettings::Status QSettings::status() const | - | 
| 1771 | { | - | 
| 1772 | const QSettingsPrivate * const d = d_func(); | - | 
| 1773 | return executed 99 times by 1 testd->status;:  return d->status; executed 99 times by 1 test:  return d->status; | 99 | 
| 1774 | } | - | 
| 1775 | void QSettings::beginGroup(const QString &prefix) | - | 
| 1776 | { | - | 
| 1777 | QSettingsPrivate * const d = d_func(); | - | 
| 1778 | d->beginGroupOrArray(QSettingsGroup(d->normalizedKey(prefix))); | - | 
| 1779 | } executed 1346 times by 6 tests:  end of blockExecuted by:tst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChangetst_selftests - unknown status
 | 1346 | 
| 1780 | void QSettings::endGroup() | - | 
| 1781 | { | - | 
| 1782 | QSettingsPrivate * const d = d_func(); | - | 
| 1783 | if (d->groupStack.isEmpty() ) {| TRUE | evaluated 14 times by 1 test |  | FALSE | evaluated 848 times by 4 tests Evaluated by:tst_QFileDialog2tst_QFiledialogtst_QSettingstst_selftests - unknown status
 | 
 | 14-848 | 
| 1784 | QMessageLogger(__FILE__, 2911, __PRETTY_FUNCTION__).warning("QSettings::endGroup: No matching beginGroup()"); | - | 
| 1785 | return; executed 14 times by 1 test:  return; | 14 | 
| 1786 | } | - | 
| 1787 |  | - | 
| 1788 | QSettingsGroup group = d->groupStack.pop(); | - | 
| 1789 | int len = group.toString().size(); | - | 
| 1790 | if (len > 0 )| TRUE | evaluated 805 times by 4 tests Evaluated by:tst_QFileDialog2tst_QFiledialogtst_QSettingstst_selftests - unknown status
 |  | FALSE | evaluated 43 times by 1 test | 
 | 43-805 | 
| 1791 | d->groupPrefix.truncate(d->groupPrefix.size() - (len + 1)); executed 805 times by 4 tests:  d->groupPrefix.truncate(d->groupPrefix.size() - (len + 1));Executed by:tst_QFileDialog2tst_QFiledialogtst_QSettingstst_selftests - unknown status
 | 805 | 
| 1792 |  | - | 
| 1793 | if (group.isArray() )| TRUE | evaluated 4 times by 1 test |  | FALSE | evaluated 844 times by 4 tests Evaluated by:tst_QFileDialog2tst_QFiledialogtst_QSettingstst_selftests - unknown status
 | 
 | 4-844 | 
| 1794 | QMessageLogger(__FILE__, 2921, __PRETTY_FUNCTION__).warning("QSettings::endGroup: Expected endArray() instead"); executed 4 times by 1 test:  QMessageLogger(__FILE__, 2921, __PRETTY_FUNCTION__).warning("QSettings::endGroup: Expected endArray() instead"); | 4 | 
| 1795 | } executed 848 times by 4 tests:  end of blockExecuted by:tst_QFileDialog2tst_QFiledialogtst_QSettingstst_selftests - unknown status
 | 848 | 
| 1796 |  | - | 
| 1797 |  | - | 
| 1798 |  | - | 
| 1799 |  | - | 
| 1800 |  | - | 
| 1801 |  | - | 
| 1802 | QString QSettings::group() const | - | 
| 1803 | { | - | 
| 1804 | const QSettingsPrivate * const d = d_func(); | - | 
| 1805 | return executed 227 times by 3 testsd->groupPrefix.left(d->groupPrefix.size() - 1);:  return d->groupPrefix.left(d->groupPrefix.size() - 1);Executed by:tst_QFileDialog2tst_QFiledialogtst_QSettings
 executed 227 times by 3 tests:  return d->groupPrefix.left(d->groupPrefix.size() - 1);Executed by:tst_QFileDialog2tst_QFiledialogtst_QSettings
 | 227 | 
| 1806 | } | - | 
| 1807 | int QSettings::beginReadArray(const QString &prefix) | - | 
| 1808 | { | - | 
| 1809 | QSettingsPrivate * const d = d_func(); | - | 
| 1810 | d->beginGroupOrArray(QSettingsGroup(d->normalizedKey(prefix), false)); | - | 
| 1811 | return executed 20 times by 1 testvalue(QLatin1String("size")).toInt();:  return value(QLatin1String("size")).toInt(); executed 20 times by 1 test:  return value(QLatin1String("size")).toInt(); | 20 | 
| 1812 | } | - | 
| 1813 | void QSettings::beginWriteArray(const QString &prefix, int size) | - | 
| 1814 | { | - | 
| 1815 | QSettingsPrivate * const d = d_func(); | - | 
| 1816 | d->beginGroupOrArray(QSettingsGroup(d->normalizedKey(prefix), size < 0)); | - | 
| 1817 |  | - | 
| 1818 | if (size < 0 )| TRUE | evaluated 12 times by 1 test |  | FALSE | evaluated 8 times by 1 test | 
 | 8-12 | 
| 1819 | remove(QLatin1String("size")); executed 12 times by 1 test:  remove(QLatin1String("size")); | 12 | 
| 1820 | else | - | 
| 1821 | setValue(QLatin1String("size"), size); executed 8 times by 1 test:  setValue(QLatin1String("size"), size); | 8 | 
| 1822 | } | - | 
| 1823 |  | - | 
| 1824 |  | - | 
| 1825 |  | - | 
| 1826 |  | - | 
| 1827 |  | - | 
| 1828 |  | - | 
| 1829 |  | - | 
| 1830 | void QSettings::endArray() | - | 
| 1831 | { | - | 
| 1832 | QSettingsPrivate * const d = d_func(); | - | 
| 1833 | if (d->groupStack.isEmpty() ) {| TRUE | never evaluated |  | FALSE | evaluated 44 times by 1 test | 
 | 0-44 | 
| 1834 | QMessageLogger(__FILE__, 3004, __PRETTY_FUNCTION__).warning("QSettings::endArray: No matching beginArray()"); | - | 
| 1835 | return; never executed: return; | 0 | 
| 1836 | } | - | 
| 1837 |  | - | 
| 1838 | QSettingsGroup group = d->groupStack.top(); | - | 
| 1839 | int len = group.toString().size(); | - | 
| 1840 | d->groupStack.pop(); | - | 
| 1841 | if (len > 0 )| TRUE | evaluated 44 times by 1 test |  | FALSE | never evaluated | 
 | 0-44 | 
| 1842 | d->groupPrefix.truncate(d->groupPrefix.size() - (len + 1)); executed 44 times by 1 test:  d->groupPrefix.truncate(d->groupPrefix.size() - (len + 1)); | 44 | 
| 1843 |  | - | 
| 1844 | if (group.arraySizeGuess() != -1 )| TRUE | evaluated 12 times by 1 test |  | FALSE | evaluated 32 times by 1 test | 
 | 12-32 | 
| 1845 | setValue(group.name() + QLatin1String("/size"), group.arraySizeGuess()); executed 12 times by 1 test:  setValue(group.name() + QLatin1String("/size"), group.arraySizeGuess()); | 12 | 
| 1846 |  | - | 
| 1847 | if (!group.isArray() )| TRUE | evaluated 8 times by 1 test |  | FALSE | evaluated 36 times by 1 test | 
 | 8-36 | 
| 1848 | QMessageLogger(__FILE__, 3018, __PRETTY_FUNCTION__).warning("QSettings::endArray: Expected endGroup() instead"); executed 8 times by 1 test:  QMessageLogger(__FILE__, 3018, __PRETTY_FUNCTION__).warning("QSettings::endArray: Expected endGroup() instead"); | 8 | 
| 1849 | } executed 44 times by 1 test:  end of block | 44 | 
| 1850 | void QSettings::setArrayIndex(int i) | - | 
| 1851 | { | - | 
| 1852 | QSettingsPrivate * const d = d_func(); | - | 
| 1853 | if (d->groupStack.isEmpty() || !d->groupStack.top().isArray()| TRUE | never evaluated |  | FALSE | evaluated 148 times by 1 test | 
) {| TRUE | evaluated 20 times by 1 test |  | FALSE | evaluated 128 times by 1 test | 
 | 0-148 | 
| 1854 | QMessageLogger(__FILE__, 3033, __PRETTY_FUNCTION__).warning("QSettings::setArrayIndex: Missing beginArray()"); | - | 
| 1855 | return; executed 20 times by 1 test:  return; | 20 | 
| 1856 | } | - | 
| 1857 |  | - | 
| 1858 | QSettingsGroup &top = d->groupStack.top(); | - | 
| 1859 | int len = top.toString().size(); | - | 
| 1860 | top.setArrayIndex(qMax(i, 0)); | - | 
| 1861 | d->groupPrefix.replace(d->groupPrefix.size() - len - 1, len, top.toString()); | - | 
| 1862 | } executed 128 times by 1 test:  end of block | 128 | 
| 1863 | QStringList QSettings::allKeys() const | - | 
| 1864 | { | - | 
| 1865 | const QSettingsPrivate * const d = d_func(); | - | 
| 1866 | return executed 233 times by 27 testsd->children(d->groupPrefix, QSettingsPrivate::AllKeys);:  return d->children(d->groupPrefix, QSettingsPrivate::AllKeys);Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QToolButton...
 executed 233 times by 27 tests:  return d->children(d->groupPrefix, QSettingsPrivate::AllKeys);Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdittst_QToolButton...
 | 233 | 
| 1867 | } | - | 
| 1868 | QStringList QSettings::childKeys() const | - | 
| 1869 | { | - | 
| 1870 | const QSettingsPrivate * const d = d_func(); | - | 
| 1871 | return executed 104 times by 1 testd->children(d->groupPrefix, QSettingsPrivate::ChildKeys);:  return d->children(d->groupPrefix, QSettingsPrivate::ChildKeys); executed 104 times by 1 test:  return d->children(d->groupPrefix, QSettingsPrivate::ChildKeys); | 104 | 
| 1872 | } | - | 
| 1873 | QStringList QSettings::childGroups() const | - | 
| 1874 | { | - | 
| 1875 | const QSettingsPrivate * const d = d_func(); | - | 
| 1876 | return executed 719 times by 7 testsd->children(d->groupPrefix, QSettingsPrivate::ChildGroups);:  return d->children(d->groupPrefix, QSettingsPrivate::ChildGroups);Executed by:tst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChangetst_qdbusxml2cpp - unknown statustst_selftests - unknown status
 executed 719 times by 7 tests:  return d->children(d->groupPrefix, QSettingsPrivate::ChildGroups);Executed by:tst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChangetst_qdbusxml2cpp - unknown statustst_selftests - unknown status
 | 719 | 
| 1877 | } | - | 
| 1878 | bool QSettings::isWritable() const | - | 
| 1879 | { | - | 
| 1880 | const QSettingsPrivate * const d = d_func(); | - | 
| 1881 | return executed 21 times by 1 testd->isWritable();:  return d->isWritable(); executed 21 times by 1 test:  return d->isWritable(); | 21 | 
| 1882 | } | - | 
| 1883 | void QSettings::setValue(const QString &key, const QVariant &value) | - | 
| 1884 | { | - | 
| 1885 | QSettingsPrivate * const d = d_func(); | - | 
| 1886 | if (key.isEmpty() ) {| TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 2444 times by 6 tests Evaluated by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 
 | 1-2444 | 
| 1887 | QMessageLogger(__FILE__, 3150, __PRETTY_FUNCTION__).warning("QSettings::setValue: Empty key passed"); | - | 
| 1888 | return; executed 1 time by 1 test:  return; | 1 | 
| 1889 | } | - | 
| 1890 | QString k = d->actualKey(key); | - | 
| 1891 | d->set(k, value); | - | 
| 1892 | d->requestUpdate(); | - | 
| 1893 | } executed 2444 times by 6 tests:  end of blockExecuted by:tst_QColorDialogtst_QFileDialog2tst_QFiledialogtst_QGraphicsProxyWidgettst_QSettingstst_languageChange
 | 2444 | 
| 1894 | void QSettings::remove(const QString &key) | - | 
| 1895 | { | - | 
| 1896 | QSettingsPrivate * const d = d_func(); | - | 
| 1897 |  | - | 
| 1898 |  | - | 
| 1899 |  | - | 
| 1900 |  | - | 
| 1901 | QString theKey = d->normalizedKey(key); | - | 
| 1902 | if (theKey.isEmpty() )| TRUE | evaluated 112 times by 3 tests Evaluated by:tst_QFileDialog2tst_QFiledialogtst_QSettings
 |  | FALSE | evaluated 152 times by 3 tests Evaluated by:tst_QFileDialog2tst_QFiledialogtst_QSettings
 | 
 | 112-152 | 
| 1903 | theKey = group(); executed 112 times by 3 tests:  theKey = group();Executed by:tst_QFileDialog2tst_QFiledialogtst_QSettings
 | 112 | 
| 1904 | else | - | 
| 1905 | theKey.prepend(d->groupPrefix); executed 152 times by 3 tests:  theKey.prepend(d->groupPrefix);Executed by:tst_QFileDialog2tst_QFiledialogtst_QSettings
 | 152 | 
| 1906 |  | - | 
| 1907 | if (theKey.isEmpty() ) {| TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 263 times by 3 tests Evaluated by:tst_QFileDialog2tst_QFiledialogtst_QSettings
 | 
 | 1-263 | 
| 1908 | d->clear(); | - | 
| 1909 | } executed 1 time by 1 testelse {:  end of block | 1 | 
| 1910 | d->remove(theKey); | - | 
| 1911 | } executed 263 times by 3 tests:  end of blockExecuted by:tst_QFileDialog2tst_QFiledialogtst_QSettings
 | 263 | 
| 1912 | d->requestUpdate(); | - | 
| 1913 | } executed 264 times by 3 tests:  end of blockExecuted by:tst_QFileDialog2tst_QFiledialogtst_QSettings
 | 264 | 
| 1914 | bool QSettings::contains(const QString &key) const | - | 
| 1915 | { | - | 
| 1916 | const QSettingsPrivate * const d = d_func(); | - | 
| 1917 | QString k = d->actualKey(key); | - | 
| 1918 | return executed 218 times by 1 testd->get(k, 0);:  return d->get(k, 0); executed 218 times by 1 test:  return d->get(k, 0); | 218 | 
| 1919 | } | - | 
| 1920 | void QSettings::setFallbacksEnabled(bool b) | - | 
| 1921 | { | - | 
| 1922 | QSettingsPrivate * const d = d_func(); | - | 
| 1923 | d->fallbacks = !!b; | - | 
| 1924 | } executed 58 times by 1 test:  end of block | 58 | 
| 1925 | bool QSettings::fallbacksEnabled() const | - | 
| 1926 | { | - | 
| 1927 | const QSettingsPrivate * const d = d_func(); | - | 
| 1928 | return executed 34 times by 1 testd->fallbacks;:  return d->fallbacks; executed 34 times by 1 test:  return d->fallbacks; | 34 | 
| 1929 | } | - | 
| 1930 |  | - | 
| 1931 |  | - | 
| 1932 |  | - | 
| 1933 |  | - | 
| 1934 |  | - | 
| 1935 | bool QSettings::event(QEvent *event) | - | 
| 1936 | { | - | 
| 1937 | QSettingsPrivate * const d = d_func(); | - | 
| 1938 | if (event->type() == QEvent::UpdateRequest ) {| TRUE | evaluated 4 times by 1 test |  | FALSE | never evaluated | 
 | 0-4 | 
| 1939 | d->update(); | - | 
| 1940 | return executed 4 times by 1 testtrue;:  return true; executed 4 times by 1 test:  return true; | 4 | 
| 1941 | } | - | 
| 1942 | return never executed: QObject::event(event);return QObject::event(event); never executed: return QObject::event(event); | 0 | 
| 1943 | } | - | 
| 1944 | QVariant QSettings::value(const QString &key, const QVariant &defaultValue) const | - | 
| 1945 | { | - | 
| 1946 | const QSettingsPrivate * const d = d_func(); | - | 
| 1947 | if (key.isEmpty() ) {| TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 46301 times by 30 tests Evaluated by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 
 | 1-46301 | 
| 1948 | QMessageLogger(__FILE__, 3286, __PRETTY_FUNCTION__).warning("QSettings::value: Empty key passed"); | - | 
| 1949 | return executed 1 time by 1 testQVariant();:  return QVariant(); executed 1 time by 1 test:  return QVariant(); | 1 | 
| 1950 | } | - | 
| 1951 | QVariant result = defaultValue; | - | 
| 1952 | QString k = d->actualKey(key); | - | 
| 1953 | d->get(k, &result); | - | 
| 1954 | return executed 46301 times by 30 testsresult;:  return result;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 executed 46301 times by 30 tests:  return result;Executed by:tst_QAbstractItemViewtst_QAccessibilitytst_QCalendarWidgettst_QColorDialogtst_QCommandLinkButtontst_QCompletertst_QDateTimeEdittst_QErrorMessagetst_QFileDialog2tst_QFileIconProvidertst_QFileSystemModeltst_QFiledialogtst_QGraphicsProxyWidgettst_QIcontst_QLabeltst_QLineEdittst_QMessageBoxtst_QPlainTextEdittst_QPrintertst_QSettingstst_QSidebartst_QStyletst_QStyleSheetStyletst_QSystemTrayIcontst_QTextEdit...
 | 46301 | 
| 1955 | } | - | 
| 1956 | void QSettings::setDefaultFormat(Format format) | - | 
| 1957 | { | - | 
| 1958 | globalDefaultFormat = format; | - | 
| 1959 | } executed 2 times by 1 test:  end of block | 2 | 
| 1960 | QSettings::Format QSettings::defaultFormat() | - | 
| 1961 | { | - | 
| 1962 | return executed 2 times by 1 testglobalDefaultFormat;:  return globalDefaultFormat; executed 2 times by 1 test:  return globalDefaultFormat; | 2 | 
| 1963 | } | - | 
| 1964 | void QSettings::setSystemIniPath(const QString &dir) | - | 
| 1965 | { | - | 
| 1966 | setPath(IniFormat, SystemScope, dir); | - | 
| 1967 |  | - | 
| 1968 | setPath(NativeFormat, SystemScope, dir); | - | 
| 1969 |  | - | 
| 1970 | } executed 140 times by 1 test:  end of block | 140 | 
| 1971 |  | - | 
| 1972 |  | - | 
| 1973 |  | - | 
| 1974 |  | - | 
| 1975 |  | - | 
| 1976 |  | - | 
| 1977 |  | - | 
| 1978 | void QSettings::setUserIniPath(const QString &dir) | - | 
| 1979 | { | - | 
| 1980 | setPath(IniFormat, UserScope, dir); | - | 
| 1981 |  | - | 
| 1982 | setPath(NativeFormat, UserScope, dir); | - | 
| 1983 |  | - | 
| 1984 | } executed 140 times by 1 test:  end of block | 140 | 
| 1985 | void QSettings::setPath(Format format, Scope scope, const QString &path) | - | 
| 1986 | { | - | 
| 1987 | QMutexLocker locker(&settingsGlobalMutex); | - | 
| 1988 | PathHash *pathHash = pathHashFunc(); | - | 
| 1989 | if (pathHash->isEmpty() )| TRUE | evaluated 1 time by 1 test |  | FALSE | evaluated 567 times by 1 test | 
 | 1-567 | 
| 1990 | initDefaultPaths(&locker); executed 1 time by 1 test:  initDefaultPaths(&locker); | 1 | 
| 1991 | pathHash->insert(pathHashKey(format, scope), path + QDir::separator()); | - | 
| 1992 | } executed 568 times by 1 test:  end of block | 568 | 
| 1993 | QSettings::Format QSettings::registerFormat(const QString &extension, ReadFunc readFunc, | - | 
| 1994 | WriteFunc writeFunc, | - | 
| 1995 | Qt::CaseSensitivity caseSensitivity) | - | 
| 1996 | { | - | 
| 1997 |  | - | 
| 1998 | ((!(caseSensitivity == Qt::CaseSensitive)) ? qt_assert("caseSensitivity == Qt::CaseSensitive",__FILE__,3475) : qt_noop()); | - | 
| 1999 |  | - | 
| 2000 |  | - | 
| 2001 | QMutexLocker locker(&settingsGlobalMutex); | - | 
| 2002 | CustomFormatVector *customFormatVector = customFormatVectorFunc(); | - | 
| 2003 | int index = customFormatVector->size(); | - | 
| 2004 | if (index == 16 )| TRUE | never evaluated |  | FALSE | evaluated 3 times by 1 test | 
 | 0-3 | 
| 2005 | return never executed: QSettings::InvalidFormat;return QSettings::InvalidFormat; never executed: return QSettings::InvalidFormat; | 0 | 
| 2006 |  | - | 
| 2007 | QConfFileCustomFormat info; | - | 
| 2008 | info.extension = QLatin1Char('.') + extension; | - | 
| 2009 | info.readFunc = readFunc; | - | 
| 2010 | info.writeFunc = writeFunc; | - | 
| 2011 | info.caseSensitivity = caseSensitivity; | - | 
| 2012 | customFormatVector->append(info); | - | 
| 2013 |  | - | 
| 2014 | return executed 3 times by 1 testQSettings::Format((int)QSettings::CustomFormat1 + index);:  return QSettings::Format((int)QSettings::CustomFormat1 + index); executed 3 times by 1 test:  return QSettings::Format((int)QSettings::CustomFormat1 + index); | 3 | 
| 2015 | } | - | 
| 2016 |  | - | 
| 2017 |  | - | 
|  |  |  |