2025-11-27 09:27 ftp://ftp.de.debian.org/debian/pool/main/k/khelpcenter/khelpcenter_25.04.0.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=qt --library=kde --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.12.57+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 9486fde (2025-11-26 08:20:02 +0100) count: 184 182 elapsed-time: 0.4 0.4 head-timing-info: old-timing-info: head results: khelpcenter-25.04.0/docentry.cpp:328:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/application.cpp:104:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROJECT_VERSION [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/docentry.cpp:19:11: warning: Member variable 'DocEntry::mSearchEnabledDefault' is not initialized in the constructor. [uninitMemberVar] khelpcenter-25.04.0/docentry.cpp:24:11: warning: Member variable 'DocEntry::mSearchEnabledDefault' is not initialized in the constructor. [uninitMemberVar] khelpcenter-25.04.0/docentry.cpp:115:16: style:inconclusive: Technically the member function 'KHC::DocEntry::setIdentifier' can be const. [functionConst] khelpcenter-25.04.0/docentry.h:44:10: note: Technically the member function 'KHC::DocEntry::setIdentifier' can be const. khelpcenter-25.04.0/docentry.cpp:115:16: note: Technically the member function 'KHC::DocEntry::setIdentifier' can be const. khelpcenter-25.04.0/docentry.h:27:13: performance: Function 'name()' should return member 'mName' by const reference. [returnByReference] khelpcenter-25.04.0/docentry.h:30:13: performance: Function 'search()' should return member 'mSearch' by const reference. [returnByReference] khelpcenter-25.04.0/docentry.h:39:13: performance: Function 'info()' should return member 'mInfo' by const reference. [returnByReference] khelpcenter-25.04.0/docentry.h:42:13: performance: Function 'lang()' should return member 'mLang' by const reference. [returnByReference] khelpcenter-25.04.0/docentry.h:48:13: performance: Function 'indexer()' should return member 'mIndexer' by const reference. [returnByReference] khelpcenter-25.04.0/docentry.h:51:13: performance: Function 'indexTestFile()' should return member 'mIndexTestFile' by const reference. [returnByReference] khelpcenter-25.04.0/docentry.h:57:13: performance: Function 'searchMethod()' should return member 'mSearchMethod' by const reference. [returnByReference] khelpcenter-25.04.0/docentry.h:66:13: performance: Function 'documentType()' should return member 'mDocumentType' by const reference. [returnByReference] khelpcenter-25.04.0/docentry.h:78:10: performance: Function 'children()' should return member 'mChildren' by const reference. [returnByReference] khelpcenter-25.04.0/docentry.h:86:13: performance: Function 'khelpcenterSpecial()' should return member 'mKhelpcenterSpecial' by const reference. [returnByReference] khelpcenter-25.04.0/glossary.h:35:13: performance: Function 'term()' should return member 'm_term' by const reference. [returnByReference] khelpcenter-25.04.0/glossary.h:39:13: performance: Function 'id()' should return member 'm_id' by const reference. [returnByReference] khelpcenter-25.04.0/glossary.h:63:13: performance: Function 'id()' should return member 'm_id' by const reference. [returnByReference] khelpcenter-25.04.0/glossary.h:67:13: performance: Function 'term()' should return member 'm_term' by const reference. [returnByReference] khelpcenter-25.04.0/glossary.h:71:13: performance: Function 'definition()' should return member 'm_definition' by const reference. [returnByReference] khelpcenter-25.04.0/glossary.h:75:29: performance: Function 'seeAlso()' should return member 'm_seeAlso' by const reference. [returnByReference] khelpcenter-25.04.0/application.cpp:76:47: style:inconclusive: Function 'activate' argument 1 names different: declaration 'args' definition 'arguments'. [funcArgNamesDifferent] khelpcenter-25.04.0/application.h:32:38: note: Function 'activate' argument 1 names different: declaration 'args' definition 'arguments'. khelpcenter-25.04.0/application.cpp:76:47: note: Function 'activate' argument 1 names different: declaration 'args' definition 'arguments'. khelpcenter-25.04.0/docmetainfo.cpp:34:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/docmetainfo.cpp:41:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/docmetainfo.cpp:116:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/docmetainfo.cpp:137:123: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LocateDirectory [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/docmetainfo.cpp:153:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Dirs [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/docmetainfo.cpp:211:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/docmetainfo.cpp:219:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/docmetainfo.cpp:265:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/fontdialog.cpp:43:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/fontdialog.cpp:155:91: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTML_DEFAULT_MIN_FONT_SIZE [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/grantleeformatter.cpp:55:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/grantleeformatter.cpp:65:133: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LocateDirectory [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/grantleeformatter.cpp:48:37: performance:inconclusive: Technically the member function 'Private::format' can be static (but you may consider moving to unnamed namespace). [functionStatic] khelpcenter-25.04.0/grantleeformatter.cpp:43:13: note: Technically the member function 'Private::format' can be static (but you may consider moving to unnamed namespace). khelpcenter-25.04.0/grantleeformatter.cpp:48:37: note: Technically the member function 'Private::format' can be static (but you may consider moving to unnamed namespace). khelpcenter-25.04.0/grantleeformatter.cpp:62:7: warning: Class 'GrantleeFormatter' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] khelpcenter-25.04.0/grantleeformatter.cpp:62:7: warning: Class 'GrantleeFormatter' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] khelpcenter-25.04.0/glossary.cpp:65:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoFrame [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/glossary.cpp:128:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable qApp [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/glossary.cpp:154:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable qApp [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/glossary.cpp:186:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/docmetainfo.cpp:263:19: performance:inconclusive: Technically the member function 'KHC::DocMetaInfo::endTraverseEntries' can be static (but you may consider moving to unnamed namespace). [functionStatic] khelpcenter-25.04.0/docmetainfo.h:48:10: note: Technically the member function 'KHC::DocMetaInfo::endTraverseEntries' can be static (but you may consider moving to unnamed namespace). khelpcenter-25.04.0/docmetainfo.cpp:263:19: note: Technically the member function 'KHC::DocMetaInfo::endTraverseEntries' can be static (but you may consider moving to unnamed namespace). khelpcenter-25.04.0/docmetainfo.cpp:191:19: performance:inconclusive: Technically the member function 'KHC::DocMetaInfo::traverseEntry' can be static (but you may consider moving to unnamed namespace). [functionStatic] khelpcenter-25.04.0/docmetainfo.h:55:10: note: Technically the member function 'KHC::DocMetaInfo::traverseEntry' can be static (but you may consider moving to unnamed namespace). khelpcenter-25.04.0/docmetainfo.cpp:191:19: note: Technically the member function 'KHC::DocMetaInfo::traverseEntry' can be static (but you may consider moving to unnamed namespace). khelpcenter-25.04.0/docmetainfo.h:39:20: performance: Function 'docEntries()' should return member 'mDocEntries' by const reference. [returnByReference] khelpcenter-25.04.0/docmetainfo.h:41:20: performance: Function 'searchEntries()' should return member 'mSearchEntries' by const reference. [returnByReference] khelpcenter-25.04.0/docmetainfo.cpp:53:53: style:inconclusive: Function 'addDocEntry' argument 1 names different: declaration 'fileInfo' definition 'fi'. [funcArgNamesDifferent] khelpcenter-25.04.0/docmetainfo.h:35:44: note: Function 'addDocEntry' argument 1 names different: declaration 'fileInfo' definition 'fi'. khelpcenter-25.04.0/docmetainfo.cpp:53:53: note: Function 'addDocEntry' argument 1 names different: declaration 'fileInfo' definition 'fi'. khelpcenter-25.04.0/docmetainfo.cpp:147:55: style:inconclusive: Function 'scanMetaInfoDir' argument 1 names different: declaration 'filename' definition 'dirName'. [funcArgNamesDifferent] khelpcenter-25.04.0/docmetainfo.h:53:46: note: Function 'scanMetaInfoDir' argument 1 names different: declaration 'filename' definition 'dirName'. khelpcenter-25.04.0/docmetainfo.cpp:147:55: note: Function 'scanMetaInfoDir' argument 1 names different: declaration 'filename' definition 'dirName'. khelpcenter-25.04.0/docmetainfo.cpp:191:43: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] khelpcenter-25.04.0/docmetainfo.cpp:244:19: style: Variable 'parent' can be declared as pointer to const [constVariablePointer] khelpcenter-25.04.0/docmetainfo.cpp:158:19: style: Variable 'entry' is assigned a value that is never used. [unreadVariable] khelpcenter-25.04.0/glossary.cpp:50:13: performance: Function 'id()' should return member 'm_id' by const reference. [returnByReference] khelpcenter-25.04.0/glossary.cpp:259:55: style:inconclusive: Function 'childElement' argument 1 names different: declaration 'e' definition 'element'. [funcArgNamesDifferent] khelpcenter-25.04.0/glossary.h:119:56: note: Function 'childElement' argument 1 names different: declaration 'e' definition 'element'. khelpcenter-25.04.0/glossary.cpp:259:55: note: Function 'childElement' argument 1 names different: declaration 'e' definition 'element'. khelpcenter-25.04.0/glossary.cpp:212:24: style: Local variable 'entry' shadows outer function [shadowFunction] khelpcenter-25.04.0/glossary.h:94:26: note: Shadowed declaration khelpcenter-25.04.0/glossary.cpp:212:24: note: Shadow variable khelpcenter-25.04.0/glossary.cpp:236:29: style: Local variable 'term' shadows outer variable [shadowVariable] khelpcenter-25.04.0/glossary.cpp:210:21: note: Shadowed declaration khelpcenter-25.04.0/glossary.cpp:236:29: note: Shadow variable khelpcenter-25.04.0/glossary.cpp:253:20: style: Variable 'i' can be declared as pointer to const [constVariablePointer] khelpcenter-25.04.0/infotree.cpp:72:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/infotree.cpp:102:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/history.cpp:93:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/history.cpp:120:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/history.cpp:140:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/history.cpp:147:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/history.cpp:153:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/history.cpp:160:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/history.cpp:166:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/history.cpp:175:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/history.cpp:185:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/history.cpp:288:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/history.cpp:352:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/infotree.cpp:70:37: style:inconclusive: Function 'build' argument 1 names different: declaration 'parentItem' definition 'parent'. [funcArgNamesDifferent] khelpcenter-25.04.0/infotree.h:21:31: note: Function 'build' argument 1 names different: declaration 'parentItem' definition 'parent'. khelpcenter-25.04.0/infotree.cpp:70:37: note: Function 'build' argument 1 names different: declaration 'parentItem' definition 'parent'. khelpcenter-25.04.0/infotree.cpp:100:48: style:inconclusive: Function 'parseInfoDirFile' argument 1 names different: declaration 'fileName' definition 'infoDirFileName'. [funcArgNamesDifferent] khelpcenter-25.04.0/infotree.h:24:42: note: Function 'parseInfoDirFile' argument 1 names different: declaration 'fileName' definition 'infoDirFileName'. khelpcenter-25.04.0/infotree.cpp:100:48: note: Function 'parseInfoDirFile' argument 1 names different: declaration 'fileName' definition 'infoDirFileName'. khelpcenter-25.04.0/infotree.cpp:139:31: style: Variable 'item' can be declared as pointer to const [constVariablePointer] khelpcenter-25.04.0/mainwindow.cpp:69:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoWrap [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/mainwindow.cpp:101:105: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ExportScriptableSlots [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/mainwindow.cpp:233:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AppDataLocation [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/mainwindow.cpp:265:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/navigatorappgroupitem.cpp:50:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/navigatorappgroupitem.cpp:66:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/viewcontainer.h:21:5: style: Class 'ViewContainer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] khelpcenter-25.04.0/navigatorappgroupitem.cpp:74:17: style: The scope of the variable 'url' can be reduced. [variableScope] khelpcenter-25.04.0/history.cpp:300:12: style: Variable 'current' can be declared as pointer to const [constVariablePointer] khelpcenter-25.04.0/history.cpp:300:23: warning: Either the condition 'it!=m_entries.end()' is redundant or there is possible dereference of an invalid iterator: m_entries_current. [derefInvalidIteratorRedundantCheck] khelpcenter-25.04.0/history.cpp:306:20: note: Assuming that condition 'it!=m_entries.end()' is not redundant khelpcenter-25.04.0/history.cpp:303:14: note: Assignment to 'it=m_entries_current' khelpcenter-25.04.0/history.cpp:300:23: note: Dereference of an invalid iterator khelpcenter-25.04.0/navigator.cpp:109:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoFrame [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/navigator.cpp:146:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/navigator.cpp:189:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/navigator.cpp:203:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/navigator.cpp:230:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/navigator.cpp:256:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/navigator.cpp:308:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/navigator.cpp:394:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/navigator.cpp:513:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/navigator.cpp:558:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/navigator.cpp:592:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Search [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/navigator.cpp:604:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Search [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/navigator.cpp:657:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/navigator.cpp:696:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NormalExit [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/navigatorappitem.cpp:82:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/pagesearchbar.cpp:23:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hide [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/pagesearchbar.cpp:44:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FindCaseSensitively [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/pagesearchbar.cpp:58:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FindBackward [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/pagesearchbar.cpp:85:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FindCaseSensitively [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/toc.h:27:13: performance: Function 'application()' should return member 'm_application' by const reference. [returnByReference] khelpcenter-25.04.0/printdoc.cpp:39:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Accepted [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/plugintraverser.cpp:41:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/plugintraverser.cpp:93:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/printdoc.h:27:31: performance: Function 'documentName()' should return member 'mDocumentName' by const reference. [returnByReference] khelpcenter-25.04.0/scrollkeepertreebuilder.cpp:45:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/scrollkeepertreebuilder.cpp:98:109: style:inconclusive: Function 'insertSection' argument 3 names different: declaration 'created' definition 'sectItem'. [funcArgNamesDifferent] khelpcenter-25.04.0/scrollkeepertreebuilder.h:31:88: note: Function 'insertSection' argument 3 names different: declaration 'created' definition 'sectItem'. khelpcenter-25.04.0/scrollkeepertreebuilder.cpp:98:109: note: Function 'insertSection' argument 3 names different: declaration 'created' definition 'sectItem'. khelpcenter-25.04.0/searchhandlers/cachereader.cpp:26:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BZip2 [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/searchengine.cpp:42:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/searchengine.cpp:96:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/searchengine.cpp:201:119: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LocateDirectory [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/searchengine.cpp:271:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/searchhandler.cpp:33:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable finished [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/searchhandler.cpp:171:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/searchhandler.h:66:17: performance: Function 'documentTypes()' should return member 'mDocumentTypes' by const reference. [returnByReference] khelpcenter-25.04.0/searchhandler.cpp:45:44: style:inconclusive: Function 'startRemote' argument 1 names different: declaration 'url' definition 'urlString'. [funcArgNamesDifferent] khelpcenter-25.04.0/searchhandler.h:34:37: note: Function 'startRemote' argument 1 names different: declaration 'url' definition 'urlString'. khelpcenter-25.04.0/searchhandler.cpp:45:44: note: Function 'startRemote' argument 1 names different: declaration 'url' definition 'urlString'. khelpcenter-25.04.0/navigator.cpp:144:73: style:inconclusive: Function 'insertParentAppDocs' argument 2 names different: declaration 'parent' definition 'topItem'. [funcArgNamesDifferent] khelpcenter-25.04.0/navigator.h:56:66: note: Function 'insertParentAppDocs' argument 2 names different: declaration 'parent' definition 'topItem'. khelpcenter-25.04.0/navigator.cpp:144:73: note: Function 'insertParentAppDocs' argument 2 names different: declaration 'parent' definition 'topItem'. khelpcenter-25.04.0/navigator.cpp:228:67: style:inconclusive: Function 'insertKCMDocs' argument 2 names different: declaration 'parent' definition 'topItem'. [funcArgNamesDifferent] khelpcenter-25.04.0/navigator.h:59:56: note: Function 'insertKCMDocs' argument 2 names different: declaration 'parent' definition 'topItem'. khelpcenter-25.04.0/navigator.cpp:228:67: note: Function 'insertKCMDocs' argument 2 names different: declaration 'parent' definition 'topItem'. khelpcenter-25.04.0/navigator.cpp:254:72: style:inconclusive: Function 'insertIOWorkerDocs' argument 2 names different: declaration 'parent' definition 'topItem'. [funcArgNamesDifferent] khelpcenter-25.04.0/navigator.h:62:61: note: Function 'insertIOWorkerDocs' argument 2 names different: declaration 'parent' definition 'topItem'. khelpcenter-25.04.0/navigator.cpp:254:72: note: Function 'insertIOWorkerDocs' argument 2 names different: declaration 'parent' definition 'topItem'. khelpcenter-25.04.0/navigator.cpp:278:58: style:inconclusive: Function 'createItemFromDesktopFile' argument 1 names different: declaration 'item' definition 'topItem'. [funcArgNamesDifferent] khelpcenter-25.04.0/navigator.h:63:51: note: Function 'createItemFromDesktopFile' argument 1 names different: declaration 'item' definition 'topItem'. khelpcenter-25.04.0/navigator.cpp:278:58: note: Function 'createItemFromDesktopFile' argument 1 names different: declaration 'item' definition 'topItem'. khelpcenter-25.04.0/navigator.cpp:278:82: style:inconclusive: Function 'createItemFromDesktopFile' argument 2 names different: declaration 'name' definition 'file'. [funcArgNamesDifferent] khelpcenter-25.04.0/navigator.h:63:72: note: Function 'createItemFromDesktopFile' argument 2 names different: declaration 'name' definition 'file'. khelpcenter-25.04.0/navigator.cpp:278:82: note: Function 'createItemFromDesktopFile' argument 2 names different: declaration 'name' definition 'file'. khelpcenter-25.04.0/navigator.cpp:294:47: style:inconclusive: Function 'insertInfoDocs' argument 1 names different: declaration 'parentItem' definition 'topItem'. [funcArgNamesDifferent] khelpcenter-25.04.0/navigator.h:58:40: note: Function 'insertInfoDocs' argument 1 names different: declaration 'parentItem' definition 'topItem'. khelpcenter-25.04.0/navigator.cpp:294:47: note: Function 'insertInfoDocs' argument 1 names different: declaration 'parentItem' definition 'topItem'. khelpcenter-25.04.0/navigator.cpp:300:55: style:inconclusive: Function 'insertScrollKeeperDocs' argument 1 names different: declaration 'parent' definition 'topItem'. [funcArgNamesDifferent] khelpcenter-25.04.0/navigator.h:57:48: note: Function 'insertScrollKeeperDocs' argument 1 names different: declaration 'parent' definition 'topItem'. khelpcenter-25.04.0/navigator.cpp:300:55: note: Function 'insertScrollKeeperDocs' argument 1 names different: declaration 'parent' definition 'topItem'. khelpcenter-25.04.0/navigator.cpp:385:51: style:inconclusive: Function 'slotItemSelected' argument 1 names different: declaration 'index' definition 'currentItem'. [funcArgNamesDifferent] khelpcenter-25.04.0/navigator.h:74:44: note: Function 'slotItemSelected' argument 1 names different: declaration 'index' definition 'currentItem'. khelpcenter-25.04.0/navigator.cpp:385:51: note: Function 'slotItemSelected' argument 1 names different: declaration 'index' definition 'currentItem'. khelpcenter-25.04.0/navigator.cpp:351:24: style: Local variable 'item' shadows outer variable [shadowVariable] khelpcenter-25.04.0/navigator.cpp:327:20: note: Shadowed declaration khelpcenter-25.04.0/navigator.cpp:351:24: note: Shadow variable khelpcenter-25.04.0/navigator.cpp:327:20: style: Variable 'item' can be declared as pointer to const [constVariablePointer] khelpcenter-25.04.0/navigator.cpp:485:19: style: Variable 'e' can be declared as pointer to const [constVariablePointer] khelpcenter-25.04.0/navigator.cpp:652:20: style: Variable 'handler' can be declared as pointer to const [constVariablePointer] khelpcenter-25.04.0/searchhandlers/htmltextdump.cpp:47:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ELEMENT_NODE [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/searchhandlers/htmltextdump.cpp:57:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TEXT_NODE [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/searchhandlers/htmltextdump.cpp:69:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTML_PARSE_RECOVER [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/navigator.cpp:231:45: style: Variable 'systemsettingskontrolconstraint' is assigned a value that is never used. [unreadVariable] khelpcenter-25.04.0/navigator.cpp:231:13: style: Variable 'systemsettingskontrolconstraint' is assigned a value that is never used. [unreadVariable] khelpcenter-25.04.0/searchhandlers/htmltextdump.cpp:21:5: style: Class 'HtmlDocPtr' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] khelpcenter-25.04.0/searchhandlers/xapiancommon.cpp:41:112: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DB_CREATE_OR_OPEN [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/searchengine.cpp:185:15: warning: Member variable 'SearchEngine::mMatches' is not initialized in the constructor. [uninitMemberVar] khelpcenter-25.04.0/searchengine.cpp:185:15: warning: Member variable 'SearchEngine::mMaxResults' is not initialized in the constructor. [uninitMemberVar] khelpcenter-25.04.0/searchengine.cpp:185:15: warning: Member variable 'SearchEngine::mOperation' is not initialized in the constructor. [uninitMemberVar] khelpcenter-25.04.0/searchhandlers/xapiancommon.h:22:5: style: Struct 'DatabaseVersionMismatch' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] khelpcenter-25.04.0/searchengine.h:107:13: performance: Function 'errorLog()' should return member 'mStderr' by const reference. [returnByReference] khelpcenter-25.04.0/searchengine.h:113:17: performance: Function 'words()' should return member 'mWordList' by const reference. [returnByReference] khelpcenter-25.04.0/searchengine.cpp:215:39: style: Local variable 'handler' shadows outer function [shadowFunction] khelpcenter-25.04.0/searchengine.h:111:20: note: Shadowed declaration khelpcenter-25.04.0/searchengine.cpp:215:39: note: Shadow variable khelpcenter-25.04.0/searchengine.cpp:220:40: style: Local variable 'it' shadows outer variable [shadowVariable] khelpcenter-25.04.0/searchengine.cpp:211:32: note: Shadowed declaration khelpcenter-25.04.0/searchengine.cpp:220:40: note: Shadow variable khelpcenter-25.04.0/searchengine.cpp:367:20: style: Variable 'h' can be declared as pointer to const [constVariablePointer] khelpcenter-25.04.0/searchhandlers/xapiansearch.cpp:61:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/tests/testmetainfo.cpp:18:5: style: Class 'MyTraverser' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] khelpcenter-25.04.0/tests/testmetainfo.cpp:69:5: style: Class 'AsyncTraverser' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] khelpcenter-25.04.0/searchhandlers/xapianindexer.cpp:68:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/searchhandlers/xapianindexer.cpp:148:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoDotAndDotDot [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/searchhandlers/xapianindexer.cpp:194:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/scopeitem.h:38:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Unchecked [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/scopeitem.h:42:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Checked [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/scopeitem.h:48:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Checked [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/searchwidget.cpp:73:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable activated [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/searchwidget.cpp:319:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/toc.cpp:87:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CacheLocation [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/toc.cpp:115:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/toc.cpp:129:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable qApp [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/toc.cpp:155:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable qApp [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/toc.cpp:203:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/searchwidget.cpp:236:20: warning: Class 'ScopeTraverser' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] khelpcenter-25.04.0/searchwidget.cpp:236:20: warning: Class 'ScopeTraverser' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] khelpcenter-25.04.0/searchwidget.cpp:233:6: style: The destructor '~ScopeTraverser' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] khelpcenter-25.04.0/docentrytraverser.h:22:14: note: Virtual destructor in base class khelpcenter-25.04.0/searchwidget.cpp:233:6: note: Destructor in derived class khelpcenter-25.04.0/searchwidget.cpp:137:28: style: Variable 'item' can be declared as pointer to const [constVariablePointer] khelpcenter-25.04.0/searchwidget.cpp:212:24: style: Variable 'item' can be declared as pointer to const [constVariablePointer] khelpcenter-25.04.0/searchwidget.cpp:315:16: style: Variable 'scopeItem' can be declared as pointer to const [constVariablePointer] khelpcenter-25.04.0/searchwidget.cpp:354:24: style: Variable 'item' can be declared as pointer to const [constVariablePointer] khelpcenter-25.04.0/searchhandlers/xapianindexer.cpp:75:19: style: The scope of the variable 'docsToAdd' can be reduced. [variableScope] khelpcenter-25.04.0/searchhandlers/xapianindexer.cpp:77:25: style: The scope of the variable 'docsToRemove' can be reduced. [variableScope] khelpcenter-25.04.0/searchhandlers/xapianindexer.cpp:238:38: style: Local variable 'it' shadows outer variable [shadowVariable] khelpcenter-25.04.0/searchhandlers/xapianindexer.cpp:222:32: note: Shadowed declaration khelpcenter-25.04.0/searchhandlers/xapianindexer.cpp:238:38: note: Shadow variable khelpcenter-25.04.0/viewcontainer.cpp:22:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Key_Escape [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/toc.cpp:45:21: style: Virtual function 'url' is called from constructor 'TOCChapterItem(TOC*toc,NavigatorItem*parent,QTreeWidgetItem*after,const QString&title,const QString&name)' at line 265. Dynamic binding is not used. [virtualCallInConstructor] khelpcenter-25.04.0/toc.cpp:265:21: note: Calling url khelpcenter-25.04.0/toc.cpp:45:21: note: url is a virtual function khelpcenter-25.04.0/toc.cpp:56:21: style: Virtual function 'url' is called from constructor 'TOCSectionItem(TOC*toc,TOCChapterItem*parent,QTreeWidgetItem*after,const QString&title,const QString&name)' at line 278. Dynamic binding is not used. [virtualCallInConstructor] khelpcenter-25.04.0/toc.cpp:278:21: note: Calling url khelpcenter-25.04.0/toc.cpp:56:21: note: url is a virtual function khelpcenter-25.04.0/toc.cpp:235:50: style:inconclusive: Function 'childElement' argument 1 names different: declaration 'e' definition 'element'. [funcArgNamesDifferent] khelpcenter-25.04.0/toc.h:55:49: note: Function 'childElement' argument 1 names different: declaration 'e' definition 'element'. khelpcenter-25.04.0/toc.cpp:235:50: note: Function 'childElement' argument 1 names different: declaration 'e' definition 'element'. khelpcenter-25.04.0/toc.cpp:253:23: style:inconclusive: Function 'TOCItem' argument 1 names different: declaration 'parent' definition 'toc'. [funcArgNamesDifferent] khelpcenter-25.04.0/toc.cpp:29:18: note: Function 'TOCItem' argument 1 names different: declaration 'parent' definition 'toc'. khelpcenter-25.04.0/toc.cpp:253:23: note: Function 'TOCItem' argument 1 names different: declaration 'parent' definition 'toc'. khelpcenter-25.04.0/toc.cpp:129:20: style: Variable 'mainWindow' can be declared as pointer to const [constVariablePointer] khelpcenter-25.04.0/toc.cpp:155:20: style: Variable 'mainWindow' can be declared as pointer to const [constVariablePointer] khelpcenter-25.04.0/toc.cpp:246:14: style: Variable 'tocItem' can be declared as pointer to const [constVariablePointer] khelpcenter-25.04.0/view.cpp:45:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KHC_LOG [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/view.cpp:74:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SecureScheme [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/view.cpp:155:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable qApp [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/view.cpp:252:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Back [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/view.cpp:305:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SingleHtmlSaveFormat [valueFlowBailoutIncompleteVar] khelpcenter-25.04.0/view.cpp:50:85: performance: Function parameter 'data' should be passed by const reference. [passedByValue] diff: 2.18.0 khelpcenter-25.04.0/grantleeformatter.cpp:62:7: warning: Class 'GrantleeFormatter' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] head khelpcenter-25.04.0/grantleeformatter.cpp:62:7: warning: Class 'GrantleeFormatter' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] 2.18.0 khelpcenter-25.04.0/grantleeformatter.cpp:62:7: warning: Class 'GrantleeFormatter' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] head khelpcenter-25.04.0/grantleeformatter.cpp:62:7: warning: Class 'GrantleeFormatter' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] head khelpcenter-25.04.0/searchwidget.cpp:236:20: warning: Class 'ScopeTraverser' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] head khelpcenter-25.04.0/searchwidget.cpp:236:20: warning: Class 'ScopeTraverser' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] DONE