2025-11-27 09:27 ftp://ftp.de.debian.org/debian/pool/main/k/khangman/khangman_25.04.0.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=kde --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 --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: 18 18 elapsed-time: 0.1 0.1 head-timing-info: old-timing-info: head results: khangman-25.04.0/src/khmtheme.h:25:13: performance: Function 'name()' should return member 'KHMname' by const reference. [returnByReference] khangman-25.04.0/src/khmtheme.h:29:13: performance: Function 'svgFileName()' should return member 'KHMsvgFileName' by const reference. [returnByReference] khangman-25.04.0/src/khmtheme.h:50:13: performance: Function 'getAuthor()' should return member 'KHMauthor' by const reference. [returnByReference] khangman-25.04.0/src/khmtheme.h:52:13: performance: Function 'getThemeVersion()' should return member 'KHMthemeVersion' by const reference. [returnByReference] khangman-25.04.0/src/khmthemefactory.cpp:15:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] khangman-25.04.0/src/khmthemefactory.cpp:46:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Files [valueFlowBailoutIncompleteVar] khangman-25.04.0/src/khmthemefactory.cpp:7:47: style:inconclusive: Function 'addTheme' argument 1 names different: declaration 'filePath' definition 'themeFile'. [funcArgNamesDifferent] khangman-25.04.0/src/khmthemefactory.h:20:34: note: Function 'addTheme' argument 1 names different: declaration 'filePath' definition 'themeFile'. khangman-25.04.0/src/khmthemefactory.cpp:7:47: note: Function 'addTheme' argument 1 names different: declaration 'filePath' definition 'themeFile'. khangman-25.04.0/src/khangman.cpp:37:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NormalizationForm_D [valueFlowBailoutIncompleteVar] khangman-25.04.0/src/khangman.cpp:66:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable quit [valueFlowBailoutIncompleteVar] khangman-25.04.0/src/khangman.cpp:150:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] khangman-25.04.0/src/khangman.cpp:177:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FileIgnoreLock [valueFlowBailoutIncompleteVar] khangman-25.04.0/src/khangman.cpp:403:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISODate [valueFlowBailoutIncompleteVar] khangman-25.04.0/src/khangman.cpp:476:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GenericDataLocation [valueFlowBailoutIncompleteVar] khangman-25.04.0/src/main.cpp:33:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lastWindowClosed [valueFlowBailoutIncompleteVar] khangman-25.04.0/src/khangman.h:69:17: performance: Function 'languages()' should return member 'm_languageNames' by const reference. [returnByReference] khangman-25.04.0/src/khangman.h:88:25: performance: Function 'getCurrentHint()' should return member 'm_hint' by const reference. [returnByReference] khangman-25.04.0/src/khangman.cpp:232:44: style:inconclusive: Function 'containsChar' argument 1 names different: declaration 'original' definition 'sChar'. [funcArgNamesDifferent] khangman-25.04.0/src/khangman.h:93:50: note: Function 'containsChar' argument 1 names different: declaration 'original' definition 'sChar'. khangman-25.04.0/src/khangman.cpp:232:44: note: Function 'containsChar' argument 1 names different: declaration 'original' definition 'sChar'. khangman-25.04.0/src/khangman.cpp:317:17: style: Local variable 'themes' shadows outer function [shadowFunction] khangman-25.04.0/src/khangman.h:78:17: note: Shadowed declaration khangman-25.04.0/src/khangman.cpp:317:17: note: Shadow variable diff: DONE