2025-08-31 21:10 ftp://ftp.de.debian.org/debian/pool/main/k/krunner/krunner_5.116.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.41+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: 2ee39fe (2025-08-30 22:07:31 +0200) count: 48 96 elapsed-time: 0.1 0.3 head-timing-info: old-timing-info: head results: krunner-5.116.0/autotests/fakerunner.h:47:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Highest [valueFlowBailoutIncompleteVar] krunner-5.116.0/autotests/runnercontexttest.cpp:17:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Files [valueFlowBailoutIncompleteVar] krunner-5.116.0/autotests/runnercontexttest.cpp:27:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NetworkLocation [valueFlowBailoutIncompleteVar] krunner-5.116.0/autotests/runnercontexttest.cpp:61:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable url [valueFlowBailoutIncompleteVar] krunner-5.116.0/autotests/runnermanagersinglerunnermodetest.cpp:51:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KRUNNER_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] krunner-5.116.0/autotests/runnermanagersinglerunnermodetest.cpp:51:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KRUNNER_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] krunner-5.116.0/autotests/runnermanagerhistorytest.cpp:27:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GenericDataLocation [valueFlowBailoutIncompleteVar] krunner-5.116.0/autotests/runnermanagerhistorytest.cpp:45:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable queryFinished [valueFlowBailoutIncompleteVar] krunner-5.116.0/autotests/runnermanagerhistorytest.cpp:65:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable queries [valueFlowBailoutIncompleteVar] krunner-5.116.0/autotests/runnermanagerhistorytest.cpp:131:105: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GenericDataLocation [valueFlowBailoutIncompleteVar] krunner-5.116.0/autotests/runnermatchmethodstest.cpp:44:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KRUNNER_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] krunner-5.116.0/autotests/runnermatchmethodstest.cpp:44:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KRUNNER_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] krunner-5.116.0/autotests/dbusrunnertest.cpp:105:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ExactMatch [valueFlowBailoutIncompleteVar] krunner-5.116.0/autotests/dbusrunnertest.cpp:177:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable runner [valueFlowBailoutIncompleteVar] krunner-5.116.0/autotests/dbusrunnertest.cpp:206:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rejectedQuery [valueFlowBailoutIncompleteVar] krunner-5.116.0/autotests/dbusrunnertest.cpp:240:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Format_RGBA8888 [valueFlowBailoutIncompleteVar] krunner-5.116.0/autotests/dbusrunnertest.cpp:262:126: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SkipEmptyParts [valueFlowBailoutIncompleteVar] krunner-5.116.0/autotests/runnermanagertest.cpp:31:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GenericDataLocation [valueFlowBailoutIncompleteVar] krunner-5.116.0/autotests/runnermanagertest.cpp:51:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable queryFinished [valueFlowBailoutIncompleteVar] krunner-5.116.0/autotests/runnermanagertest.cpp:104:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable queryFinished [valueFlowBailoutIncompleteVar] krunner-5.116.0/src/abstractrunner.h:15:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KRUNNER_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] krunner-5.116.0/src/abstractrunner.h:15:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KRUNNER_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] krunner-5.116.0/src/declarative/runnermodelplugin.cpp:19:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KRUNNER [valueFlowBailoutIncompleteVar] krunner-5.116.0/autotests/testremoterunner.cpp:37:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Format_RGBA8888 [valueFlowBailoutIncompleteVar] krunner-5.116.0/autotests/testremoterunner.cpp:50:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] krunner-5.116.0/autotests/testremoterunner.cpp:106:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] krunner-5.116.0/autotests/testremoterunner.cpp:113:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] krunner-5.116.0/autotests/testremoterunner.cpp:121:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] krunner-5.116.0/src/declarative/runnermodel.cpp:33:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DisplayRole [valueFlowBailoutIncompleteVar] krunner-5.116.0/src/declarative/runnermodel.cpp:109:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DisplayRole [valueFlowBailoutIncompleteVar] krunner-5.116.0/src/querymatch.h:44:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KRUNNER_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] krunner-5.116.0/src/querymatch.h:44:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KRUNNER_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] krunner-5.116.0/src/runnercontext.h:83:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KRUNNER_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] krunner-5.116.0/src/runnercontext.h:83:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KRUNNER_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] krunner-5.116.0/src/declarative/runnermodel.cpp:90:27: style:inconclusive: Function 'run' argument 1 names different: declaration 'row' definition 'index'. [funcArgNamesDifferent] krunner-5.116.0/src/declarative/runnermodel.h:78:31: note: Function 'run' argument 1 names different: declaration 'row' definition 'index'. krunner-5.116.0/src/declarative/runnermodel.cpp:90:27: note: Function 'run' argument 1 names different: declaration 'row' definition 'index'. krunner-5.116.0/src/runnersyntax.h:75:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KRUNNER_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] krunner-5.116.0/src/runnersyntax.h:75:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KRUNNER_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] krunner-5.116.0/src/runnermanager.h:17:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KRUNNER_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] krunner-5.116.0/src/runnermanager.h:17:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KRUNNER_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] krunner-5.116.0/templates/runner/src/%{APPNAMELC}.h:8:0: error: Failed to parse #define [preprocessorErrorDirective] krunner-5.116.0/templates/runner/src/%{APPNAMELC}.h:8:2: error: Failed to parse #define [preprocessorErrorDirective] krunner-5.116.0/src/dbusrunner.cpp:42:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KRUNNER [valueFlowBailoutIncompleteVar] krunner-5.116.0/src/dbusrunner.cpp:158:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KRUNNER [valueFlowBailoutIncompleteVar] krunner-5.116.0/src/dbusrunner.cpp:178:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KRUNNER [valueFlowBailoutIncompleteVar] krunner-5.116.0/src/dbusrunner.cpp:233:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KRUNNER [valueFlowBailoutIncompleteVar] krunner-5.116.0/src/dbusrunner.cpp:325:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoBlock [valueFlowBailoutIncompleteVar] krunner-5.116.0/src/dbusrunner.cpp:345:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KRUNNER [valueFlowBailoutIncompleteVar] krunner-5.116.0/src/dbusrunner.cpp:306:86: style:inconclusive: Function 'run' argument 2 names different: declaration 'action' definition 'match'. [funcArgNamesDifferent] krunner-5.116.0/src/dbusrunner_p.h:28:78: note: Function 'run' argument 2 names different: declaration 'action' definition 'match'. krunner-5.116.0/src/dbusrunner.cpp:306:86: note: Function 'run' argument 2 names different: declaration 'action' definition 'match'. diff: 2.18.0 krunner-5.116.0/autotests/runnermanagersinglerunnermodetest.cpp:30:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GenericDataLocation [valueFlowBailoutIncompleteVar] 2.18.0 krunner-5.116.0/autotests/runnermanagersinglerunnermodetest.cpp:41:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ConfigLocation [valueFlowBailoutIncompleteVar] head krunner-5.116.0/autotests/runnermanagersinglerunnermodetest.cpp:51:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KRUNNER_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] head krunner-5.116.0/autotests/runnermanagersinglerunnermodetest.cpp:51:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KRUNNER_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] 2.18.0 krunner-5.116.0/autotests/runnermanagersinglerunnermodetest.cpp:96:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GenericDataLocation [valueFlowBailoutIncompleteVar] head krunner-5.116.0/autotests/runnermatchmethodstest.cpp:44:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KRUNNER_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] head krunner-5.116.0/autotests/runnermatchmethodstest.cpp:44:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KRUNNER_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] 2.18.0 krunner-5.116.0/src/abstractrunner.cpp:138:61: style:inconclusive: Function 'setSyntaxes' argument 1 names different: declaration 'syns' definition 'syntaxes'. [funcArgNamesDifferent] krunner-5.116.0/src/abstractrunner.h:667:49: note: Function 'setSyntaxes' argument 1 names different: declaration 'syns' definition 'syntaxes'. krunner-5.116.0/src/abstractrunner.cpp:138:61: note: Function 'setSyntaxes' argument 1 names different: declaration 'syns' definition 'syntaxes'. 2.18.0 krunner-5.116.0/src/abstractrunner.cpp:292:43: style:inconclusive: Function 'setPriority' argument 1 names different: declaration 'newPriority' definition 'priority'. [funcArgNamesDifferent] krunner-5.116.0/src/abstractrunner.h:529:31: note: Function 'setPriority' argument 1 names different: declaration 'newPriority' definition 'priority'. krunner-5.116.0/src/abstractrunner.cpp:292:43: note: Function 'setPriority' argument 1 names different: declaration 'newPriority' definition 'priority'. 2.18.0 krunner-5.116.0/src/abstractrunner.cpp:311:55: style:inconclusive: Function 'run' argument 1 names different: declaration 'context' definition 'search'. [funcArgNamesDifferent] krunner-5.116.0/src/abstractrunner.h:198:51: note: Function 'run' argument 1 names different: declaration 'context' definition 'search'. krunner-5.116.0/src/abstractrunner.cpp:311:55: note: Function 'run' argument 1 names different: declaration 'context' definition 'search'. 2.18.0 krunner-5.116.0/src/abstractrunner.cpp:311:89: style:inconclusive: Function 'run' argument 2 names different: declaration 'match' definition 'action'. [funcArgNamesDifferent] krunner-5.116.0/src/abstractrunner.h:198:86: note: Function 'run' argument 2 names different: declaration 'match' definition 'action'. krunner-5.116.0/src/abstractrunner.cpp:311:89: note: Function 'run' argument 2 names different: declaration 'match' definition 'action'. head krunner-5.116.0/src/abstractrunner.h:15:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KRUNNER_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] head krunner-5.116.0/src/abstractrunner.h:15:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KRUNNER_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] 2.18.0 krunner-5.116.0/src/abstractrunner.h:352:25: performance: Function 'syntaxes()' should return member 'syntaxes' by const reference. [returnByReference] 2.18.0 krunner-5.116.0/src/abstractrunner_p.h:29:5: style: Class 'AbstractRunnerPrivate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 krunner-5.116.0/src/dbusrunner_p.h:32:10: warning: The class 'DBusRunner' defines member function with name 'teardown' also defined in its parent class 'AbstractRunner'. [duplInheritedMember] krunner-5.116.0/src/abstractrunner.h:444:10: note: Parent function 'AbstractRunner::teardown' krunner-5.116.0/src/dbusrunner_p.h:32:10: note: Derived function 'DBusRunner::teardown' 2.18.0 krunner-5.116.0/src/querymatch.cpp:134:18: performance:inconclusive: Technically the member function 'Plasma::QueryMatch::setCategoryRelevance' can be static (but you may consider moving to unnamed namespace). [functionStatic] krunner-5.116.0/src/querymatch.h:137:10: note: Technically the member function 'Plasma::QueryMatch::setCategoryRelevance' can be static (but you may consider moving to unnamed namespace). krunner-5.116.0/src/querymatch.cpp:134:18: note: Technically the member function 'Plasma::QueryMatch::setCategoryRelevance' can be static (but you may consider moving to unnamed namespace). 2.18.0 krunner-5.116.0/src/querymatch.cpp:160:44: style:inconclusive: Function 'setSubtext' argument 1 names different: declaration 'text' definition 'subtext'. [funcArgNamesDifferent] krunner-5.116.0/src/querymatch.h:229:36: note: Function 'setSubtext' argument 1 names different: declaration 'text' definition 'subtext'. krunner-5.116.0/src/querymatch.cpp:160:44: note: Function 'setSubtext' argument 1 names different: declaration 'text' definition 'subtext'. 2.18.0 krunner-5.116.0/src/querymatch.cpp:22:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] 2.18.0 krunner-5.116.0/src/querymatch.cpp:25:5: style: Class 'QueryMatchPrivate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 krunner-5.116.0/src/querymatch.cpp:264:34: style:inconclusive: Function 'setEnabled' argument 1 names different: declaration 'enable' definition 'enabled'. [funcArgNamesDifferent] krunner-5.116.0/src/querymatch.h:297:26: note: Function 'setEnabled' argument 1 names different: declaration 'enable' definition 'enabled'. krunner-5.116.0/src/querymatch.cpp:264:34: note: Function 'setEnabled' argument 1 names different: declaration 'enable' definition 'enabled'. 2.18.0 krunner-5.116.0/src/querymatch.cpp:317:11: style: The statement 'if (d!=other.d) d=other.d' is logically equivalent to 'd=other.d'. [duplicateConditionalAssign] krunner-5.116.0/src/querymatch.cpp:318:11: note: Assignment 'd=other.d' krunner-5.116.0/src/querymatch.cpp:317:11: note: Condition 'd!=other.d' is redundant 2.18.0 krunner-5.116.0/src/querymatch.cpp:31:5: warning:inconclusive: Member variable 'QueryMatchPrivate::lock' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] 2.18.0 krunner-5.116.0/src/querymatch.cpp:31:5: warning:inconclusive: Member variable 'QueryMatchPrivate::mimeType' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] 2.18.0 krunner-5.116.0/src/querymatch.cpp:361:37: style: Parameter 'action' can be declared as pointer to const [constParameterPointer] 2.18.0 krunner-5.116.0/src/querymatch.cpp:361:37: style:inconclusive: Function 'addAction' argument 1 names different: declaration 'actions' definition 'action'. [funcArgNamesDifferent] krunner-5.116.0/src/querymatch.h:317:29: note: Function 'addAction' argument 1 names different: declaration 'actions' definition 'action'. krunner-5.116.0/src/querymatch.cpp:361:37: note: Function 'addAction' argument 1 names different: declaration 'actions' definition 'action'. 2.18.0 krunner-5.116.0/src/querymatch.cpp:68:13: style: class member 'QueryMatchPrivate::mimeType' is never used. [unusedStructMember] head krunner-5.116.0/src/querymatch.h:44:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KRUNNER_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] head krunner-5.116.0/src/querymatch.h:44:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KRUNNER_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] 2.18.0 krunner-5.116.0/src/runnercontext.cpp:172:17: style: class member 'RunnerContextPrivate::enabledCategories' is never used. [unusedStructMember] 2.18.0 krunner-5.116.0/src/runnercontext.cpp:192:45: style: Parameter 'other' can be declared as reference to const [constParameterReference] 2.18.0 krunner-5.116.0/src/runnercontext.cpp:48:14: warning:inconclusive: Member variable 'RunnerContextPrivate::enabledCategories' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] 2.18.0 krunner-5.116.0/src/runnercontext.cpp:48:14: warning:inconclusive: Member variable 'RunnerContextPrivate::lock' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] 2.18.0 krunner-5.116.0/src/runnercontext.cpp:48:14: warning:inconclusive: Member variable 'RunnerContextPrivate::matches' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] 2.18.0 krunner-5.116.0/src/runnercontext.cpp:48:14: warning:inconclusive: Member variable 'RunnerContextPrivate::mimeType' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] 2.18.0 krunner-5.116.0/src/runnercontext.cpp:48:14: warning:inconclusive: Member variable 'RunnerContextPrivate::requestedCursorPosition' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] 2.18.0 krunner-5.116.0/src/runnercontext.cpp:48:14: warning:inconclusive: Member variable 'RunnerContextPrivate::requestedText' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] 2.18.0 krunner-5.116.0/src/runnercontext.cpp:48:14: warning:inconclusive: Member variable 'RunnerContextPrivate::shouldIgnoreCurrentMatchForHistory' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] 2.18.0 krunner-5.116.0/src/runnercontext.cpp:48:14: warning:inconclusive: Member variable 'RunnerContextPrivate::singleRunnerQueryMode' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] 2.18.0 krunner-5.116.0/src/runnercontext.cpp:48:14: warning:inconclusive: Member variable 'RunnerContextPrivate::term' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] 2.18.0 krunner-5.116.0/src/runnercontext.cpp:48:14: warning:inconclusive: Member variable 'RunnerContextPrivate::uniqueIds' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] 2.18.0 krunner-5.116.0/src/runnercontext.h:302:31: performance: Function 'requestedQueryString()' should return member 'requestedText' by const reference. [returnByReference] 2.18.0 krunner-5.116.0/src/runnercontext.h:81:13: performance: Function 'query()' should return member 'term' by const reference. [returnByReference] head krunner-5.116.0/src/runnercontext.h:83:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KRUNNER_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] head krunner-5.116.0/src/runnercontext.h:83:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KRUNNER_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] 2.18.0 krunner-5.116.0/src/runnerjobs.cpp:82:29: style: Variable 'runner' can be declared as pointer to const [constVariablePointer] 2.18.0 krunner-5.116.0/src/runnerjobs.cpp:95:29: style: Variable 'runner' can be declared as pointer to const [constVariablePointer] 2.18.0 krunner-5.116.0/src/runnermanager.cpp:1054:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CaseInsensitive [valueFlowBailoutIncompleteVar] 2.18.0 krunner-5.116.0/src/runnermanager.cpp:1054:64: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 krunner-5.116.0/src/runnermanager.cpp:1123:21: style:inconclusive: Either there is a missing 'override', or the member function 'Plasma::RunnerManager::historyEnabled' can be const. [functionConst] krunner-5.116.0/src/runnermanager.h:248:10: note: Either there is a missing 'override', or the member function 'Plasma::RunnerManager::historyEnabled' can be const. krunner-5.116.0/src/runnermanager.cpp:1123:21: note: Either there is a missing 'override', or the member function 'Plasma::RunnerManager::historyEnabled' can be const. 2.18.0 krunner-5.116.0/src/runnermanager.cpp:1128:21: style:inconclusive: Either there is a missing 'override', or the member function 'Plasma::RunnerManager::retainPriorSearch' can be const. [functionConst] krunner-5.116.0/src/runnermanager.h:242:10: note: Either there is a missing 'override', or the member function 'Plasma::RunnerManager::retainPriorSearch' can be const. krunner-5.116.0/src/runnermanager.cpp:1128:21: note: Either there is a missing 'override', or the member function 'Plasma::RunnerManager::retainPriorSearch' can be const. 2.18.0 krunner-5.116.0/src/runnermanager.cpp:186:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KRUNNER [valueFlowBailoutIncompleteVar] 2.18.0 krunner-5.116.0/src/runnermanager.cpp:229:56: style: Condition '!allCategoriesDisabled' is always false [knownConditionTrueFalse] krunner-5.116.0/src/runnermanager.cpp:217:50: note: Assignment 'allCategoriesDisabled=true', assigned value is 1 krunner-5.116.0/src/runnermanager.cpp:229:56: note: Condition '!allCategoriesDisabled' is always false 2.18.0 krunner-5.116.0/src/runnermanager.cpp:247:18: style: Local variable 'it' shadows outer variable [shadowVariable] krunner-5.116.0/src/runnermanager.cpp:183:49: note: Shadowed declaration krunner-5.116.0/src/runnermanager.cpp:247:18: note: Shadow variable 2.18.0 krunner-5.116.0/src/runnermanager.cpp:307:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KRUNNER [valueFlowBailoutIncompleteVar] 2.18.0 krunner-5.116.0/src/runnermanager.cpp:436:20: performance: Function 'getActivityKey()' should return member 'nulluuid' by const reference. [returnByReference] 2.18.0 krunner-5.116.0/src/runnermanager.cpp:436:20: style:inconclusive: Technically the member function 'Plasma::RunnerManagerPrivate::getActivityKey' can be const. [functionConst] 2.18.0 krunner-5.116.0/src/runnermanager.cpp:471:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Notify [valueFlowBailoutIncompleteVar] 2.18.0 krunner-5.116.0/src/runnermanager.cpp:552:109: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GenericDataLocation [valueFlowBailoutIncompleteVar] 2.18.0 krunner-5.116.0/src/runnermanager.cpp:572:32: style: Local variable 'runners' shadows outer function [shadowFunction] krunner-5.116.0/src/runnermanager.h:153:29: note: Shadowed declaration krunner-5.116.0/src/runnermanager.cpp:572:32: note: Shadow variable 2.18.0 krunner-5.116.0/src/runnermanager.cpp:573:20: style: Variable 'job' can be declared as reference to const [constVariableReference] 2.18.0 krunner-5.116.0/src/runnermanager.cpp:648:29: style: Local variable 'runner' shadows outer function [shadowFunction] krunner-5.116.0/src/runnermanager.h:71:21: note: Shadowed declaration krunner-5.116.0/src/runnermanager.cpp:648:29: note: Shadow variable 2.18.0 krunner-5.116.0/src/runnermanager.cpp:667:54: style:inconclusive: Function 'runner' argument 1 names different: declaration 'pluginName' definition 'name'. [funcArgNamesDifferent] krunner-5.116.0/src/runnermanager.h:71:43: note: Function 'runner' argument 1 names different: declaration 'pluginName' definition 'name'. krunner-5.116.0/src/runnermanager.cpp:667:54: note: Function 'runner' argument 1 names different: declaration 'pluginName' definition 'name'. 2.18.0 krunner-5.116.0/src/runnermanager.cpp:67:5: style: Class 'RunnerManagerPrivate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 krunner-5.116.0/src/runnermanager.cpp:71:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PreciseTimer [valueFlowBailoutIncompleteVar] 2.18.0 krunner-5.116.0/src/runnermanager.cpp:794:25: style: Local variable 'runner' shadows outer function [shadowFunction] krunner-5.116.0/src/runnermanager.h:71:21: note: Shadowed declaration krunner-5.116.0/src/runnermanager.cpp:794:25: note: Shadow variable 2.18.0 krunner-5.116.0/src/runnermanager.cpp:873:127: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LocateDirectory [valueFlowBailoutIncompleteVar] 2.18.0 krunner-5.116.0/src/runnermanager.cpp:927:30: style: Local variable 'runner' shadows outer function [shadowFunction] krunner-5.116.0/src/runnermanager.h:71:21: note: Shadowed declaration krunner-5.116.0/src/runnermanager.cpp:927:30: note: Shadow variable 2.18.0 krunner-5.116.0/src/runnermanager.cpp:955:48: style:inconclusive: Function 'launchQuery' argument 1 names different: declaration 'term' definition 'untrimmedTerm'. [funcArgNamesDifferent] krunner-5.116.0/src/runnermanager.h:429:37: note: Function 'launchQuery' argument 1 names different: declaration 'term' definition 'untrimmedTerm'. krunner-5.116.0/src/runnermanager.cpp:955:48: note: Function 'launchQuery' argument 1 names different: declaration 'term' definition 'untrimmedTerm'. 2.18.0 krunner-5.116.0/src/runnermanager.cpp:955:78: style:inconclusive: Function 'launchQuery' argument 2 names different: declaration 'runnerId' definition 'runnerName'. [funcArgNamesDifferent] krunner-5.116.0/src/runnermanager.h:429:58: note: Function 'launchQuery' argument 2 names different: declaration 'runnerId' definition 'runnerName'. krunner-5.116.0/src/runnermanager.cpp:955:78: note: Function 'launchQuery' argument 2 names different: declaration 'runnerId' definition 'runnerName'. head krunner-5.116.0/src/runnermanager.h:17:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KRUNNER_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] head krunner-5.116.0/src/runnermanager.h:17:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KRUNNER_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] 2.18.0 krunner-5.116.0/src/runnersyntax.h:120:13: performance: Function 'description()' should return member 'description' by const reference. [returnByReference] head krunner-5.116.0/src/runnersyntax.h:75:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KRUNNER_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] head krunner-5.116.0/src/runnersyntax.h:75:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KRUNNER_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] 2.18.0 krunner-5.116.0/src/runnersyntax.h:92:17: performance: Function 'exampleQueries()' should return member 'exampleQueries' by const reference. [returnByReference] DONE