2024-03-27 06:33 ftp://ftp.de.debian.org/debian/pool/main/g/ghostwriter/ghostwriter_23.04.3+ds.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=qt --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-18-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.55 compiler: g++ (Debian 12.2.0-14) 12.2.0 cppcheck: head 2.13.0 head-info: 99853e4 (2024-03-27 05:16:23 +0100) count: 533 457 elapsed-time: 2.1 1.6 head-timing-info: old-timing-info: head results: ghostwriter-23.04.3/3rdparty/QtAwesome/QtAwesomeAnim.h:19:5: style: Class 'QtAwesomeAnimation' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/autotest/bookmark/bookmarktest.cpp:42:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/autotest/bookmark/bookmarktest.cpp:187:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inputPosition [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/bookmark.h:35:5: style: Class 'Bookmark' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/autotest/asynctextwriter/asynctextwritertest.cpp:72:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable writeComplete [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/autotest/asynctextwriter/asynctextwritertest.cpp:149:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Utf8 [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/autotest/asynctextwriter/asynctextwritertest.cpp:313:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/autotest/asynctextwriter/asynctextwritertest.cpp:376:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOwner [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/autotest/asynctextwriter/asynctextwritertest.cpp:424:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable writeComplete [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/autotest/bookmark/bookmarktest.cpp:204:5: warning: Either the condition 'nullptr!=bookmark' is redundant or there is possible null pointer dereference: bookmark. [nullPointerRedundantCheck] ghostwriter-23.04.3/autotest/bookmark/bookmarktest.cpp:210:17: note: Assuming that condition 'nullptr!=bookmark' is not redundant ghostwriter-23.04.3/autotest/bookmark/bookmarktest.cpp:204:5: note: Null pointer dereference ghostwriter-23.04.3/autotest/bookmark/bookmarktest.cpp:205:5: warning: Either the condition 'nullptr!=bookmark' is redundant or there is possible null pointer dereference: bookmark. [nullPointerRedundantCheck] ghostwriter-23.04.3/autotest/bookmark/bookmarktest.cpp:210:17: note: Assuming that condition 'nullptr!=bookmark' is not redundant ghostwriter-23.04.3/autotest/bookmark/bookmarktest.cpp:205:5: note: Null pointer dereference ghostwriter-23.04.3/autotest/bookmark/bookmarktest.cpp:206:5: warning: Either the condition 'nullptr!=bookmark' is redundant or there is possible null pointer dereference: bookmark. [nullPointerRedundantCheck] ghostwriter-23.04.3/autotest/bookmark/bookmarktest.cpp:210:17: note: Assuming that condition 'nullptr!=bookmark' is not redundant ghostwriter-23.04.3/autotest/bookmark/bookmarktest.cpp:206:5: note: Null pointer dereference ghostwriter-23.04.3/autotest/bookmark/bookmarktest.cpp:207:5: warning: Either the condition 'nullptr!=bookmark' is redundant or there is possible null pointer dereference: bookmark. [nullPointerRedundantCheck] ghostwriter-23.04.3/autotest/bookmark/bookmarktest.cpp:210:17: note: Assuming that condition 'nullptr!=bookmark' is not redundant ghostwriter-23.04.3/autotest/bookmark/bookmarktest.cpp:207:5: note: Null pointer dereference ghostwriter-23.04.3/autotest/bookmark/bookmarktest.cpp:208:5: warning: Either the condition 'nullptr!=bookmark' is redundant or there is possible null pointer dereference: bookmark. [nullPointerRedundantCheck] ghostwriter-23.04.3/autotest/bookmark/bookmarktest.cpp:210:17: note: Assuming that condition 'nullptr!=bookmark' is not redundant ghostwriter-23.04.3/autotest/bookmark/bookmarktest.cpp:208:5: note: Null pointer dereference ghostwriter-23.04.3/autotest/asynctextwriter/asynctextwritertest.cpp:371:9: style: Error code from the return value of function dir.cd() is not used. [ignoredReturnErrorCode] ghostwriter-23.04.3/autotest/asynctextwriter/asynctextwritertest.cpp:391:9: style: Error code from the return value of function dir.cdUp() is not used. [ignoredReturnErrorCode] ghostwriter-23.04.3/src/asynctextwriter.h:44:5: style: Class 'AsyncTextWriter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/autotest/asynctextwriter/asynctextwritertest.cpp:331:32: style: Same expression 'QFileDevice::ReadOwner' found multiple times in chain of '|' operators. [duplicateExpression] ghostwriter-23.04.3/autotest/asynctextwriter/asynctextwritertest.cpp:378:32: style: Same expression 'QFileDevice::ReadOwner' found multiple times in chain of '|' operators. [duplicateExpression] ghostwriter-23.04.3/autotest/asynctextwriter/asynctextwritertest.cpp:121:21: style: Local variable 'actualContents' shadows outer variable [shadowVariable] ghostwriter-23.04.3/autotest/asynctextwriter/asynctextwritertest.cpp:63:13: note: Shadowed declaration ghostwriter-23.04.3/autotest/asynctextwriter/asynctextwritertest.cpp:121:21: note: Shadow variable ghostwriter-23.04.3/src/abstractstatisticswidget.cpp:85:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AlignRight [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/autotest/asynctextwriter/asynctextwritertest.cpp:220:22: style: Variable 'fileName' is assigned a value that is never used. [unreadVariable] ghostwriter-23.04.3/autotest/library/librarytest.cpp:99:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IniFormat [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/autotest/library/librarytest.cpp:215:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inputs [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/autotest/library/librarytest.cpp:308:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inputs [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/autotest/library/librarytest.cpp:447:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable existing [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/autotest/library/librarytest.cpp:600:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable existing [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/autotest/library/librarytest.cpp:707:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable existing [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/autotest/library/librarytest.cpp:811:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable existing [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/autotest/library/librarytest.cpp:859:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable existing [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/abstractstatisticswidget.h:25:5: style: Class 'AbstractStatisticsWidget' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/autotest/library/librarytest.cpp:314:15: style: Local variable 'recentFiles' shadows outer function [shadowFunction] ghostwriter-23.04.3/autotest/library/librarytest.cpp:55:10: note: Shadowed declaration ghostwriter-23.04.3/autotest/library/librarytest.cpp:314:15: note: Shadow variable ghostwriter-23.04.3/autotest/library/librarytest.cpp:468:15: style: Local variable 'recentFiles' shadows outer function [shadowFunction] ghostwriter-23.04.3/autotest/library/librarytest.cpp:55:10: note: Shadowed declaration ghostwriter-23.04.3/autotest/library/librarytest.cpp:468:15: note: Shadow variable ghostwriter-23.04.3/autotest/library/librarytest.cpp:624:15: style: Local variable 'recentFiles' shadows outer function [shadowFunction] ghostwriter-23.04.3/autotest/library/librarytest.cpp:55:10: note: Shadowed declaration ghostwriter-23.04.3/autotest/library/librarytest.cpp:624:15: note: Shadow variable ghostwriter-23.04.3/autotest/library/librarytest.cpp:723:15: style: Local variable 'recentFiles' shadows outer function [shadowFunction] ghostwriter-23.04.3/autotest/library/librarytest.cpp:55:10: note: Shadowed declaration ghostwriter-23.04.3/autotest/library/librarytest.cpp:723:15: note: Shadow variable ghostwriter-23.04.3/autotest/library/librarytest.cpp:869:15: style: Local variable 'recentFiles' shadows outer function [shadowFunction] ghostwriter-23.04.3/autotest/library/librarytest.cpp:55:10: note: Shadowed declaration ghostwriter-23.04.3/autotest/library/librarytest.cpp:869:15: note: Shadow variable ghostwriter-23.04.3/autotest/library/librarytest.cpp:715:28: performance: Range variable 'b' should be declared as const reference. [iterateByValue] ghostwriter-23.04.3/src/asynctextwriter.cpp:27:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/asynctextwriter.cpp:164:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Utf8 [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/asynctextwriter.cpp:182:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/asynctextwriter.cpp:27:5: performance:inconclusive: Technically the member function 'ghostwriter::AsyncTextWriterPrivate::d_func' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/asynctextwriter.cpp:30:5: style: Class 'AsyncTextWriterPrivate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/asynctextwriter.cpp:130:52: style: Condition 'd->fileName.isEmpty()' is always false [knownConditionTrueFalse] ghostwriter-23.04.3/src/asynctextwriter.cpp:130:27: note: Assuming that condition 'd->fileName.isNull()' is not redundant ghostwriter-23.04.3/src/asynctextwriter.cpp:130:52: note: Condition 'd->fileName.isEmpty()' is always false ghostwriter-23.04.3/src/asynctextwriter.cpp:152:52: style: Condition 'd->fileName.isEmpty()' is always false [knownConditionTrueFalse] ghostwriter-23.04.3/src/asynctextwriter.cpp:152:27: note: Assuming that condition 'd->fileName.isNull()' is not redundant ghostwriter-23.04.3/src/asynctextwriter.cpp:152:52: note: Condition 'd->fileName.isEmpty()' is always false ghostwriter-23.04.3/src/asynctextwriter.cpp:215:26: style: Condition '!err.isEmpty()' is always true [knownConditionTrueFalse] ghostwriter-23.04.3/src/asynctextwriter.cpp:215:20: note: Assuming that condition 'err.isNull()' is not redundant ghostwriter-23.04.3/src/asynctextwriter.cpp:215:26: note: Condition '!err.isEmpty()' is always true ghostwriter-23.04.3/src/bookmark.cpp:16:5: warning: Member variable 'BookmarkPrivate::position' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/appsettings.cpp:515:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GenericDataLocation [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/appsettings.cpp:649:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GenericDataLocation [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/appsettings.cpp:819:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Monospace [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/cmarkgfmapi.cpp:60:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMARK_OPT_DEFAULT [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/cmarkgfmapi.cpp:98:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMARK_OPT_DEFAULT [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/cmarkgfmapi.cpp:19:5: warning: Member variable 'CmarkGfmAPIPrivate::tableExt' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/cmarkgfmapi.cpp:19:5: warning: Member variable 'CmarkGfmAPIPrivate::strikethroughExt' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/cmarkgfmapi.cpp:19:5: warning: Member variable 'CmarkGfmAPIPrivate::autolinkExt' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/cmarkgfmapi.cpp:19:5: warning: Member variable 'CmarkGfmAPIPrivate::tagfilterExt' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/cmarkgfmapi.cpp:19:5: warning: Member variable 'CmarkGfmAPIPrivate::tasklistExt' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/markdownnode.h:73:5: style: Class 'MarkdownNode' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/memoryarena.h:35:5: style: Class 'MemoryArena' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/markdownast.h:44:5: style: Class 'MarkdownAST' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/cmarkgfmapi.cpp:118:11: style: Variable 'output' can be declared as pointer to const [constVariablePointer] ghostwriter-23.04.3/src/appsettings.cpp:62:5: warning: Member variable 'AppSettingsPrivate::autoMatchEnabled' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/appsettings.cpp:62:5: warning: Member variable 'AppSettingsPrivate::autoSaveEnabled' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/appsettings.cpp:62:5: warning: Member variable 'AppSettingsPrivate::backupFileEnabled' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/appsettings.cpp:62:5: warning: Member variable 'AppSettingsPrivate::bulletPointCyclingEnabled' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/appsettings.cpp:62:5: warning: Member variable 'AppSettingsPrivate::displayTimeInFullScreenEnabled' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/appsettings.cpp:62:5: warning: Member variable 'AppSettingsPrivate::favoriteStatistic' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/appsettings.cpp:62:5: warning: Member variable 'AppSettingsPrivate::restoreSessionEnabled' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/appsettings.cpp:62:5: warning: Member variable 'AppSettingsPrivate::fileHistoryEnabled' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/appsettings.cpp:62:5: warning: Member variable 'AppSettingsPrivate::hideMenuBarInFullScreenEnabled' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/appsettings.cpp:62:5: warning: Member variable 'AppSettingsPrivate::htmlPreviewVisible' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/appsettings.cpp:62:5: warning: Member variable 'AppSettingsPrivate::sidebarVisible' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/appsettings.cpp:62:5: warning: Member variable 'AppSettingsPrivate::insertSpacesForTabsEnabled' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/appsettings.cpp:62:5: warning: Member variable 'AppSettingsPrivate::largeHeadingSizesEnabled' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/appsettings.cpp:62:5: warning: Member variable 'AppSettingsPrivate::liveSpellCheckEnabled' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/appsettings.cpp:62:5: warning: Member variable 'AppSettingsPrivate::useUnderlineForEmphasis' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/appsettings.cpp:62:5: warning: Member variable 'AppSettingsPrivate::editorWidth' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/appsettings.cpp:62:5: warning: Member variable 'AppSettingsPrivate::currentHtmlExporter' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/appsettings.cpp:62:5: warning: Member variable 'AppSettingsPrivate::focusMode' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/appsettings.cpp:62:5: warning: Member variable 'AppSettingsPrivate::tabWidth' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/appsettings.cpp:62:5: warning: Member variable 'AppSettingsPrivate::interfaceStyle' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/appsettings.cpp:62:5: warning: Member variable 'AppSettingsPrivate::italicizeBlockquotes' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/appsettings.cpp:62:5: warning: Member variable 'AppSettingsPrivate::darkModeEnabled' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/appsettings.cpp:72:13: performance:inconclusive: Technically the member function 'ghostwriter::AppSettingsPrivate::initialLocale' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/appsettings.cpp:823:29: note: Technically the member function 'ghostwriter::AppSettingsPrivate::initialLocale' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/appsettings.cpp:72:13: note: Technically the member function 'ghostwriter::AppSettingsPrivate::initialLocale' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/appsettings.cpp:73:13: performance:inconclusive: Technically the member function 'ghostwriter::AppSettingsPrivate::firstAvailableFont' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/appsettings.cpp:785:29: note: Technically the member function 'ghostwriter::AppSettingsPrivate::firstAvailableFont' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/appsettings.cpp:73:13: note: Technically the member function 'ghostwriter::AppSettingsPrivate::firstAvailableFont' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/appsettings.cpp:828:32: style: Condition '!languages.isEmpty()' is always true [knownConditionTrueFalse] ghostwriter-23.04.3/src/appsettings.cpp:828:26: note: Assuming that condition 'languages.isNull()' is not redundant ghostwriter-23.04.3/src/appsettings.cpp:828:32: note: Condition '!languages.isEmpty()' is always true ghostwriter-23.04.3/src/appsettings.cpp:794:10: style: The scope of the variable 'fontMatchFound' can be reduced. [variableScope] ghostwriter-23.04.3/src/cmarkgfmexporter.cpp:64:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/appsettings.cpp:655:19: style: Local variable 'locale' shadows outer function [shadowFunction] ghostwriter-23.04.3/src/appsettings.h:120:13: note: Shadowed declaration ghostwriter-23.04.3/src/appsettings.cpp:655:19: note: Shadow variable ghostwriter-23.04.3/src/appsettings.cpp:651:15: performance: Range variable 'path' should be declared as const reference. [iterateByValue] ghostwriter-23.04.3/src/appsettings.cpp:459:5: style: Variable 'd' can be declared as pointer to const [constVariablePointer] ghostwriter-23.04.3/src/appsettings.cpp:794:25: style: Variable 'fontMatchFound' is assigned a value that is never used. [unreadVariable] ghostwriter-23.04.3/src/commandlineexporter.cpp:212:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable StandardOutput [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/commandlineexporter.h:32:5: style: Class 'CommandLineExporter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/commandlineexporter.h:37:6: style: The destructor '~CommandLineExporter' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ghostwriter-23.04.3/src/exporter.h:34:14: note: Virtual destructor in base class ghostwriter-23.04.3/src/commandlineexporter.h:37:6: note: Destructor in derived class ghostwriter-23.04.3/src/commandlineexporter.cpp:121:70: style: Condition 'd->htmlRenderCommand.isEmpty()' is always false [knownConditionTrueFalse] ghostwriter-23.04.3/src/commandlineexporter.cpp:121:36: note: Assuming that condition 'd->htmlRenderCommand.isNull()' is not redundant ghostwriter-23.04.3/src/commandlineexporter.cpp:121:70: note: Condition 'd->htmlRenderCommand.isEmpty()' is always false ghostwriter-23.04.3/src/commandlineexporter.cpp:142:39: style: Condition '!stderrOutput.isEmpty()' is always true [knownConditionTrueFalse] ghostwriter-23.04.3/src/commandlineexporter.cpp:142:33: note: Assuming that condition 'stderrOutput.isNull()' is not redundant ghostwriter-23.04.3/src/commandlineexporter.cpp:142:39: note: Condition '!stderrOutput.isEmpty()' is always true ghostwriter-23.04.3/src/commandlineexporter.cpp:188:39: style: Condition '!stderrOutput.isEmpty()' is always true [knownConditionTrueFalse] ghostwriter-23.04.3/src/commandlineexporter.cpp:188:33: note: Assuming that condition 'stderrOutput.isNull()' is not redundant ghostwriter-23.04.3/src/commandlineexporter.cpp:188:39: note: Condition '!stderrOutput.isEmpty()' is always true ghostwriter-23.04.3/src/commandlineexporter.cpp:216:37: style: Condition '!outputFilePath.isEmpty()' is always true [knownConditionTrueFalse] ghostwriter-23.04.3/src/commandlineexporter.cpp:216:31: note: Assuming that condition 'outputFilePath.isNull()' is not redundant ghostwriter-23.04.3/src/commandlineexporter.cpp:216:37: note: Condition '!outputFilePath.isEmpty()' is always true ghostwriter-23.04.3/src/commandlineexporter.cpp:259:36: style: Condition '!inputFilePath.isEmpty()' is always true [knownConditionTrueFalse] ghostwriter-23.04.3/src/commandlineexporter.cpp:259:30: note: Assuming that condition 'inputFilePath.isNull()' is not redundant ghostwriter-23.04.3/src/commandlineexporter.cpp:259:36: note: Condition '!inputFilePath.isEmpty()' is always true ghostwriter-23.04.3/src/commandlineexporter.cpp:274:36: style: Condition '!textInput.isEmpty()' is always true [knownConditionTrueFalse] ghostwriter-23.04.3/src/commandlineexporter.cpp:274:30: note: Assuming that condition 'textInput.isNull()' is not redundant ghostwriter-23.04.3/src/commandlineexporter.cpp:274:36: note: Condition '!textInput.isEmpty()' is always true ghostwriter-23.04.3/src/appmain.cpp:38:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AA_UseSoftwareOpenGL [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/3rdparty/QtAwesome/QtAwesome.cpp:49:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Off [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/3rdparty/QtAwesome/QtAwesome.cpp:86:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Antialiasing [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/3rdparty/QtAwesome/QtAwesome.cpp:175:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable transparent [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/3rdparty/QtAwesome/QtAwesome.cpp:2366:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QtAwesomeFree [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/3rdparty/QtAwesome/QtAwesome.h:2198:13: performance: Variable '_fontFilename' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] ghostwriter-23.04.3/3rdparty/QtAwesome/QtAwesome.h:2199:13: performance: Variable '_fontFamily' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] ghostwriter-23.04.3/3rdparty/QtAwesome/QtAwesome.h:2197:9: style: Class 'FontData' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/markdowndocument.h:34:5: style: Class 'MarkdownDocument' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/markdowndocument.h:39:5: style: Class 'MarkdownDocument' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/documentmanager.h:35:5: style: Class 'DocumentManager' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/documentstatistics.h:31:5: style: Class 'DocumentStatistics' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/documentstatisticswidget.h:29:5: style: Class 'DocumentStatisticsWidget' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/findreplace.h:31:5: style: Class 'FindReplace' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/outlinewidget.h:28:5: style: Class 'OutlineWidget' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/sessionstatistics.h:27:5: style: Class 'SessionStatistics' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/sessionstatisticswidget.h:29:5: style: Class 'SessionStatisticsWidget' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/sidebar.h:36:5: style: Class 'Sidebar' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/spelling/spellcheckdecorator.h:37:5: style: Class 'SpellCheckDecorator' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/mainwindow.h:47:5: style: Class 'MainWindow' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/documentstatisticswidget.h:34:14: style: The destructor '~DocumentStatisticsWidget' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ghostwriter-23.04.3/src/abstractstatisticswidget.h:26:14: note: Virtual destructor in base class ghostwriter-23.04.3/src/documentstatisticswidget.h:34:14: note: Destructor in derived class ghostwriter-23.04.3/src/sessionstatisticswidget.h:34:14: style: The destructor '~SessionStatisticsWidget' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ghostwriter-23.04.3/src/abstractstatisticswidget.h:26:14: note: Virtual destructor in base class ghostwriter-23.04.3/src/sessionstatisticswidget.h:34:14: note: Destructor in derived class ghostwriter-23.04.3/3rdparty/QtAwesome/QtAwesome.h:2182:41: performance: Function parameter 'st' should be passed by const reference. [passedByValue] ghostwriter-23.04.3/3rdparty/QtAwesome/QtAwesome.cpp:30:17: performance:inconclusive: Technically the member function 'QtAwesomeCharIconPainter::optionKeysForModeAndState' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/3rdparty/QtAwesome/QtAwesome.cpp:28:14: style: The destructor '~QtAwesomeCharIconPainter' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ghostwriter-23.04.3/3rdparty/QtAwesome/QtAwesome.h:2242:14: note: Virtual destructor in base class ghostwriter-23.04.3/3rdparty/QtAwesome/QtAwesome.cpp:28:14: note: Destructor in derived class ghostwriter-23.04.3/3rdparty/QtAwesome/QtAwesome.cpp:82:18: style: The function 'paint' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] ghostwriter-23.04.3/3rdparty/QtAwesome/QtAwesome.h:2243:18: note: Virtual function in base class ghostwriter-23.04.3/3rdparty/QtAwesome/QtAwesome.cpp:82:18: note: Function in derived class ghostwriter-23.04.3/src/colorschemepreviewer.cpp:92:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoFrame [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/3rdparty/QtAwesome/QtAwesome.cpp:2578:48: performance: Function parameter 'st' should be passed by const reference. [passedByValue] ghostwriter-23.04.3/src/colorschemepreviewer.cpp:147:5: style: Variable 'd' can be declared as pointer to const [constVariablePointer] ghostwriter-23.04.3/src/documentstatistics.cpp:16:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/documentstatistics.cpp:371:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Sentence [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/documentmanager.cpp:36:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/documentmanager.cpp:185:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DocumentsLocation [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/documentmanager.cpp:435:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Yes [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/documentmanager.cpp:683:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Yes [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/documentmanager.cpp:730:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/documentmanager.cpp:872:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Save [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/documentmanager.cpp:904:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Yes [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/documentstatisticswidget.cpp:18:5: warning: Member variable 'DocumentStatisticsWidgetPrivate::wordCountLabel' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/documentstatisticswidget.cpp:18:5: warning: Member variable 'DocumentStatisticsWidgetPrivate::characterCountLabel' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/documentstatisticswidget.cpp:18:5: warning: Member variable 'DocumentStatisticsWidgetPrivate::paragraphCountLabel' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/documentstatisticswidget.cpp:18:5: warning: Member variable 'DocumentStatisticsWidgetPrivate::sentenceCountLabel' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/documentstatisticswidget.cpp:18:5: warning: Member variable 'DocumentStatisticsWidgetPrivate::pageCountLabel' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/documentstatisticswidget.cpp:18:5: warning: Member variable 'DocumentStatisticsWidgetPrivate::complexWordsLabel' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/documentstatisticswidget.cpp:18:5: warning: Member variable 'DocumentStatisticsWidgetPrivate::readingTimeLabel' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/documentstatisticswidget.cpp:18:5: warning: Member variable 'DocumentStatisticsWidgetPrivate::lixReadingEaseLabel' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/documentstatisticswidget.cpp:18:5: warning: Member variable 'DocumentStatisticsWidgetPrivate::cliLabel' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/exportdialog.cpp:48:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Expanding [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/exportdialog.cpp:126:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AcceptSave [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/documentstatistics.cpp:20:5: warning: Member variable 'DocumentStatisticsPrivate::document' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/documentstatistics.cpp:20:5: warning: Member variable 'DocumentStatisticsPrivate::wordCount' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/documentstatistics.cpp:20:5: warning: Member variable 'DocumentStatisticsPrivate::totalWordCount' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/documentstatistics.cpp:20:5: warning: Member variable 'DocumentStatisticsPrivate::wordCharacterCount' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/documentstatistics.cpp:20:5: warning: Member variable 'DocumentStatisticsPrivate::sentenceCount' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/documentstatistics.cpp:20:5: warning: Member variable 'DocumentStatisticsPrivate::paragraphCount' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/documentstatistics.cpp:20:5: warning: Member variable 'DocumentStatisticsPrivate::pageCount' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/documentstatistics.cpp:20:5: warning: Member variable 'DocumentStatisticsPrivate::lixLongWordCount' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/documentstatistics.cpp:20:5: warning: Member variable 'DocumentStatisticsPrivate::readTimeMinutes' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/documentstatistics.cpp:16:5: performance:inconclusive: Technically the member function 'ghostwriter::DocumentStatisticsPrivate::d_func' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/documentstatistics.cpp:55:10: performance:inconclusive: Technically the member function 'ghostwriter::DocumentStatisticsPrivate::countWords' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/documentstatistics.cpp:284:33: note: Technically the member function 'ghostwriter::DocumentStatisticsPrivate::countWords' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/documentstatistics.cpp:55:10: note: Technically the member function 'ghostwriter::DocumentStatisticsPrivate::countWords' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/documentstatistics.cpp:62:9: performance:inconclusive: Technically the member function 'ghostwriter::DocumentStatisticsPrivate::countSentences' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/documentstatistics.cpp:364:32: note: Technically the member function 'ghostwriter::DocumentStatisticsPrivate::countSentences' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/documentstatistics.cpp:62:9: note: Technically the member function 'ghostwriter::DocumentStatisticsPrivate::countSentences' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/documentstatistics.cpp:63:9: performance:inconclusive: Technically the member function 'ghostwriter::DocumentStatisticsPrivate::calculatePageCount' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/documentstatistics.cpp:394:32: note: Technically the member function 'ghostwriter::DocumentStatisticsPrivate::calculatePageCount' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/documentstatistics.cpp:63:9: note: Technically the member function 'ghostwriter::DocumentStatisticsPrivate::calculatePageCount' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/documentstatistics.cpp:64:9: performance:inconclusive: Technically the member function 'ghostwriter::DocumentStatisticsPrivate::calculateCLI' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/documentstatistics.cpp:399:32: note: Technically the member function 'ghostwriter::DocumentStatisticsPrivate::calculateCLI' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/documentstatistics.cpp:64:9: note: Technically the member function 'ghostwriter::DocumentStatisticsPrivate::calculateCLI' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/documentstatistics.cpp:65:9: performance:inconclusive: Technically the member function 'ghostwriter::DocumentStatisticsPrivate::calculateLIX' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/documentstatistics.cpp:421:32: note: Technically the member function 'ghostwriter::DocumentStatisticsPrivate::calculateLIX' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/documentstatistics.cpp:65:9: note: Technically the member function 'ghostwriter::DocumentStatisticsPrivate::calculateLIX' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/documentstatistics.cpp:66:9: performance:inconclusive: Technically the member function 'ghostwriter::DocumentStatisticsPrivate::calculateComplexWords' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/documentstatistics.cpp:437:32: note: Technically the member function 'ghostwriter::DocumentStatisticsPrivate::calculateComplexWords' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/documentstatistics.cpp:66:9: note: Technically the member function 'ghostwriter::DocumentStatisticsPrivate::calculateComplexWords' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/documentstatistics.cpp:67:9: performance:inconclusive: Technically the member function 'ghostwriter::DocumentStatisticsPrivate::calculateReadingTime' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/documentstatistics.cpp:448:32: note: Technically the member function 'ghostwriter::DocumentStatisticsPrivate::calculateReadingTime' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/documentstatistics.cpp:67:9: note: Technically the member function 'ghostwriter::DocumentStatisticsPrivate::calculateReadingTime' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/documentstatistics.cpp:20:5: style: Class 'DocumentStatisticsPrivate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/documentstatistics.cpp:177:36: style: C-style pointer casting [cstyleCast] ghostwriter-23.04.3/src/documentstatistics.cpp:257:32: style: C-style pointer casting [cstyleCast] ghostwriter-23.04.3/src/documentstatistics.cpp:177:24: style: Variable 'blockData' can be declared as pointer to const [constVariablePointer] ghostwriter-23.04.3/src/documentstatistics.cpp:31:26: style: class member 'DocumentStatisticsPrivate::LESS_THAN_ONE_MINUTE_STR' is never used. [unusedStructMember] ghostwriter-23.04.3/src/documentstatistics.cpp:32:26: style: class member 'DocumentStatisticsPrivate::VERY_EASY_READING_EASE_STR' is never used. [unusedStructMember] ghostwriter-23.04.3/src/documentstatistics.cpp:33:26: style: class member 'DocumentStatisticsPrivate::EASY_READING_EASE_STR' is never used. [unusedStructMember] ghostwriter-23.04.3/src/documentstatistics.cpp:34:26: style: class member 'DocumentStatisticsPrivate::MEDIUM_READING_EASE_STR' is never used. [unusedStructMember] ghostwriter-23.04.3/src/documentstatistics.cpp:35:26: style: class member 'DocumentStatisticsPrivate::DIFFICULT_READING_EASE_STR' is never used. [unusedStructMember] ghostwriter-23.04.3/src/documentstatistics.cpp:36:26: style: class member 'DocumentStatisticsPrivate::VERY_DIFFICULT_READING_EASE_STR' is never used. [unusedStructMember] ghostwriter-23.04.3/src/exportdialog.h:37:5: style: Class 'ExportDialog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/exportdialog.cpp:134:43: style: Condition '!document->filePath().isEmpty()' is always true [knownConditionTrueFalse] ghostwriter-23.04.3/src/exportdialog.cpp:134:37: note: Assuming that condition 'document->filePath().isNull()' is not redundant ghostwriter-23.04.3/src/exportdialog.cpp:134:43: note: Condition '!document->filePath().isEmpty()' is always true ghostwriter-23.04.3/src/exportdialog.cpp:153:33: style: Condition '!fileSuffix.isEmpty()' is always true [knownConditionTrueFalse] ghostwriter-23.04.3/src/exportdialog.cpp:153:27: note: Assuming that condition 'fileSuffix.isNull()' is not redundant ghostwriter-23.04.3/src/exportdialog.cpp:153:33: note: Condition '!fileSuffix.isEmpty()' is always true ghostwriter-23.04.3/src/exportdialog.cpp:60:33: style: C-style pointer casting [cstyleCast] ghostwriter-23.04.3/src/exportdialog.cpp:69:26: style: C-style pointer casting [cstyleCast] ghostwriter-23.04.3/src/exportdialog.cpp:75:73: style: C-style pointer casting [cstyleCast] ghostwriter-23.04.3/src/exportdialog.cpp:148:26: style: C-style pointer casting [cstyleCast] ghostwriter-23.04.3/src/exportdialog.cpp:150:28: style: C-style pointer casting [cstyleCast] ghostwriter-23.04.3/src/exportdialog.cpp:210:26: style: C-style pointer casting [cstyleCast] ghostwriter-23.04.3/src/exportdialog.cpp:214:73: style: C-style pointer casting [cstyleCast] ghostwriter-23.04.3/src/exportdialog.cpp:55:19: style: Variable 'exporter' can be declared as pointer to const [constVariablePointer] ghostwriter-23.04.3/src/exportdialog.cpp:69:15: style: Variable 'exporter' can be declared as pointer to const [constVariablePointer] ghostwriter-23.04.3/src/exportdialog.cpp:150:19: style: Variable 'format' can be declared as pointer to const [constVariablePointer] ghostwriter-23.04.3/src/exportdialog.cpp:210:15: style: Variable 'exporter' can be declared as pointer to const [constVariablePointer] ghostwriter-23.04.3/src/exportformat.cpp:14:5: warning: Member variable 'ExportFormatPrivate::fileExtensionMandatoryFlag' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/exportformat.cpp:175:27: style: Condition '!name.isEmpty()' is always true [knownConditionTrueFalse] ghostwriter-23.04.3/src/exportformat.cpp:175:21: note: Assuming that condition 'name.isNull()' is not redundant ghostwriter-23.04.3/src/exportformat.cpp:175:27: note: Condition '!name.isEmpty()' is always true ghostwriter-23.04.3/src/exportformat.cpp:179:33: style: Condition '!fileFilter.isEmpty()' is always true [knownConditionTrueFalse] ghostwriter-23.04.3/src/exportformat.cpp:179:27: note: Assuming that condition 'fileFilter.isNull()' is not redundant ghostwriter-23.04.3/src/exportformat.cpp:179:33: note: Condition '!fileFilter.isEmpty()' is always true ghostwriter-23.04.3/src/exportdialog.cpp:129:31: style: Variable 'selectedFiles' is assigned a value that is never used. [unreadVariable] ghostwriter-23.04.3/src/documentmanager.cpp:41:5: warning: Member variable 'DocumentManagerPrivate::document' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/documentmanager.cpp:41:5: warning: Member variable 'DocumentManagerPrivate::editor' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/documentmanager.cpp:41:5: warning: Member variable 'DocumentManagerPrivate::fileWatcher' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/documentmanager.cpp:41:5: warning: Member variable 'DocumentManagerPrivate::fileHistoryEnabled' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/documentmanager.cpp:41:5: warning: Member variable 'DocumentManagerPrivate::createBackupOnSave' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/documentmanager.cpp:41:5: warning: Member variable 'DocumentManagerPrivate::writer' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/documentmanager.cpp:41:5: warning: Member variable 'DocumentManagerPrivate::saveInProgress' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/documentmanager.cpp:41:5: warning: Member variable 'DocumentManagerPrivate::autoSaveTimer' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/documentmanager.cpp:41:5: warning: Member variable 'DocumentManagerPrivate::autoSaveEnabled' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/documentmanager.cpp:41:5: warning: Member variable 'DocumentManagerPrivate::documentModifiedNotifVisible' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/documentmanager.cpp:36:5: performance:inconclusive: Technically the member function 'ghostwriter::DocumentManagerPrivate::d_func' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/documentmanager.cpp:41:5: style: Class 'DocumentManagerPrivate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/documentmanager.cpp:217:34: style: Condition '!err.isEmpty()' is always true [knownConditionTrueFalse] ghostwriter-23.04.3/src/documentmanager.cpp:217:28: note: Assuming that condition 'err.isNull()' is not redundant ghostwriter-23.04.3/src/documentmanager.cpp:217:34: note: Condition '!err.isEmpty()' is always true ghostwriter-23.04.3/src/documentmanager.cpp:344:35: style: Condition '!filePath.isEmpty()' is always true [knownConditionTrueFalse] ghostwriter-23.04.3/src/documentmanager.cpp:344:29: note: Assuming that condition 'filePath.isNull()' is not redundant ghostwriter-23.04.3/src/documentmanager.cpp:344:35: note: Condition '!filePath.isEmpty()' is always true ghostwriter-23.04.3/src/documentmanager.cpp:363:31: style: Condition '!path.isEmpty()' is always true [knownConditionTrueFalse] ghostwriter-23.04.3/src/documentmanager.cpp:363:25: note: Assuming that condition 'path.isNull()' is not redundant ghostwriter-23.04.3/src/documentmanager.cpp:363:31: note: Condition '!path.isEmpty()' is always true ghostwriter-23.04.3/src/documentmanager.cpp:470:35: style: Condition '!filePath.isEmpty()' is always true [knownConditionTrueFalse] ghostwriter-23.04.3/src/documentmanager.cpp:470:29: note: Assuming that condition 'filePath.isNull()' is not redundant ghostwriter-23.04.3/src/documentmanager.cpp:470:35: note: Condition '!filePath.isEmpty()' is always true ghostwriter-23.04.3/src/documentmanager.cpp:549:31: style: Condition '!filePath.isEmpty()' is always true [knownConditionTrueFalse] ghostwriter-23.04.3/src/documentmanager.cpp:549:25: note: Assuming that condition 'filePath.isNull()' is not redundant ghostwriter-23.04.3/src/documentmanager.cpp:549:31: note: Condition '!filePath.isEmpty()' is always true ghostwriter-23.04.3/src/documentmanager.cpp:833:31: style: Condition '!filePath.isEmpty()' is always true [knownConditionTrueFalse] ghostwriter-23.04.3/src/documentmanager.cpp:833:25: note: Assuming that condition 'filePath.isNull()' is not redundant ghostwriter-23.04.3/src/documentmanager.cpp:833:31: note: Condition '!filePath.isEmpty()' is always true ghostwriter-23.04.3/src/documentmanager.cpp:188:19: style: C-style pointer casting [cstyleCast] ghostwriter-23.04.3/src/documentmanager.cpp:379:18: style: The scope of the variable 'oldFileWasNew' can be reduced. [variableScope] ghostwriter-23.04.3/src/htmlpreview.cpp:35:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/htmlpreview.cpp:106:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Preferred [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/exporterfactory.cpp:46:20: performance:inconclusive: Technically the member function 'ghostwriter::ExporterFactoryPrivate::isCommandAvailable' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/exporterfactory.cpp:277:40: note: Technically the member function 'ghostwriter::ExporterFactoryPrivate::isCommandAvailable' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/exporterfactory.cpp:46:20: note: Technically the member function 'ghostwriter::ExporterFactoryPrivate::isCommandAvailable' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/exporterfactory.cpp:148:31: style: Condition 'majorVersion>1' is always true [knownConditionTrueFalse] ghostwriter-23.04.3/src/exporterfactory.cpp:145:26: note: Assuming that condition 'majorVersion>=2' is not redundant ghostwriter-23.04.3/src/exporterfactory.cpp:148:31: note: Condition 'majorVersion>1' is always true ghostwriter-23.04.3/src/exporterfactory.cpp:87:5: style: Variable 'd' can be declared as pointer to const [constVariablePointer] ghostwriter-23.04.3/src/exporterfactory.cpp:94:5: style: Variable 'd' can be declared as pointer to const [constVariablePointer] ghostwriter-23.04.3/src/exporterfactory.cpp:101:5: style: Variable 'd' can be declared as pointer to const [constVariablePointer] ghostwriter-23.04.3/src/exporterfactory.cpp:136:23: style: Variable 'cmarkGfmExporter' can be declared as pointer to const [constVariablePointer] ghostwriter-23.04.3/src/exporterfactory.cpp:105:39: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] ghostwriter-23.04.3/src/exporterfactory.cpp:116:39: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] ghostwriter-23.04.3/src/htmlpreview.cpp:38:5: warning: Member variable 'HtmlPreviewPrivate::document' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/htmlpreview.cpp:38:5: warning: Member variable 'HtmlPreviewPrivate::updateInProgress' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/htmlpreview.cpp:38:5: warning: Member variable 'HtmlPreviewPrivate::updateAgain' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/htmlpreview.cpp:38:5: warning: Member variable 'HtmlPreviewPrivate::exporter' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/htmlpreview.cpp:38:5: warning: Member variable 'HtmlPreviewPrivate::futureWatcher' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/htmlpreview.cpp:35:5: performance:inconclusive: Technically the member function 'ghostwriter::HtmlPreviewPrivate::d_func' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/htmlpreview.cpp:62:10: performance:inconclusive: Technically the member function 'ghostwriter::HtmlPreviewPrivate::onLoadFinished' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/htmlpreview.cpp:275:26: note: Technically the member function 'ghostwriter::HtmlPreviewPrivate::onLoadFinished' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/htmlpreview.cpp:62:10: note: Technically the member function 'ghostwriter::HtmlPreviewPrivate::onLoadFinished' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/sandboxedwebpage.h:25:5: style: Class 'SandboxedWebPage' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/htmlpreview.cpp:38:5: style: Class 'HtmlPreviewPrivate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/htmlpreview.cpp:211:35: style: Condition '!text.isEmpty()' is always true [knownConditionTrueFalse] ghostwriter-23.04.3/src/htmlpreview.cpp:211:29: note: Assuming that condition 'text.isNull()' is not redundant ghostwriter-23.04.3/src/htmlpreview.cpp:211:35: note: Condition '!text.isEmpty()' is always true ghostwriter-23.04.3/src/htmlpreview.cpp:289:43: style: Condition '!document->filePath().isEmpty()' is always true [knownConditionTrueFalse] ghostwriter-23.04.3/src/htmlpreview.cpp:289:37: note: Assuming that condition 'document->filePath().isNull()' is not redundant ghostwriter-23.04.3/src/htmlpreview.cpp:289:43: note: Condition '!document->filePath().isEmpty()' is always true ghostwriter-23.04.3/src/localedialog.cpp:37:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WA_DeleteOnClose [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/localedialog.cpp:25:5: warning: Member variable 'LocaleDialogPrivate::languageButton' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/localedialog.cpp:47:68: style: Condition 'currentLanguageCode.isEmpty()' is always false [knownConditionTrueFalse] ghostwriter-23.04.3/src/localedialog.cpp:47:35: note: Assuming that condition 'currentLanguageCode.isNull()' is not redundant ghostwriter-23.04.3/src/localedialog.cpp:47:68: note: Condition 'currentLanguageCode.isEmpty()' is always false ghostwriter-23.04.3/src/markdownast.cpp:217:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/markdowndocument.cpp:18:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/markdowndocument.cpp:21:5: warning: Member variable 'MarkdownDocumentPrivate::readOnlyFlag' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/markdowndocument.cpp:21:5: warning: Member variable 'MarkdownDocumentPrivate::ast' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/markdowndocument.cpp:18:5: performance:inconclusive: Technically the member function 'ghostwriter::MarkdownDocumentPrivate::d_func' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/markdowndocument.cpp:21:5: style: Class 'MarkdownDocumentPrivate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/markdowndocument.cpp:84:27: style: Condition '!path.isEmpty()' is always true [knownConditionTrueFalse] ghostwriter-23.04.3/src/markdowndocument.cpp:84:21: note: Assuming that condition 'path.isNull()' is not redundant ghostwriter-23.04.3/src/markdowndocument.cpp:84:27: note: Condition '!path.isEmpty()' is always true ghostwriter-23.04.3/src/markdowndocument.cpp:102:55: style: Return value 'd->filePath.isEmpty()' is always false [knownConditionTrueFalse] ghostwriter-23.04.3/src/markdowndocument.cpp:102:30: note: Assuming that condition 'd->filePath.isNull()' is not redundant ghostwriter-23.04.3/src/markdowndocument.cpp:102:55: note: Return value 'd->filePath.isEmpty()' is always false ghostwriter-23.04.3/src/markdownast.cpp:20:5: warning: Member variable 'MarkdownASTPrivate::root' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/memoryarena.h:35:5: style: Class 'MemoryArena < MarkdownNode >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/markdownast.cpp:58:5: style: Variable 'd' can be declared as pointer to const [constVariablePointer] ghostwriter-23.04.3/src/markdownast.cpp:172:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] ghostwriter-23.04.3/src/markdownast.cpp:210:23: style: Variable 'node' can be declared as pointer to const [constVariablePointer] ghostwriter-23.04.3/src/markdownast.cpp:220:23: style: Variable 'child' can be declared as pointer to const [constVariablePointer] ghostwriter-23.04.3/src/findreplace.cpp:32:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/findreplace.cpp:115:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clicked [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/findreplace.cpp:360:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Start [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/findreplace.cpp:383:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FindBackward [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/findreplace.cpp:444:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HighlightedText [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/findreplace.cpp:507:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeout [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/findreplace.cpp:32:5: performance:inconclusive: Technically the member function 'ghostwriter::FindReplacePrivate::d_func' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/findreplace.cpp:38:15: warning: Class 'FindReplacePrivate' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] ghostwriter-23.04.3/src/findreplace.cpp:38:15: warning: Class 'FindReplacePrivate' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] ghostwriter-23.04.3/src/findreplace.cpp:35:5: style: Class 'FindReplacePrivate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/findreplace.cpp:75:17: style: class member 'FindReplacePrivate::searchHistory' is never used. [unusedStructMember] ghostwriter-23.04.3/src/findreplace.cpp:76:9: style: class member 'FindReplacePrivate::searchHistoryIndex' is never used. [unusedStructMember] ghostwriter-23.04.3/src/markdownhighlighter.cpp:36:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/markdownhighlighter.cpp:98:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QueuedConnection [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/markdownhighlighter.cpp:248:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Normal [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/markdownhighlighter.cpp:337:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Bold [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/markdownnode.cpp:191:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Invalid [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/markdownnode.cpp:319:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Invalid [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/markdownnode.cpp:34:15: warning: Member variable 'MarkdownNode::m_parent' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/markdownnode.cpp:34:15: warning: Member variable 'MarkdownNode::m_prev' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/markdownnode.cpp:34:15: warning: Member variable 'MarkdownNode::m_next' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/markdownnode.cpp:34:15: warning: Member variable 'MarkdownNode::m_firstChild' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/markdownnode.cpp:34:15: warning: Member variable 'MarkdownNode::m_lastChild' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/markdownnode.cpp:34:15: warning: Member variable 'MarkdownNode::m_listStartNum' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/markdownnode.h:243:14: performance:inconclusive: Technically the member function 'ghostwriter::MarkdownNode::nodeType' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/markdownnode.cpp:305:38: note: Technically the member function 'ghostwriter::MarkdownNode::nodeType' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/markdownnode.h:243:14: note: Technically the member function 'ghostwriter::MarkdownNode::nodeType' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/markdownnode.h:245:13: performance:inconclusive: Technically the member function 'ghostwriter::MarkdownNode::toString' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/markdownnode.cpp:377:23: note: Technically the member function 'ghostwriter::MarkdownNode::toString' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/markdownnode.h:245:13: note: Technically the member function 'ghostwriter::MarkdownNode::toString' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/markdownnode.cpp:162:13: style: Local variable 'text' shadows outer function [shadowFunction] ghostwriter-23.04.3/src/markdownnode.h:161:13: note: Shadowed declaration ghostwriter-23.04.3/src/markdownnode.cpp:162:13: note: Shadow variable ghostwriter-23.04.3/src/markdownnode.cpp:258:19: style: Local variable 'parent' shadows outer function [shadowFunction] ghostwriter-23.04.3/src/markdownnode.h:101:19: note: Shadowed declaration ghostwriter-23.04.3/src/markdownnode.cpp:258:19: note: Shadow variable ghostwriter-23.04.3/src/markdownnode.cpp:258:19: style: Variable 'parent' can be declared as pointer to const [constVariablePointer] ghostwriter-23.04.3/src/markdownnode.cpp:288:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] ghostwriter-23.04.3/src/markdownnode.cpp:39:5: style: Instance of 'MarkdownNode' object is destroyed immediately. [unusedScopedObject] ghostwriter-23.04.3/src/markdowneditor.cpp:138:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/markdowneditor.cpp:314:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WrapAtWordBoundaryOrAnywhere [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/markdowneditor.cpp:422:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable transparent [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/markdowneditor.cpp:729:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShowTabsAndSpaces [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/markdowneditor.cpp:750:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Monospace [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/markdowneditor.cpp:926:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DocumentsLocation [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/markdowneditor.cpp:991:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShiftModifier [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/markdowneditor.cpp:1081:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ControlModifier [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/markdowneditor.cpp:1143:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MoveAnchor [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/markdowneditor.cpp:1284:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable StartOfBlock [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/markdowneditor.cpp:1421:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable StartOfBlock [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/markdowneditor.cpp:1486:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable StartOfBlock [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/markdowneditor.cpp:1708:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable StartOfLine [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/markdowneditor.cpp:1961:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable StartOfBlock [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/markdowneditor.cpp:2016:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Left [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/markdowneditor.cpp:2141:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeepAnchor [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/markdowneditor.cpp:2229:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NextCharacter [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/markdowneditor.cpp:2282:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MoveAnchor [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/messageboxhelper.cpp:27:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Critical [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/messageboxhelper.cpp:48:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Information [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/messageboxhelper.cpp:69:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Question [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/messageboxhelper.cpp:90:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Warning [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/mainwindow.cpp:74:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable qApp [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/mainwindow.cpp:438:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Leave [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/mainwindow.cpp:493:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WA_DeleteOnClose [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/mainwindow.cpp:864:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WindowShortcut [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/mainwindow.cpp:882:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WidgetWithChildrenShortcut [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/mainwindow.cpp:895:102: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable New [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/mainwindow.cpp:1095:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoFocus [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/mainwindow.cpp:1236:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WindowShortcut [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/mainwindow.cpp:1421:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable qApp [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/outlinewidget.cpp:20:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/outlinewidget.cpp:75:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable itemActivated [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/outlinewidget.cpp:151:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PositionAtCenter [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/outlinewidget.cpp:20:5: performance:inconclusive: Technically the member function 'ghostwriter::OutlineWidgetPrivate::d_func' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/outlinewidget.cpp:195:25: style: C-style pointer casting [cstyleCast] ghostwriter-23.04.3/src/outlinewidget.cpp:195:18: style: Variable 'ast' can be declared as pointer to const [constVariablePointer] ghostwriter-23.04.3/src/outlinewidget.cpp:203:24: style: Variable 'heading' can be declared as pointer to const [constVariablePointer] ghostwriter-23.04.3/src/preferencesdialog.cpp:31:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/preferencesdialog.cpp:76:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Close [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/preferencesdialog.cpp:145:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Horizontal [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/preferencesdialog.cpp:202:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable currentIndexChanged [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/preferencesdialog.cpp:313:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable currentIndexChanged [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/preferencesdialog.cpp:415:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable configChanged [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/preferencesdialog.cpp:34:5: warning: Member variable 'PreferencesDialogPrivate::appSettings' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/preferencesdialog.h:29:5: style: Class 'PreferencesDialog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/preferencesdialog.cpp:34:5: style: Class 'PreferencesDialogPrivate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/previewoptionsdialog.h:28:5: style: Class 'PreviewOptionsDialog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/simplefontdialog.h:31:5: style: Class 'SimpleFontDialog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/simplefontdialog.h:36:5: style: Class 'SimpleFontDialog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/spelling/spellcheckdialog.h:33:5: style: Class 'SpellCheckDialog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/mainwindow.cpp:153:31: style: Condition '!filePath.isEmpty()' is always true [knownConditionTrueFalse] ghostwriter-23.04.3/src/mainwindow.cpp:153:25: note: Assuming that condition 'filePath.isNull()' is not redundant ghostwriter-23.04.3/src/mainwindow.cpp:153:31: note: Condition '!filePath.isEmpty()' is always true ghostwriter-23.04.3/src/mainwindow.cpp:356:33: style: Condition '!fileToOpen.isEmpty()' is always true [knownConditionTrueFalse] ghostwriter-23.04.3/src/mainwindow.cpp:356:27: note: Assuming that condition 'fileToOpen.isNull()' is not redundant ghostwriter-23.04.3/src/mainwindow.cpp:356:33: note: Condition '!fileToOpen.isEmpty()' is always true ghostwriter-23.04.3/src/mainwindow.cpp:1394:35: style: Condition '!theme.name().isEmpty()' is always true [knownConditionTrueFalse] ghostwriter-23.04.3/src/mainwindow.cpp:1394:29: note: Assuming that condition 'theme.name().isNull()' is not redundant ghostwriter-23.04.3/src/mainwindow.cpp:1394:35: note: Condition '!theme.name().isEmpty()' is always true ghostwriter-23.04.3/src/previewoptionsdialog.cpp:83:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable currentIndexChanged [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/mainwindow.cpp:1281:44: style: C-style pointer casting [cstyleCast] ghostwriter-23.04.3/src/mainwindow.cpp:674:27: style: Variable 'document' can be declared as pointer to const [constVariablePointer] ghostwriter-23.04.3/src/previewoptionsdialog.cpp:25:5: warning: Member variable 'PreviewOptionsDialogPrivate::appSettings' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/previewoptionsdialog.cpp:25:5: warning: Member variable 'PreviewOptionsDialogPrivate::exporterFactory' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/previewoptionsdialog.cpp:25:5: warning: Member variable 'PreviewOptionsDialogPrivate::previewerComboBox' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/previewoptionsdialog.cpp:25:5: warning: Member variable 'PreviewOptionsDialogPrivate::paramsLineEdit' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/previewoptionsdialog.cpp:36:13: performance:inconclusive: Technically the member function 'ghostwriter::PreviewOptionsDialogPrivate::fontToString' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/previewoptionsdialog.cpp:174:38: note: Technically the member function 'ghostwriter::PreviewOptionsDialogPrivate::fontToString' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/previewoptionsdialog.cpp:36:13: note: Technically the member function 'ghostwriter::PreviewOptionsDialogPrivate::fontToString' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/previewoptionsdialog.cpp:71:77: style: C-style pointer casting [cstyleCast] ghostwriter-23.04.3/src/previewoptionsdialog.cpp:169:26: style: C-style pointer casting [cstyleCast] ghostwriter-23.04.3/src/previewoptionsdialog.cpp:65:15: style: Variable 'currentExporter' can be declared as pointer to const [constVariablePointer] ghostwriter-23.04.3/src/previewoptionsdialog.cpp:98:18: style: Variable 'chooseButton' can be declared as pointer to const [constVariablePointer] ghostwriter-23.04.3/src/sandboxedwebpage.cpp:33:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NavigationTypeLinkClicked [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/sessionstatistics.cpp:34:45: style:inconclusive: Function 'startNewSession' argument 1 names different: declaration 'lastWordCount' definition 'initialWordCount'. [funcArgNamesDifferent] ghostwriter-23.04.3/src/sessionstatistics.h:67:30: note: Function 'startNewSession' argument 1 names different: declaration 'lastWordCount' definition 'initialWordCount'. ghostwriter-23.04.3/src/sessionstatistics.cpp:34:45: note: Function 'startNewSession' argument 1 names different: declaration 'lastWordCount' definition 'initialWordCount'. ghostwriter-23.04.3/src/sessionstatisticswidget.cpp:14:5: warning: Member variable 'SessionStatisticsWidgetPrivate::wordCountLabel' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/sessionstatisticswidget.cpp:14:5: warning: Member variable 'SessionStatisticsWidgetPrivate::pageCountLabel' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/sessionstatisticswidget.cpp:14:5: warning: Member variable 'SessionStatisticsWidgetPrivate::wpmLabel' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/sessionstatisticswidget.cpp:14:5: warning: Member variable 'SessionStatisticsWidgetPrivate::writingTimeLabel' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/sessionstatisticswidget.cpp:14:5: warning: Member variable 'SessionStatisticsWidgetPrivate::idleTimePercentageLabel' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/sessionstatisticswidget.cpp:63:53: style:inconclusive: Function 'setWordsPerMinute' argument 1 names different: declaration 'percentage' definition 'value'. [funcArgNamesDifferent] ghostwriter-23.04.3/src/sessionstatisticswidget.h:50:32: note: Function 'setWordsPerMinute' argument 1 names different: declaration 'percentage' definition 'value'. ghostwriter-23.04.3/src/sessionstatisticswidget.cpp:63:53: note: Function 'setWordsPerMinute' argument 1 names different: declaration 'percentage' definition 'value'. ghostwriter-23.04.3/src/simplefontdialog.cpp:122:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable toggled [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/sidebar.cpp:54:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable qApp [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/simplefontdialog.cpp:191:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MonospacedFonts [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/sidebar.cpp:281:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoFocus [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/simplefontdialog.cpp:202:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MonospacedFonts [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/simplefontdialog.cpp:224:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Accepted [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/simplefontdialog.cpp:247:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Accepted [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/sidebar.cpp:24:5: warning: Member variable 'SidebarPrivate::stack' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/sidebar.cpp:24:5: warning: Member variable 'SidebarPrivate::tabs' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/sidebar.cpp:24:5: warning: Member variable 'SidebarPrivate::buttons' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/sidebar.cpp:24:5: warning: Member variable 'SidebarPrivate::tabGroup' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/sidebar.cpp:24:5: warning: Member variable 'SidebarPrivate::autoHideEnabled' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/sidebar.cpp:146:33: style: Condition '!objectName.isEmpty()' is always true [knownConditionTrueFalse] ghostwriter-23.04.3/src/sidebar.cpp:146:27: note: Assuming that condition 'objectName.isNull()' is not redundant ghostwriter-23.04.3/src/sidebar.cpp:146:33: note: Condition '!objectName.isEmpty()' is always true ghostwriter-23.04.3/src/sidebar.cpp:172:28: style: Condition 'activeTabIndex>0' is always false [knownConditionTrueFalse] ghostwriter-23.04.3/src/sidebar.cpp:169:26: note: Assignment 'activeTabIndex=0', assigned value is 0 ghostwriter-23.04.3/src/sidebar.cpp:172:28: note: Condition 'activeTabIndex>0' is always false ghostwriter-23.04.3/src/sidebar.cpp:285:33: style: Condition '!objectName.isEmpty()' is always true [knownConditionTrueFalse] ghostwriter-23.04.3/src/sidebar.cpp:285:27: note: Assuming that condition 'objectName.isNull()' is not redundant ghostwriter-23.04.3/src/sidebar.cpp:285:33: note: Condition '!objectName.isEmpty()' is always true ghostwriter-23.04.3/src/sidebar.cpp:186:35: style: C-style pointer casting [cstyleCast] ghostwriter-23.04.3/src/sidebar.cpp:192:28: style: C-style pointer casting [cstyleCast] ghostwriter-23.04.3/src/sidebar.cpp:210:24: style: C-style pointer casting [cstyleCast] ghostwriter-23.04.3/src/simplefontdialog.cpp:25:5: warning: Member variable 'SimpleFontDialogPrivate::fontComboBox' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/simplefontdialog.cpp:25:5: warning: Member variable 'SimpleFontDialogPrivate::fontPreview' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/simplefontdialog.cpp:25:5: warning: Member variable 'SimpleFontDialogPrivate::monospaceOnlyCheckbox' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/simplefontdialog.cpp:184:46: style:inconclusive: Function 'setMonospaceOnly' argument 1 names different: declaration 'available' definition 'enabled'. [funcArgNamesDifferent] ghostwriter-23.04.3/src/simplefontdialog.h:48:32: note: Function 'setMonospaceOnly' argument 1 names different: declaration 'available' definition 'enabled'. ghostwriter-23.04.3/src/simplefontdialog.cpp:184:46: note: Function 'setMonospaceOnly' argument 1 names different: declaration 'available' definition 'enabled'. ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:36:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:100:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable contentsChange [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:181:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ContextMenu [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:251:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable triggered [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:304:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable triggered [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:364:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SpellCheckUnderline [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:451:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SpellCheckUnderline [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:471:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SpellCheckUnderline [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:489:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Word [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:529:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Sentence [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/spelling/spellcheckdialog.cpp:25:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/spelling/spellcheckdialog.cpp:54:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WA_DeleteOnClose [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/spelling/spellcheckdialog.cpp:138:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NextCharacter [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/spelling/spellcheckdialog.cpp:163:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeepAnchor [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/spelling/spellcheckdialog.cpp:178:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeepAnchor [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/spelling/spellcheckdialog.cpp:29:5: warning: Member variable 'SpellCheckDialogPrivate::editor' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/spelling/spellcheckdialog.cpp:29:5: warning: Member variable 'SpellCheckDialogPrivate::startPosition' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/spelling/spellcheckdialog.cpp:29:5: warning: Member variable 'SpellCheckDialogPrivate::wrappedAround' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/spelling/spellcheckdialog.cpp:25:5: performance:inconclusive: Technically the member function 'ghostwriter::SpellCheckDialogPrivate::d_func' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/spelling/spellcheckdialog.cpp:29:5: style: Class 'SpellCheckDialogPrivate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/spelling/spellcheckdialog.cpp:127:5: style: Variable 'q' can be declared as pointer to const [constVariablePointer] ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:49:5: warning: Member variable 'SpellCheckDecoratorPrivate::editor' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:49:5: warning: Member variable 'SpellCheckDecoratorPrivate::speller' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:49:5: warning: Member variable 'SpellCheckDecoratorPrivate::spellCheckDialog' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:36:5: performance:inconclusive: Technically the member function 'ghostwriter::SpellCheckDecoratorPrivate::d_func' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:70:13: performance:inconclusive: Technically the member function 'ghostwriter::SpellCheckDecoratorPrivate::getMisspelledWordAtCursor' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:349:37: note: Technically the member function 'ghostwriter::SpellCheckDecoratorPrivate::getMisspelledWordAtCursor' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:70:13: note: Technically the member function 'ghostwriter::SpellCheckDecoratorPrivate::getMisspelledWordAtCursor' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:74:10: performance:inconclusive: Technically the member function 'ghostwriter::SpellCheckDecoratorPrivate::clearSpellCheckFormatting' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:466:34: note: Technically the member function 'ghostwriter::SpellCheckDecoratorPrivate::clearSpellCheckFormatting' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:74:10: note: Technically the member function 'ghostwriter::SpellCheckDecoratorPrivate::clearSpellCheckFormatting' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:75:15: performance:inconclusive: Technically the member function 'ghostwriter::SpellCheckDecoratorPrivate::wordBreaks' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:481:67: note: Technically the member function 'ghostwriter::SpellCheckDecoratorPrivate::wordBreaks' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:75:15: note: Technically the member function 'ghostwriter::SpellCheckDecoratorPrivate::wordBreaks' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:76:15: performance:inconclusive: Technically the member function 'ghostwriter::SpellCheckDecoratorPrivate::sentenceBreaks' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:521:29: note: Technically the member function 'ghostwriter::SpellCheckDecoratorPrivate::sentenceBreaks' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:76:15: note: Technically the member function 'ghostwriter::SpellCheckDecoratorPrivate::sentenceBreaks' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:49:5: style: Class 'SpellCheckDecoratorPrivate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:209:37: style: Condition '!misspelledWord.isEmpty()' is always true [knownConditionTrueFalse] ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:209:31: note: Assuming that condition 'misspelledWord.isNull()' is not redundant ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:209:37: note: Condition '!misspelledWord.isEmpty()' is always true ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:229:5: warning: Either the condition 'nullptr!=popupMenu' is redundant or there is possible null pointer dereference: popupMenu. [nullPointerRedundantCheck] ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:231:17: note: Assuming that condition 'nullptr!=popupMenu' is not redundant ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:229:5: note: Null pointer dereference ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:283:69: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:364:63: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] ghostwriter-23.04.3/src/statisticsindicator.cpp:52:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ElideNone [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/statisticsindicator.cpp:57:24: performance: Function parameter 'text' should be passed by const reference. [passedByValue] ghostwriter-23.04.3/src/theme.cpp:16:5: warning: Member variable 'ThemePrivate::readOnly' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/theme.cpp:16:5: warning: Member variable 'ThemePrivate::darkColorSchemeAvailable' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/themeeditordialog.cpp:29:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/themeeditordialog.cpp:95:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/themeeditordialog.cpp:151:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable changed [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/themeeditordialog.cpp:29:5: performance:inconclusive: Technically the member function 'ghostwriter::ThemeEditorDialogPrivate::d_func' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/themeeditordialog.cpp:60:10: performance:inconclusive: Technically the member function 'ghostwriter::ThemeEditorDialogPrivate::addColorRowToLayout' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/themeeditordialog.cpp:130:32: note: Technically the member function 'ghostwriter::ThemeEditorDialogPrivate::addColorRowToLayout' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/themeeditordialog.cpp:60:10: note: Technically the member function 'ghostwriter::ThemeEditorDialogPrivate::addColorRowToLayout' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/themeeditordialog.cpp:44:15: warning: Class 'ThemeEditorDialogPrivate' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] ghostwriter-23.04.3/src/themeeditordialog.cpp:44:15: warning: Class 'ThemeEditorDialogPrivate' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] ghostwriter-23.04.3/src/themeeditordialog.h:31:5: style: Class 'ThemeEditorDialog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/themerepository.cpp:83:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Files [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/themerepository.cpp:156:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/themerepository.cpp:292:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/themerepository.cpp:487:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Invalid [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/themerepository.cpp:55:10: performance:inconclusive: Technically the member function 'ghostwriter::ThemeRepositoryPrivate::loadColor' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/themerepository.cpp:482:30: note: Technically the member function 'ghostwriter::ThemeRepositoryPrivate::loadColor' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/themerepository.cpp:55:10: note: Technically the member function 'ghostwriter::ThemeRepositoryPrivate::loadColor' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/themerepository.cpp:56:10: performance:inconclusive: Technically the member function 'ghostwriter::ThemeRepositoryPrivate::isValidJsonObj' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/themerepository.cpp:495:30: note: Technically the member function 'ghostwriter::ThemeRepositoryPrivate::isValidJsonObj' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/themerepository.cpp:56:10: note: Technically the member function 'ghostwriter::ThemeRepositoryPrivate::isValidJsonObj' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/themerepository.cpp:57:10: performance:inconclusive: Technically the member function 'ghostwriter::ThemeRepositoryPrivate::insertColorsIntoJsonObject' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/themerepository.cpp:500:30: note: Technically the member function 'ghostwriter::ThemeRepositoryPrivate::insertColorsIntoJsonObject' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/themerepository.cpp:57:10: note: Technically the member function 'ghostwriter::ThemeRepositoryPrivate::insertColorsIntoJsonObject' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/themerepository.cpp:143:17: style: Local variable 'themeFilePath' shadows outer function [shadowFunction] ghostwriter-23.04.3/src/themerepository.h:86:13: note: Shadowed declaration ghostwriter-23.04.3/src/themerepository.cpp:143:17: note: Shadow variable ghostwriter-23.04.3/src/themerepository.cpp:175:15: style: Local variable 'theme' shadows outer variable [shadowVariable] ghostwriter-23.04.3/src/themerepository.cpp:133:11: note: Shadowed declaration ghostwriter-23.04.3/src/themerepository.cpp:175:15: note: Shadow variable ghostwriter-23.04.3/src/themerepository.cpp:228:61: style: Parameter 'theme' can be declared as reference to const [constParameterReference] ghostwriter-23.04.3/src/stylesheetbuilder.cpp:274:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QString [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/stylesheetbuilder.cpp:303:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/themerepository.cpp:125:13: style: Unused variable: err [unusedVariable] ghostwriter-23.04.3/src/stylesheetbuilder.h:158:13: style:inconclusive: Technically the member function 'ghostwriter::StyleSheetBuilder::widgetStyleSheet' can be const. [functionConst] ghostwriter-23.04.3/src/stylesheetbuilder.cpp:252:28: note: Technically the member function 'ghostwriter::StyleSheetBuilder::widgetStyleSheet' can be const. ghostwriter-23.04.3/src/stylesheetbuilder.h:158:13: note: Technically the member function 'ghostwriter::StyleSheetBuilder::widgetStyleSheet' can be const. ghostwriter-23.04.3/src/stylesheetbuilder.h:163:13: style:inconclusive: Technically the member function 'ghostwriter::StyleSheetBuilder::htmlPreviewStyleSheet' can be const. [functionConst] ghostwriter-23.04.3/src/stylesheetbuilder.cpp:257:28: note: Technically the member function 'ghostwriter::StyleSheetBuilder::htmlPreviewStyleSheet' can be const. ghostwriter-23.04.3/src/stylesheetbuilder.h:163:13: note: Technically the member function 'ghostwriter::StyleSheetBuilder::htmlPreviewStyleSheet' can be const. ghostwriter-23.04.3/src/stylesheetbuilder.cpp:213:11: warning: Class 'StyleSheetBuilder' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] ghostwriter-23.04.3/src/stylesheetbuilder.cpp:213:11: warning: Class 'StyleSheetBuilder' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] ghostwriter-23.04.3/src/stylesheetbuilder.cpp:243:51: style: Condition '!m_statIndicatorArrowIconPath.isEmpty()' is always true [knownConditionTrueFalse] ghostwriter-23.04.3/src/stylesheetbuilder.cpp:243:45: note: Assuming that condition 'm_statIndicatorArrowIconPath.isNull()' is not redundant ghostwriter-23.04.3/src/stylesheetbuilder.cpp:243:51: note: Condition '!m_statIndicatorArrowIconPath.isEmpty()' is always true ghostwriter-23.04.3/src/stylesheetbuilder.cpp:186:18: performance: Range variable 'key' should be declared as const reference. [iterateByValue] ghostwriter-23.04.3/src/themeselectiondialog.cpp:36:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/themeselectiondialog.cpp:93:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WA_DeleteOnClose [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/themeselectiondialog.cpp:358:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WA_DeleteOnClose [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/themeselectiondialog.cpp:407:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Yes [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/themeselectiondialog.cpp:463:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WA_DeleteOnClose [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/timelabel.cpp:18:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/timelabel.cpp:49:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeout [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/timelabel.cpp:69:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShortFormat [valueFlowBailoutIncompleteVar] ghostwriter-23.04.3/src/timelabel.cpp:21:5: warning: Member variable 'TimeLabelPrivate::timer' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/timelabel.cpp:18:5: performance:inconclusive: Technically the member function 'ghostwriter::TimeLabelPrivate::d_func' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/timelabel.cpp:21:5: style: Class 'TimeLabelPrivate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/themeselectiondialog.cpp:36:5: performance:inconclusive: Technically the member function 'ghostwriter::ThemeSelectionDialogPrivate::d_func' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/themeselectiondialog.cpp:43:15: warning: Class 'ThemeSelectionDialogPrivate' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] ghostwriter-23.04.3/src/themeselectiondialog.cpp:43:15: warning: Class 'ThemeSelectionDialogPrivate' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] ghostwriter-23.04.3/src/themeselectiondialog.cpp:39:5: style: Class 'ThemeSelectionDialogPrivate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/themeselectiondialog.cpp:263:30: style: Condition '!err.isEmpty()' is always true [knownConditionTrueFalse] ghostwriter-23.04.3/src/themeselectiondialog.cpp:263:24: note: Assuming that condition 'err.isNull()' is not redundant ghostwriter-23.04.3/src/themeselectiondialog.cpp:263:30: note: Condition '!err.isEmpty()' is always true ghostwriter-23.04.3/src/themeselectiondialog.cpp:294:13: style: The scope of the variable 'err' can be reduced. [variableScope] ghostwriter-23.04.3/src/themeselectiondialog.cpp:66:17: style: class member 'ThemeSelectionDialogPrivate::builtInThemes' is never used. [unusedStructMember] ghostwriter-23.04.3/src/markdowneditor.cpp:141:5: warning: Member variable 'MarkdownEditorPrivate::textDocument' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/markdowneditor.cpp:141:5: warning: Member variable 'MarkdownEditorPrivate::highlighter' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/markdowneditor.cpp:141:5: warning: Member variable 'MarkdownEditorPrivate::preferredLayout' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/markdowneditor.cpp:141:5: warning: Member variable 'MarkdownEditorPrivate::autoMatchEnabled' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/markdowneditor.cpp:141:5: warning: Member variable 'MarkdownEditorPrivate::bulletPointCyclingEnabled' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/markdowneditor.cpp:141:5: warning: Member variable 'MarkdownEditorPrivate::hemingwayModeEnabled' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/markdowneditor.cpp:141:5: warning: Member variable 'MarkdownEditorPrivate::focusMode' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/markdowneditor.cpp:141:5: warning: Member variable 'MarkdownEditorPrivate::insertSpacesForTabs' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/markdowneditor.cpp:141:5: warning: Member variable 'MarkdownEditorPrivate::tabWidth' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/markdowneditor.cpp:141:5: warning: Member variable 'MarkdownEditorPrivate::editorWidth' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/markdowneditor.cpp:141:5: warning: Member variable 'MarkdownEditorPrivate::editorCorners' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/markdowneditor.cpp:141:5: warning: Member variable 'MarkdownEditorPrivate::mouseButtonDown' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/markdowneditor.cpp:141:5: warning: Member variable 'MarkdownEditorPrivate::textCursorVisible' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/markdowneditor.cpp:141:5: warning: Member variable 'MarkdownEditorPrivate::cursorBlinkTimer' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/markdowneditor.cpp:141:5: warning: Member variable 'MarkdownEditorPrivate::typingTimer' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/markdowneditor.cpp:141:5: warning: Member variable 'MarkdownEditorPrivate::scaledTypingTimer' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/markdowneditor.cpp:141:5: warning: Member variable 'MarkdownEditorPrivate::typingHasPaused' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/markdowneditor.cpp:141:5: warning: Member variable 'MarkdownEditorPrivate::scaledTypingHasPaused' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/markdowneditor.cpp:141:5: warning: Member variable 'MarkdownEditorPrivate::typingPausedSignalSent' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/markdowneditor.cpp:141:5: warning: Member variable 'MarkdownEditorPrivate::typingPausedScaledSignalSent' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/markdowneditor.cpp:138:5: performance:inconclusive: Technically the member function 'ghostwriter::MarkdownEditorPrivate::d_func' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/markdowneditor.cpp:226:10: performance:inconclusive: Technically the member function 'ghostwriter::MarkdownEditorPrivate::parseDocument' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/markdowneditor.cpp:1863:29: note: Technically the member function 'ghostwriter::MarkdownEditorPrivate::parseDocument' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/markdowneditor.cpp:226:10: note: Technically the member function 'ghostwriter::MarkdownEditorPrivate::parseDocument' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/markdowneditor.cpp:230:10: performance:inconclusive: Technically the member function 'ghostwriter::MarkdownEditorPrivate::insertPrefixForBlocks' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/markdowneditor.cpp:2049:29: note: Technically the member function 'ghostwriter::MarkdownEditorPrivate::insertPrefixForBlocks' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/markdowneditor.cpp:230:10: note: Technically the member function 'ghostwriter::MarkdownEditorPrivate::insertPrefixForBlocks' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/markdowneditor.cpp:231:10: performance:inconclusive: Technically the member function 'ghostwriter::MarkdownEditorPrivate::createNumberedList' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/markdowneditor.cpp:2076:29: note: Technically the member function 'ghostwriter::MarkdownEditorPrivate::createNumberedList' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/markdowneditor.cpp:231:10: note: Technically the member function 'ghostwriter::MarkdownEditorPrivate::createNumberedList' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/markdowneditor.cpp:232:10: style:inconclusive: Technically the member function 'ghostwriter::MarkdownEditorPrivate::insertPairedCharacters' can be const. [functionConst] ghostwriter-23.04.3/src/markdowneditor.cpp:2106:29: note: Technically the member function 'ghostwriter::MarkdownEditorPrivate::insertPairedCharacters' can be const. ghostwriter-23.04.3/src/markdowneditor.cpp:232:10: note: Technically the member function 'ghostwriter::MarkdownEditorPrivate::insertPairedCharacters' can be const. ghostwriter-23.04.3/src/markdowneditor.cpp:234:10: style:inconclusive: Technically the member function 'ghostwriter::MarkdownEditorPrivate::handleWhitespaceInEmptyMatch' can be const. [functionConst] ghostwriter-23.04.3/src/markdowneditor.cpp:2239:29: note: Technically the member function 'ghostwriter::MarkdownEditorPrivate::handleWhitespaceInEmptyMatch' can be const. ghostwriter-23.04.3/src/markdowneditor.cpp:234:10: note: Technically the member function 'ghostwriter::MarkdownEditorPrivate::handleWhitespaceInEmptyMatch' can be const. ghostwriter-23.04.3/src/markdowneditor.cpp:235:10: performance:inconclusive: Technically the member function 'ghostwriter::MarkdownEditorPrivate::insertFormattingMarkup' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/markdowneditor.cpp:2264:29: note: Technically the member function 'ghostwriter::MarkdownEditorPrivate::insertFormattingMarkup' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/markdowneditor.cpp:235:10: note: Technically the member function 'ghostwriter::MarkdownEditorPrivate::insertFormattingMarkup' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/markdowneditor.cpp:236:13: performance:inconclusive: Technically the member function 'ghostwriter::MarkdownEditorPrivate::priorIndentation' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/markdowneditor.cpp:2519:32: note: Technically the member function 'ghostwriter::MarkdownEditorPrivate::priorIndentation' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/markdowneditor.cpp:236:13: note: Technically the member function 'ghostwriter::MarkdownEditorPrivate::priorIndentation' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/markdowneditor.cpp:237:13: performance:inconclusive: Technically the member function 'ghostwriter::MarkdownEditorPrivate::priorMarkdownBlockItemStart' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/markdowneditor.cpp:2541:32: note: Technically the member function 'ghostwriter::MarkdownEditorPrivate::priorMarkdownBlockItemStart' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/markdowneditor.cpp:237:13: note: Technically the member function 'ghostwriter::MarkdownEditorPrivate::priorMarkdownBlockItemStart' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/markdowneditor.cpp:245:10: performance:inconclusive: Technically the member function 'ghostwriter::MarkdownEditorPrivate::atCodeBlockStart' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/markdowneditor.cpp:2615:29: note: Technically the member function 'ghostwriter::MarkdownEditorPrivate::atCodeBlockStart' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/markdowneditor.cpp:245:10: note: Technically the member function 'ghostwriter::MarkdownEditorPrivate::atCodeBlockStart' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/markdowneditor.cpp:246:10: performance:inconclusive: Technically the member function 'ghostwriter::MarkdownEditorPrivate::atCodeBlockEnd' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/markdowneditor.cpp:2624:29: note: Technically the member function 'ghostwriter::MarkdownEditorPrivate::atCodeBlockEnd' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/markdowneditor.cpp:246:10: note: Technically the member function 'ghostwriter::MarkdownEditorPrivate::atCodeBlockEnd' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/markdowneditor.cpp:247:10: performance:inconclusive: Technically the member function 'ghostwriter::MarkdownEditorPrivate::isBlockquote' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/markdowneditor.cpp:2629:29: note: Technically the member function 'ghostwriter::MarkdownEditorPrivate::isBlockquote' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/markdowneditor.cpp:247:10: note: Technically the member function 'ghostwriter::MarkdownEditorPrivate::isBlockquote' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/markdowneditor.cpp:248:10: performance:inconclusive: Technically the member function 'ghostwriter::MarkdownEditorPrivate::isCodeBlock' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/markdowneditor.cpp:2634:29: note: Technically the member function 'ghostwriter::MarkdownEditorPrivate::isCodeBlock' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/markdowneditor.cpp:248:10: note: Technically the member function 'ghostwriter::MarkdownEditorPrivate::isCodeBlock' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/markdowneditor.cpp:141:5: style: Class 'MarkdownEditorPrivate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/markdowneditor.cpp:938:36: style: Condition '!imagePath.isEmpty()' is always true [knownConditionTrueFalse] ghostwriter-23.04.3/src/markdowneditor.cpp:938:30: note: Assuming that condition 'imagePath.isNull()' is not redundant ghostwriter-23.04.3/src/markdowneditor.cpp:938:36: note: Condition '!imagePath.isEmpty()' is always true ghostwriter-23.04.3/src/markdowneditor.cpp:1525:32: style: Condition '!imagePath.isEmpty()' is always true [knownConditionTrueFalse] ghostwriter-23.04.3/src/markdowneditor.cpp:1525:26: note: Assuming that condition 'imagePath.isNull()' is not redundant ghostwriter-23.04.3/src/markdowneditor.cpp:1525:32: note: Condition '!imagePath.isEmpty()' is always true ghostwriter-23.04.3/src/markdowneditor.cpp:1511:34: style: C-style pointer casting [cstyleCast] ghostwriter-23.04.3/src/markdowneditor.cpp:1877:6: style: C-style pointer casting [cstyleCast] ghostwriter-23.04.3/src/markdowneditor.cpp:557:17: style: Redundant initialization for 'opt'. The initialized value is overwritten before it is read. [redundantInitialization] ghostwriter-23.04.3/src/markdowneditor.cpp:556:29: note: opt is initialized ghostwriter-23.04.3/src/markdowneditor.cpp:557:17: note: opt is overwritten ghostwriter-23.04.3/src/markdowneditor.cpp:1316:44: style: Redundant initialization for 'newBulletPoint'. The initialized value is overwritten before it is read. [redundantInitialization] ghostwriter-23.04.3/src/markdowneditor.cpp:1313:42: note: newBulletPoint is initialized ghostwriter-23.04.3/src/markdowneditor.cpp:1316:44: note: newBulletPoint is overwritten ghostwriter-23.04.3/src/markdowneditor.cpp:848:14: style: The scope of the variable 'isRelativePath' can be reduced. [variableScope] ghostwriter-23.04.3/src/markdowneditor.cpp:712:60: style:inconclusive: Function 'setFont' argument 2 names different: declaration 'size' definition 'pointSize'. [funcArgNamesDifferent] ghostwriter-23.04.3/src/markdowneditor.h:96:48: note: Function 'setFont' argument 2 names different: declaration 'size' definition 'pointSize'. ghostwriter-23.04.3/src/markdowneditor.cpp:712:60: note: Function 'setFont' argument 2 names different: declaration 'size' definition 'pointSize'. ghostwriter-23.04.3/src/markdowneditor.cpp:606:22: style: Local variable 'painter' shadows outer variable [shadowVariable] ghostwriter-23.04.3/src/markdowneditor.cpp:420:14: note: Shadowed declaration ghostwriter-23.04.3/src/markdowneditor.cpp:606:22: note: Shadow variable ghostwriter-23.04.3/src/markdowneditor.cpp:636:18: style: Local variable 'painter' shadows outer variable [shadowVariable] ghostwriter-23.04.3/src/markdowneditor.cpp:420:14: note: Shadowed declaration ghostwriter-23.04.3/src/markdowneditor.cpp:636:18: note: Shadow variable ghostwriter-23.04.3/src/markdowneditor.cpp:1251:25: style: Local variable 'indentText' shadows outer function [shadowFunction] ghostwriter-23.04.3/src/markdowneditor.h:280:10: note: Shadowed declaration ghostwriter-23.04.3/src/markdowneditor.cpp:1251:25: note: Shadow variable ghostwriter-23.04.3/src/markdowneditor.cpp:1268:17: style: Local variable 'indentText' shadows outer function [shadowFunction] ghostwriter-23.04.3/src/markdowneditor.h:280:10: note: Shadowed declaration ghostwriter-23.04.3/src/markdowneditor.cpp:1268:17: note: Shadow variable ghostwriter-23.04.3/src/markdowneditor.cpp:2219:21: style: Local variable 'cursor' shadows outer variable [shadowVariable] ghostwriter-23.04.3/src/markdowneditor.cpp:2202:17: note: Shadowed declaration ghostwriter-23.04.3/src/markdowneditor.cpp:2219:21: note: Shadow variable ghostwriter-23.04.3/src/markdowneditor.cpp:2645:15: performance: Range variable 'mimeType' should be declared as const reference. [iterateByValue] ghostwriter-23.04.3/src/markdowneditor.cpp:2665:15: performance: Range variable 'mimeType' should be declared as const reference. [iterateByValue] ghostwriter-23.04.3/src/markdowneditor.cpp:644:5: style: Variable 'd' can be declared as pointer to const [constVariablePointer] ghostwriter-23.04.3/src/markdowneditor.cpp:1511:23: style: Variable 'document' can be declared as pointer to const [constVariablePointer] ghostwriter-23.04.3/src/markdowneditor.cpp:86:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] ghostwriter-23.04.3/src/markdowneditor.cpp:1739:29: style: Variable 'canFadePrevious' is assigned a value that is never used. [unreadVariable] ghostwriter-23.04.3/src/markdownhighlighter.cpp:39:5: warning: Member variable 'MarkdownHighlighterPrivate::editor' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/markdownhighlighter.cpp:39:5: warning: Member variable 'MarkdownHighlighterPrivate::useLargeHeadings' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/markdownhighlighter.cpp:39:5: warning: Member variable 'MarkdownHighlighterPrivate::italicizeBlockquotes' is not initialized in the constructor. [uninitMemberVar] ghostwriter-23.04.3/src/markdownhighlighter.cpp:36:5: performance:inconclusive: Technically the member function 'ghostwriter::MarkdownHighlighterPrivate::d_func' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/markdownhighlighter.cpp:67:10: performance:inconclusive: Technically the member function 'ghostwriter::MarkdownHighlighterPrivate::isSetextHeadingState' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/markdownhighlighter.cpp:612:34: note: Technically the member function 'ghostwriter::MarkdownHighlighterPrivate::isSetextHeadingState' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/markdownhighlighter.cpp:67:10: note: Technically the member function 'ghostwriter::MarkdownHighlighterPrivate::isSetextHeadingState' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/markdownhighlighter.cpp:68:10: performance:inconclusive: Technically the member function 'ghostwriter::MarkdownHighlighterPrivate::lineMatchesNode' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/markdownhighlighter.cpp:601:34: note: Technically the member function 'ghostwriter::MarkdownHighlighterPrivate::lineMatchesNode' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/markdownhighlighter.cpp:68:10: note: Technically the member function 'ghostwriter::MarkdownHighlighterPrivate::lineMatchesNode' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/markdownhighlighter.cpp:39:5: style: Class 'MarkdownHighlighterPrivate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ghostwriter-23.04.3/src/markdownhighlighter.cpp:138:25: style: C-style pointer casting [cstyleCast] ghostwriter-23.04.3/src/markdownhighlighter.cpp:267:9: style: The scope of the variable 'pos' can be reduced. [variableScope] ghostwriter-23.04.3/src/markdownhighlighter.cpp:268:9: style: The scope of the variable 'length' can be reduced. [variableScope] ghostwriter-23.04.3/src/markdownhighlighter.cpp:269:9: style: Local variable 'currentLine' shadows outer variable [shadowVariable] ghostwriter-23.04.3/src/markdownhighlighter.cpp:55:16: note: Shadowed declaration ghostwriter-23.04.3/src/markdownhighlighter.cpp:269:9: note: Shadow variable ghostwriter-23.04.3/src/markdownhighlighter.cpp:286:10: style: Local variable 'inBlockquote' shadows outer variable [shadowVariable] ghostwriter-23.04.3/src/markdownhighlighter.cpp:60:10: note: Shadowed declaration ghostwriter-23.04.3/src/markdownhighlighter.cpp:286:10: note: Shadow variable ghostwriter-23.04.3/src/markdownhighlighter.cpp:138:18: style: Variable 'ast' can be declared as pointer to const [constVariablePointer] ghostwriter-23.04.3/src/markdownhighlighter.cpp:139:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] ghostwriter-23.04.3/src/markdownhighlighter.cpp:581:23: style: Variable 'child' can be declared as pointer to const [constVariablePointer] ghostwriter-23.04.3/src/markdownhighlighter.cpp:266:33: style: Variable 'type' is assigned a value that is never used. [unreadVariable] ghostwriter-23.04.3/src/markdownhighlighter.cpp:267:13: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] ghostwriter-23.04.3/src/markdownhighlighter.cpp:268:16: style: Variable 'length' is assigned a value that is never used. [unreadVariable] diff: head ghostwriter-23.04.3/3rdparty/QtAwesome/QtAwesome.cpp:175:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable transparent [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/3rdparty/QtAwesome/QtAwesome.cpp:2366:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QtAwesomeFree [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/3rdparty/QtAwesome/QtAwesome.cpp:28:14: style: The destructor '~QtAwesomeCharIconPainter' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ghostwriter-23.04.3/3rdparty/QtAwesome/QtAwesome.h:2242:14: note: Virtual destructor in base class ghostwriter-23.04.3/3rdparty/QtAwesome/QtAwesome.cpp:28:14: note: Destructor in derived class head ghostwriter-23.04.3/3rdparty/QtAwesome/QtAwesome.cpp:86:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Antialiasing [valueFlowBailoutIncompleteVar] 2.13.0 ghostwriter-23.04.3/3rdparty/QtAwesome/QtAwesomeAnim.h:28:13: style: Class 'QtAwesomeAnimation' is unsafe, 'QtAwesomeAnimation::timer_' can leak by wrong usage. [unsafeClassCanLeak] head ghostwriter-23.04.3/autotest/asynctextwriter/asynctextwritertest.cpp:149:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Utf8 [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/autotest/asynctextwriter/asynctextwritertest.cpp:313:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/autotest/asynctextwriter/asynctextwritertest.cpp:371:9: style: Error code from the return value of function dir.cd() is not used. [ignoredReturnErrorCode] 2.13.0 ghostwriter-23.04.3/autotest/asynctextwriter/asynctextwritertest.cpp:371:9: warning: Return value of function dir.cd() is not used. [ignoredReturnValue] head ghostwriter-23.04.3/autotest/asynctextwriter/asynctextwritertest.cpp:376:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOwner [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/autotest/asynctextwriter/asynctextwritertest.cpp:391:9: style: Error code from the return value of function dir.cdUp() is not used. [ignoredReturnErrorCode] head ghostwriter-23.04.3/autotest/asynctextwriter/asynctextwritertest.cpp:424:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable writeComplete [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/autotest/bookmark/bookmarktest.cpp:187:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inputPosition [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/autotest/library/librarytest.cpp:215:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inputs [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/autotest/library/librarytest.cpp:308:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inputs [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/autotest/library/librarytest.cpp:447:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable existing [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/autotest/library/librarytest.cpp:600:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable existing [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/autotest/library/librarytest.cpp:707:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable existing [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/autotest/library/librarytest.cpp:811:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable existing [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/autotest/library/librarytest.cpp:859:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable existing [valueFlowBailoutIncompleteVar] 2.13.0 ghostwriter-23.04.3/src/appsettings.cpp:130:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable autoMatchedCharFilter [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/appsettings.cpp:459:5: style: Variable 'd' can be declared as pointer to const [constVariablePointer] head ghostwriter-23.04.3/src/appsettings.cpp:515:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GenericDataLocation [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/appsettings.cpp:649:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GenericDataLocation [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/appsettings.cpp:819:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Monospace [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/asynctextwriter.cpp:130:52: style: Condition 'd->fileName.isEmpty()' is always false [knownConditionTrueFalse] ghostwriter-23.04.3/src/asynctextwriter.cpp:130:27: note: Assuming that condition 'd->fileName.isNull()' is not redundant ghostwriter-23.04.3/src/asynctextwriter.cpp:130:52: note: Condition 'd->fileName.isEmpty()' is always false head ghostwriter-23.04.3/src/asynctextwriter.cpp:152:52: style: Condition 'd->fileName.isEmpty()' is always false [knownConditionTrueFalse] ghostwriter-23.04.3/src/asynctextwriter.cpp:152:27: note: Assuming that condition 'd->fileName.isNull()' is not redundant ghostwriter-23.04.3/src/asynctextwriter.cpp:152:52: note: Condition 'd->fileName.isEmpty()' is always false head ghostwriter-23.04.3/src/asynctextwriter.cpp:164:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Utf8 [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/asynctextwriter.cpp:182:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/cmarkgfmapi.cpp:98:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMARK_OPT_DEFAULT [valueFlowBailoutIncompleteVar] 2.13.0 ghostwriter-23.04.3/src/cmarkgfmapi.h:22:5: style: Unused private function: 'CmarkGfmAPI::d_func' [unusedPrivateFunction] 2.13.0 ghostwriter-23.04.3/src/cmarkgfmapi.h:40:18: performance:inconclusive: Technically the member function 'ghostwriter::CmarkGfmAPI::parse' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/cmarkgfmapi.cpp:56:27: note: Technically the member function 'ghostwriter::CmarkGfmAPI::parse' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/cmarkgfmapi.h:40:18: note: Technically the member function 'ghostwriter::CmarkGfmAPI::parse' can be static (but you may consider moving to unnamed namespace). 2.13.0 ghostwriter-23.04.3/src/cmarkgfmapi.h:46:13: performance:inconclusive: Technically the member function 'ghostwriter::CmarkGfmAPI::renderToHtml' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/cmarkgfmapi.cpp:94:22: note: Technically the member function 'ghostwriter::CmarkGfmAPI::renderToHtml' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/cmarkgfmapi.h:46:13: note: Technically the member function 'ghostwriter::CmarkGfmAPI::renderToHtml' can be static (but you may consider moving to unnamed namespace). head ghostwriter-23.04.3/src/colorschemepreviewer.cpp:147:5: style: Variable 'd' can be declared as pointer to const [constVariablePointer] 2.13.0 ghostwriter-23.04.3/src/colorschemepreviewer.cpp:80:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable loremIpsum [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/colorschemepreviewer.cpp:92:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoFrame [valueFlowBailoutIncompleteVar] 2.13.0 ghostwriter-23.04.3/src/colorschemepreviewer.h:23:5: style: Unused private function: 'ColorSchemePreviewer::d_func' [unusedPrivateFunction] 2.13.0 ghostwriter-23.04.3/src/colorschemepreviewer.h:51:11: performance:inconclusive: Technically the member function 'ghostwriter::ColorSchemePreviewer::icon' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/colorschemepreviewer.cpp:145:29: note: Technically the member function 'ghostwriter::ColorSchemePreviewer::icon' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/colorschemepreviewer.h:51:11: note: Technically the member function 'ghostwriter::ColorSchemePreviewer::icon' can be static (but you may consider moving to unnamed namespace). head ghostwriter-23.04.3/src/commandlineexporter.cpp:121:70: style: Condition 'd->htmlRenderCommand.isEmpty()' is always false [knownConditionTrueFalse] ghostwriter-23.04.3/src/commandlineexporter.cpp:121:36: note: Assuming that condition 'd->htmlRenderCommand.isNull()' is not redundant ghostwriter-23.04.3/src/commandlineexporter.cpp:121:70: note: Condition 'd->htmlRenderCommand.isEmpty()' is always false head ghostwriter-23.04.3/src/commandlineexporter.cpp:212:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable StandardOutput [valueFlowBailoutIncompleteVar] 2.13.0 ghostwriter-23.04.3/src/commandlineexporter.cpp:67:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable htmlRenderCommand [valueFlowBailoutIncompleteVar] 2.13.0 ghostwriter-23.04.3/src/commandlineexporter.h:25:5: style: Unused private function: 'CommandLineExporter::d_func' [unusedPrivateFunction] head ghostwriter-23.04.3/src/commandlineexporter.h:37:6: style: The destructor '~CommandLineExporter' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ghostwriter-23.04.3/src/exporter.h:34:14: note: Virtual destructor in base class ghostwriter-23.04.3/src/commandlineexporter.h:37:6: note: Destructor in derived class 2.13.0 ghostwriter-23.04.3/src/commandlineexporter.h:45:10: performance:inconclusive: Technically the member function 'ghostwriter::CommandLineExporter::setHtmlRenderCommand' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/commandlineexporter.cpp:63:27: note: Technically the member function 'ghostwriter::CommandLineExporter::setHtmlRenderCommand' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/commandlineexporter.h:45:10: note: Technically the member function 'ghostwriter::CommandLineExporter::setHtmlRenderCommand' can be static (but you may consider moving to unnamed namespace). 2.13.0 ghostwriter-23.04.3/src/commandlineexporter.h:61:13: performance:inconclusive: Technically the member function 'ghostwriter::CommandLineExporter::smartTypographyOnArgument' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/commandlineexporter.cpp:82:30: note: Technically the member function 'ghostwriter::CommandLineExporter::smartTypographyOnArgument' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/commandlineexporter.h:61:13: note: Technically the member function 'ghostwriter::CommandLineExporter::smartTypographyOnArgument' can be static (but you may consider moving to unnamed namespace). 2.13.0 ghostwriter-23.04.3/src/commandlineexporter.h:67:10: performance:inconclusive: Technically the member function 'ghostwriter::CommandLineExporter::setSmartTypographyOnArgument' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/commandlineexporter.cpp:89:27: note: Technically the member function 'ghostwriter::CommandLineExporter::setSmartTypographyOnArgument' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/commandlineexporter.h:67:10: note: Technically the member function 'ghostwriter::CommandLineExporter::setSmartTypographyOnArgument' can be static (but you may consider moving to unnamed namespace). 2.13.0 ghostwriter-23.04.3/src/commandlineexporter.h:73:13: performance:inconclusive: Technically the member function 'ghostwriter::CommandLineExporter::smartTypographyOffArgument' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/commandlineexporter.cpp:96:30: note: Technically the member function 'ghostwriter::CommandLineExporter::smartTypographyOffArgument' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/commandlineexporter.h:73:13: note: Technically the member function 'ghostwriter::CommandLineExporter::smartTypographyOffArgument' can be static (but you may consider moving to unnamed namespace). 2.13.0 ghostwriter-23.04.3/src/commandlineexporter.h:79:10: performance:inconclusive: Technically the member function 'ghostwriter::CommandLineExporter::setSmartTypographyOffArgument' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/commandlineexporter.cpp:103:27: note: Technically the member function 'ghostwriter::CommandLineExporter::setSmartTypographyOffArgument' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/commandlineexporter.h:79:10: note: Technically the member function 'ghostwriter::CommandLineExporter::setSmartTypographyOffArgument' can be static (but you may consider moving to unnamed namespace). head ghostwriter-23.04.3/src/documentmanager.cpp:185:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DocumentsLocation [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/documentmanager.cpp:379:18: style: The scope of the variable 'oldFileWasNew' can be reduced. [variableScope] head ghostwriter-23.04.3/src/documentmanager.cpp:435:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Yes [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/documentmanager.cpp:683:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Yes [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/documentmanager.cpp:730:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/documentmanager.cpp:872:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Save [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/documentmanager.cpp:904:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Yes [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/documentstatistics.cpp:371:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Sentence [valueFlowBailoutIncompleteVar] 2.13.0 ghostwriter-23.04.3/src/documentstatisticswidget.cpp:60:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wordCountLabel [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/documentstatisticswidget.h:34:14: style: The destructor '~DocumentStatisticsWidget' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ghostwriter-23.04.3/src/abstractstatisticswidget.h:26:14: note: Virtual destructor in base class ghostwriter-23.04.3/src/documentstatisticswidget.h:34:14: note: Destructor in derived class head ghostwriter-23.04.3/src/exportdialog.cpp:126:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AcceptSave [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/exporterfactory.cpp:101:5: style: Variable 'd' can be declared as pointer to const [constVariablePointer] head ghostwriter-23.04.3/src/exporterfactory.cpp:136:23: style: Variable 'cmarkGfmExporter' can be declared as pointer to const [constVariablePointer] head ghostwriter-23.04.3/src/exporterfactory.cpp:148:31: style: Condition 'majorVersion>1' is always true [knownConditionTrueFalse] ghostwriter-23.04.3/src/exporterfactory.cpp:145:26: note: Assuming that condition 'majorVersion>=2' is not redundant ghostwriter-23.04.3/src/exporterfactory.cpp:148:31: note: Condition 'majorVersion>1' is always true head ghostwriter-23.04.3/src/exporterfactory.cpp:87:5: style: Variable 'd' can be declared as pointer to const [constVariablePointer] 2.13.0 ghostwriter-23.04.3/src/exporterfactory.cpp:89:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fileExporters [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/exporterfactory.cpp:94:5: style: Variable 'd' can be declared as pointer to const [constVariablePointer] 2.13.0 ghostwriter-23.04.3/src/exporterfactory.h:22:5: style: Unused private function: 'ExporterFactory::d_func' [unusedPrivateFunction] 2.13.0 ghostwriter-23.04.3/src/exporterfactory.h:38:23: performance:inconclusive: Technically the member function 'ghostwriter::ExporterFactory::fileExporters' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/exporterfactory.cpp:85:36: note: Technically the member function 'ghostwriter::ExporterFactory::fileExporters' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/exporterfactory.h:38:23: note: Technically the member function 'ghostwriter::ExporterFactory::fileExporters' can be static (but you may consider moving to unnamed namespace). 2.13.0 ghostwriter-23.04.3/src/exporterfactory.h:44:23: performance:inconclusive: Technically the member function 'ghostwriter::ExporterFactory::htmlExporters' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/exporterfactory.cpp:92:36: note: Technically the member function 'ghostwriter::ExporterFactory::htmlExporters' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/exporterfactory.h:44:23: note: Technically the member function 'ghostwriter::ExporterFactory::htmlExporters' can be static (but you may consider moving to unnamed namespace). 2.13.0 ghostwriter-23.04.3/src/exporterfactory.h:50:15: performance:inconclusive: Technically the member function 'ghostwriter::ExporterFactory::exporterByName' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/exporterfactory.cpp:99:28: note: Technically the member function 'ghostwriter::ExporterFactory::exporterByName' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/exporterfactory.h:50:15: note: Technically the member function 'ghostwriter::ExporterFactory::exporterByName' can be static (but you may consider moving to unnamed namespace). 2.13.0 ghostwriter-23.04.3/src/exportformat.cpp:81:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fileExtensionMandatoryFlag [valueFlowBailoutIncompleteVar] 2.13.0 ghostwriter-23.04.3/src/exportformat.h:100:10: performance:inconclusive: Technically the member function 'ghostwriter::ExportFormat::isFileExtensionMandatory' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/exportformat.cpp:157:20: note: Technically the member function 'ghostwriter::ExportFormat::isFileExtensionMandatory' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/exportformat.h:100:10: note: Technically the member function 'ghostwriter::ExportFormat::isFileExtensionMandatory' can be static (but you may consider moving to unnamed namespace). 2.13.0 ghostwriter-23.04.3/src/exportformat.h:105:10: performance:inconclusive: Technically the member function 'ghostwriter::ExportFormat::setFileExtenstionMandatory' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/exportformat.cpp:164:20: note: Technically the member function 'ghostwriter::ExportFormat::setFileExtenstionMandatory' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/exportformat.h:105:10: note: Technically the member function 'ghostwriter::ExportFormat::setFileExtenstionMandatory' can be static (but you may consider moving to unnamed namespace). 2.13.0 ghostwriter-23.04.3/src/exportformat.h:21:5: style: Unused private function: 'ExportFormat::d_func' [unusedPrivateFunction] 2.13.0 ghostwriter-23.04.3/src/exportformat.h:51:13: performance:inconclusive: Technically the member function 'ghostwriter::ExportFormat::name' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/exportformat.cpp:106:23: note: Technically the member function 'ghostwriter::ExportFormat::name' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/exportformat.h:51:13: note: Technically the member function 'ghostwriter::ExportFormat::name' can be static (but you may consider moving to unnamed namespace). 2.13.0 ghostwriter-23.04.3/src/exportformat.h:56:10: performance:inconclusive: Technically the member function 'ghostwriter::ExportFormat::setName' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/exportformat.cpp:113:20: note: Technically the member function 'ghostwriter::ExportFormat::setName' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/exportformat.h:56:10: note: Technically the member function 'ghostwriter::ExportFormat::setName' can be static (but you may consider moving to unnamed namespace). 2.13.0 ghostwriter-23.04.3/src/exportformat.h:65:13: performance:inconclusive: Technically the member function 'ghostwriter::ExportFormat::fileFilter' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/exportformat.cpp:121:23: note: Technically the member function 'ghostwriter::ExportFormat::fileFilter' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/exportformat.h:65:13: note: Technically the member function 'ghostwriter::ExportFormat::fileFilter' can be static (but you may consider moving to unnamed namespace). 2.13.0 ghostwriter-23.04.3/src/exportformat.h:75:10: performance:inconclusive: Technically the member function 'ghostwriter::ExportFormat::setFileFilter' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/exportformat.cpp:128:20: note: Technically the member function 'ghostwriter::ExportFormat::setFileFilter' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/exportformat.h:75:10: note: Technically the member function 'ghostwriter::ExportFormat::setFileFilter' can be static (but you may consider moving to unnamed namespace). 2.13.0 ghostwriter-23.04.3/src/exportformat.h:81:13: performance:inconclusive: Technically the member function 'ghostwriter::ExportFormat::namedFilter' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/exportformat.cpp:136:23: note: Technically the member function 'ghostwriter::ExportFormat::namedFilter' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/exportformat.h:81:13: note: Technically the member function 'ghostwriter::ExportFormat::namedFilter' can be static (but you may consider moving to unnamed namespace). 2.13.0 ghostwriter-23.04.3/src/exportformat.h:88:13: performance:inconclusive: Technically the member function 'ghostwriter::ExportFormat::defaultFileExtension' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/exportformat.cpp:143:23: note: Technically the member function 'ghostwriter::ExportFormat::defaultFileExtension' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/exportformat.h:88:13: note: Technically the member function 'ghostwriter::ExportFormat::defaultFileExtension' can be static (but you may consider moving to unnamed namespace). 2.13.0 ghostwriter-23.04.3/src/exportformat.h:95:10: performance:inconclusive: Technically the member function 'ghostwriter::ExportFormat::setDefaultFileExtension' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/exportformat.cpp:150:20: note: Technically the member function 'ghostwriter::ExportFormat::setDefaultFileExtension' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/exportformat.h:95:10: note: Technically the member function 'ghostwriter::ExportFormat::setDefaultFileExtension' can be static (but you may consider moving to unnamed namespace). head ghostwriter-23.04.3/src/findreplace.cpp:115:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clicked [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/findreplace.cpp:360:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Start [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/findreplace.cpp:383:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FindBackward [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/findreplace.cpp:444:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HighlightedText [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/findreplace.cpp:507:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeout [valueFlowBailoutIncompleteVar] 2.13.0 ghostwriter-23.04.3/src/findreplace.cpp:73:13: style: Class 'FindReplacePrivate' is unsafe, 'FindReplacePrivate::highlightTimer' can leak by wrong usage. [unsafeClassCanLeak] head ghostwriter-23.04.3/src/htmlpreview.cpp:106:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Preferred [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/mainwindow.cpp:1095:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoFocus [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/mainwindow.cpp:1236:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WindowShortcut [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/mainwindow.cpp:1421:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable qApp [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/mainwindow.cpp:438:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Leave [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/mainwindow.cpp:493:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WA_DeleteOnClose [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/mainwindow.cpp:864:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WindowShortcut [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/mainwindow.cpp:882:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WidgetWithChildrenShortcut [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/mainwindow.cpp:895:102: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable New [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/markdownast.cpp:217:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] 2.13.0 ghostwriter-23.04.3/src/markdownast.cpp:39:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable root [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/markdownast.cpp:58:5: style: Variable 'd' can be declared as pointer to const [constVariablePointer] 2.13.0 ghostwriter-23.04.3/src/markdownast.h:32:5: style: Unused private function: 'MarkdownAST::d_func' [unusedPrivateFunction] 2.13.0 ghostwriter-23.04.3/src/markdownast.h:54:19: performance:inconclusive: Technically the member function 'ghostwriter::MarkdownAST::root' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/markdownast.cpp:56:28: note: Technically the member function 'ghostwriter::MarkdownAST::root' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/markdownast.h:54:19: note: Technically the member function 'ghostwriter::MarkdownAST::root' can be static (but you may consider moving to unnamed namespace). 2.13.0 ghostwriter-23.04.3/src/markdownast.h:61:10: performance:inconclusive: Technically the member function 'ghostwriter::MarkdownAST::setRoot' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/markdownast.cpp:63:19: note: Technically the member function 'ghostwriter::MarkdownAST::setRoot' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/markdownast.h:61:10: note: Technically the member function 'ghostwriter::MarkdownAST::setRoot' can be static (but you may consider moving to unnamed namespace). 2.13.0 ghostwriter-23.04.3/src/markdownast.h:68:19: performance:inconclusive: Technically the member function 'ghostwriter::MarkdownAST::findBlockAtLine' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/markdownast.cpp:104:28: note: Technically the member function 'ghostwriter::MarkdownAST::findBlockAtLine' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/markdownast.h:68:19: note: Technically the member function 'ghostwriter::MarkdownAST::findBlockAtLine' can be static (but you may consider moving to unnamed namespace). 2.13.0 ghostwriter-23.04.3/src/markdownast.h:74:29: performance:inconclusive: Technically the member function 'ghostwriter::MarkdownAST::headings' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/markdownast.cpp:162:38: note: Technically the member function 'ghostwriter::MarkdownAST::headings' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/markdownast.h:74:29: note: Technically the member function 'ghostwriter::MarkdownAST::headings' can be static (but you may consider moving to unnamed namespace). 2.13.0 ghostwriter-23.04.3/src/markdownast.h:79:10: performance:inconclusive: Technically the member function 'ghostwriter::MarkdownAST::clear' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/markdownast.cpp:185:19: note: Technically the member function 'ghostwriter::MarkdownAST::clear' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/markdownast.h:79:10: note: Technically the member function 'ghostwriter::MarkdownAST::clear' can be static (but you may consider moving to unnamed namespace). 2.13.0 ghostwriter-23.04.3/src/markdownast.h:84:13: performance:inconclusive: Technically the member function 'ghostwriter::MarkdownAST::toString' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/markdownast.cpp:193:22: note: Technically the member function 'ghostwriter::MarkdownAST::toString' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/markdownast.h:84:13: note: Technically the member function 'ghostwriter::MarkdownAST::toString' can be static (but you may consider moving to unnamed namespace). head ghostwriter-23.04.3/src/markdowndocument.cpp:102:55: style: Return value 'd->filePath.isEmpty()' is always false [knownConditionTrueFalse] ghostwriter-23.04.3/src/markdowndocument.cpp:102:30: note: Assuming that condition 'd->filePath.isNull()' is not redundant ghostwriter-23.04.3/src/markdowndocument.cpp:102:55: note: Return value 'd->filePath.isEmpty()' is always false head ghostwriter-23.04.3/src/markdowneditor.cpp:1081:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ControlModifier [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/markdowneditor.cpp:1143:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MoveAnchor [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/markdowneditor.cpp:1284:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable StartOfBlock [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/markdowneditor.cpp:1421:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable StartOfBlock [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/markdowneditor.cpp:1486:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable StartOfBlock [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/markdowneditor.cpp:1708:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable StartOfLine [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/markdowneditor.cpp:1961:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable StartOfBlock [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/markdowneditor.cpp:2016:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Left [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/markdowneditor.cpp:2141:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeepAnchor [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/markdowneditor.cpp:2229:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NextCharacter [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/markdowneditor.cpp:2282:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MoveAnchor [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/markdowneditor.cpp:314:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WrapAtWordBoundaryOrAnywhere [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/markdowneditor.cpp:422:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable transparent [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/markdowneditor.cpp:644:5: style: Variable 'd' can be declared as pointer to const [constVariablePointer] head ghostwriter-23.04.3/src/markdowneditor.cpp:729:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShowTabsAndSpaces [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/markdowneditor.cpp:750:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Monospace [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/markdowneditor.cpp:926:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DocumentsLocation [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/markdowneditor.cpp:991:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShiftModifier [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/markdownhighlighter.cpp:139:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] head ghostwriter-23.04.3/src/markdownhighlighter.cpp:248:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Normal [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/markdownhighlighter.cpp:337:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Bold [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/markdownhighlighter.cpp:98:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QueuedConnection [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/markdownnode.cpp:319:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Invalid [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/messageboxhelper.cpp:48:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Information [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/messageboxhelper.cpp:69:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Question [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/messageboxhelper.cpp:90:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Warning [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/outlinewidget.cpp:151:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PositionAtCenter [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/outlinewidget.cpp:75:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable itemActivated [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/preferencesdialog.cpp:145:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Horizontal [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/preferencesdialog.cpp:202:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable currentIndexChanged [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/preferencesdialog.cpp:313:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable currentIndexChanged [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/preferencesdialog.cpp:415:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable configChanged [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/preferencesdialog.cpp:76:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Close [valueFlowBailoutIncompleteVar] 2.13.0 ghostwriter-23.04.3/src/previewoptionsdialog.cpp:51:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable appSettings [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/previewoptionsdialog.cpp:83:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable currentIndexChanged [valueFlowBailoutIncompleteVar] 2.13.0 ghostwriter-23.04.3/src/sessionstatisticswidget.cpp:37:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wordCountLabel [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/sessionstatisticswidget.h:34:14: style: The destructor '~SessionStatisticsWidget' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] ghostwriter-23.04.3/src/abstractstatisticswidget.h:26:14: note: Virtual destructor in base class ghostwriter-23.04.3/src/sessionstatisticswidget.h:34:14: note: Destructor in derived class head ghostwriter-23.04.3/src/sidebar.cpp:281:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoFocus [valueFlowBailoutIncompleteVar] 2.13.0 ghostwriter-23.04.3/src/sidebar.cpp:49:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stack [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/sidebar.cpp:54:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable qApp [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/simplefontdialog.cpp:122:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable toggled [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/simplefontdialog.cpp:191:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MonospacedFonts [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/simplefontdialog.cpp:202:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MonospacedFonts [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/simplefontdialog.cpp:224:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Accepted [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/simplefontdialog.cpp:247:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Accepted [valueFlowBailoutIncompleteVar] 2.13.0 ghostwriter-23.04.3/src/simplefontdialog.cpp:56:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fontComboBox [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:100:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable contentsChange [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:181:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ContextMenu [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:251:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable triggered [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:304:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable triggered [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:364:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SpellCheckUnderline [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:451:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SpellCheckUnderline [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:471:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SpellCheckUnderline [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:489:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Word [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/spelling/spellcheckdecorator.cpp:529:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Sentence [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/spelling/spellcheckdialog.cpp:138:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NextCharacter [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/spelling/spellcheckdialog.cpp:163:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeepAnchor [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/spelling/spellcheckdialog.cpp:178:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeepAnchor [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/spelling/spellcheckdialog.cpp:54:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WA_DeleteOnClose [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/stylesheetbuilder.cpp:303:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] 2.13.0 ghostwriter-23.04.3/src/theme.cpp:38:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable readOnly [valueFlowBailoutIncompleteVar] 2.13.0 ghostwriter-23.04.3/src/theme.h:102:24: performance:inconclusive: Technically the member function 'ghostwriter::Theme::darkColorScheme' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/theme.cpp:144:27: note: Technically the member function 'ghostwriter::Theme::darkColorScheme' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/theme.h:102:24: note: Technically the member function 'ghostwriter::Theme::darkColorScheme' can be static (but you may consider moving to unnamed namespace). 2.13.0 ghostwriter-23.04.3/src/theme.h:107:10: performance:inconclusive: Technically the member function 'ghostwriter::Theme::setDarkColorScheme' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/theme.cpp:151:13: note: Technically the member function 'ghostwriter::Theme::setDarkColorScheme' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/theme.h:107:10: note: Technically the member function 'ghostwriter::Theme::setDarkColorScheme' can be static (but you may consider moving to unnamed namespace). 2.13.0 ghostwriter-23.04.3/src/theme.h:112:24: performance:inconclusive: Technically the member function 'ghostwriter::Theme::lightColorScheme' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/theme.cpp:159:27: note: Technically the member function 'ghostwriter::Theme::lightColorScheme' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/theme.h:112:24: note: Technically the member function 'ghostwriter::Theme::lightColorScheme' can be static (but you may consider moving to unnamed namespace). 2.13.0 ghostwriter-23.04.3/src/theme.h:117:10: performance:inconclusive: Technically the member function 'ghostwriter::Theme::setLightColorScheme' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/theme.cpp:166:13: note: Technically the member function 'ghostwriter::Theme::setLightColorScheme' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/theme.h:117:10: note: Technically the member function 'ghostwriter::Theme::setLightColorScheme' can be static (but you may consider moving to unnamed namespace). 2.13.0 ghostwriter-23.04.3/src/theme.h:75:13: performance:inconclusive: Technically the member function 'ghostwriter::Theme::name' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/theme.cpp:109:16: note: Technically the member function 'ghostwriter::Theme::name' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/theme.h:75:13: note: Technically the member function 'ghostwriter::Theme::name' can be static (but you may consider moving to unnamed namespace). 2.13.0 ghostwriter-23.04.3/src/theme.h:85:10: performance:inconclusive: Technically the member function 'ghostwriter::Theme::isReadOnly' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/theme.cpp:123:13: note: Technically the member function 'ghostwriter::Theme::isReadOnly' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/theme.h:85:10: note: Technically the member function 'ghostwriter::Theme::isReadOnly' can be static (but you may consider moving to unnamed namespace). 2.13.0 ghostwriter-23.04.3/src/theme.h:90:10: performance:inconclusive: Technically the member function 'ghostwriter::Theme::setReadOnly' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/theme.cpp:130:13: note: Technically the member function 'ghostwriter::Theme::setReadOnly' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/theme.h:90:10: note: Technically the member function 'ghostwriter::Theme::setReadOnly' can be static (but you may consider moving to unnamed namespace). 2.13.0 ghostwriter-23.04.3/src/theme.h:96:10: performance:inconclusive: Technically the member function 'ghostwriter::Theme::hasDarkColorScheme' can be static (but you may consider moving to unnamed namespace). [functionStatic] ghostwriter-23.04.3/src/theme.cpp:137:13: note: Technically the member function 'ghostwriter::Theme::hasDarkColorScheme' can be static (but you may consider moving to unnamed namespace). ghostwriter-23.04.3/src/theme.h:96:10: note: Technically the member function 'ghostwriter::Theme::hasDarkColorScheme' can be static (but you may consider moving to unnamed namespace). head ghostwriter-23.04.3/src/themeeditordialog.cpp:151:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable changed [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/themeeditordialog.cpp:95:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/themerepository.cpp:156:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/themerepository.cpp:292:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/themerepository.cpp:487:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Invalid [valueFlowBailoutIncompleteVar] 2.13.0 ghostwriter-23.04.3/src/themerepository.cpp:76:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable themeDirectoryPath [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/themerepository.cpp:83:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Files [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/themeselectiondialog.cpp:358:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WA_DeleteOnClose [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/themeselectiondialog.cpp:407:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Yes [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/themeselectiondialog.cpp:463:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WA_DeleteOnClose [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/themeselectiondialog.cpp:93:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WA_DeleteOnClose [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/timelabel.cpp:49:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeout [valueFlowBailoutIncompleteVar] head ghostwriter-23.04.3/src/timelabel.cpp:69:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShortFormat [valueFlowBailoutIncompleteVar] DONE