2026-05-04 08:08 ftp://ftp.de.debian.org/debian/pool/main/p/plasma-pa/plasma-pa_6.6.4.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=qt --library=kde --library=gtk --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 -j1 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 68 66 elapsed-time: 0.9 0.8 head-timing-info: old-timing-info: head results: plasma-pa-6.6.4/autotests/percentvalidatortest.cpp:19:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Acceptable [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/autotests/percentvalidatortest.cpp:13:10: style:inconclusive: Either there is a missing 'override', or the member function 'PercentValidatorTest::test' can be const. [functionConst] plasma-pa-6.6.4/src/audioicon.cpp:59:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RightToLeft [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/audioicon.cpp:46:19: style: Redundant initialization for 'finalIcon'. The initialized value is overwritten before it is read. [redundantInitialization] plasma-pa-6.6.4/src/audioicon.cpp:39:23: note: finalIcon is initialized plasma-pa-6.6.4/src/audioicon.cpp:46:19: note: finalIcon is overwritten plasma-pa-6.6.4/src/audioicon.cpp:37:34: style:inconclusive: Function 'forVolume' argument 1 names different: declaration 'volume' definition 'percent'. [funcArgNamesDifferent] plasma-pa-6.6.4/src/audioicon.h:24:46: note: Function 'forVolume' argument 1 names different: declaration 'volume' definition 'percent'. plasma-pa-6.6.4/src/audioicon.cpp:37:34: note: Function 'forVolume' argument 1 names different: declaration 'volume' definition 'percent'. plasma-pa-6.6.4/src/audioicon.cpp:32:42: performance: Function parameter 'formFactor' should be passed by const reference. [passedByValue] plasma-pa-6.6.4/src/devicerenamemodel.cpp:13:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IndexIsValid [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/devicerenamemodel.cpp:75:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLASMAPA [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/devicerenamemodel.cpp:147:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IndexIsValid [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/devicerenamemodel.cpp:64:86: style:inconclusive: Function 'setData' argument 3 names different: declaration 'role' definition 'intRole'. [funcArgNamesDifferent] plasma-pa-6.6.4/src/devicerenamemodel.h:26:85: note: Function 'setData' argument 3 names different: declaration 'role' definition 'intRole'. plasma-pa-6.6.4/src/devicerenamemodel.cpp:64:86: note: Function 'setData' argument 3 names different: declaration 'role' definition 'intRole'. plasma-pa-6.6.4/src/devicerenamemodel.cpp:87:32: style: Local variable 'value' shadows outer argument [shadowArgument] plasma-pa-6.6.4/src/devicerenamemodel.cpp:64:75: note: Shadowed declaration plasma-pa-6.6.4/src/devicerenamemodel.cpp:87:32: note: Shadow variable plasma-pa-6.6.4/src/devicerenamesaver.cpp:58:89: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ready [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/devicerenamesaver.cpp:113:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLASMAPA [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/devicerenamesaver.cpp:144:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/devicerenamesaver.cpp:236:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLASMAPA [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/gconfitem.cpp:53:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Invalid [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/gconfitem.cpp:86:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCONF_VALUE_STRING [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/gconfitem.cpp:95:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCONF_VALUE_STRING [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/gconfitem.cpp:109:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCONF_VALUE_INVALID [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/gconfitem.cpp:138:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCONF_VALUE_BOOL [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/gconfitem.h:78:13: performance: Function 'root()' should return member 'root' by const reference. [returnByReference] plasma-pa-6.6.4/src/gconfitem.cpp:67:76: style: C-style pointer casting [cstyleCast] plasma-pa-6.6.4/src/gconfitem.cpp:73:48: style: C-style pointer casting [cstyleCast] plasma-pa-6.6.4/src/gconfitem.cpp:188:23: style: C-style pointer casting [cstyleCast] plasma-pa-6.6.4/src/gconfitem.cpp:264:40: style: C-style pointer casting [cstyleCast] plasma-pa-6.6.4/src/gconfitem.cpp:282:41: style: C-style pointer casting [cstyleCast] plasma-pa-6.6.4/src/gconfitem.cpp:283:30: style: C-style pointer casting [cstyleCast] plasma-pa-6.6.4/src/gconfitem.cpp:186:76: style:inconclusive: Function 'notify_trampoline' argument 3 names different: declaration '' definition 'entry'. [funcArgNamesDifferentUnnamed] plasma-pa-6.6.4/src/gconfitem.cpp:186:92: style:inconclusive: Function 'notify_trampoline' argument 4 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] plasma-pa-6.6.4/src/gconfitem.cpp:291:37: style:inconclusive: Function 'GConfItem' argument 1 names different: declaration 'keyRoot' definition 'key'. [funcArgNamesDifferent] plasma-pa-6.6.4/src/gconfitem.h:70:39: note: Function 'GConfItem' argument 1 names different: declaration 'keyRoot' definition 'key'. plasma-pa-6.6.4/src/gconfitem.cpp:291:37: note: Function 'GConfItem' argument 1 names different: declaration 'keyRoot' definition 'key'. plasma-pa-6.6.4/src/gsettingsitem.cpp:84:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLASMAPA [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/kcm/module.cpp:17:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Help [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/kded/audioshortcutsservice.cpp:83:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Key_VolumeUp [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/kded/audioshortcutsservice.cpp:261:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RightToLeft [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/kded/audioshortcutsservice.cpp:402:113: style:inconclusive: Function 'applyGlobalSourceMute' argument 3 names different: declaration 'globalMuteMutedDevices' definition 'globalMicMuteMutedDevices'. [funcArgNamesDifferent] plasma-pa-6.6.4/src/kded/audioshortcutsservice.h:54:94: note: Function 'applyGlobalSourceMute' argument 3 names different: declaration 'globalMuteMutedDevices' definition 'globalMicMuteMutedDevices'. plasma-pa-6.6.4/src/kded/audioshortcutsservice.cpp:402:113: note: Function 'applyGlobalSourceMute' argument 3 names different: declaration 'globalMuteMutedDevices' definition 'globalMicMuteMutedDevices'. plasma-pa-6.6.4/src/kded/mutedmicrophonereminder.cpp:129:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PulseObjectRole [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/modulemanager.cpp:75:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable moduleAdded [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/modulemanager.h:40:17: performance: Function 'loadedModules()' should return member 'm_loadedModules' by const reference. [returnByReference] plasma-pa-6.6.4/src/percentvalidator.cpp:12:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Acceptable [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/percentvalidator.cpp:8:55: style:inconclusive: Function 'validate' argument 1 names different: declaration 'input' definition 'input_'. [funcArgNamesDifferent] plasma-pa-6.6.4/src/percentvalidator.h:12:41: note: Function 'validate' argument 1 names different: declaration 'input' definition 'input_'. plasma-pa-6.6.4/src/percentvalidator.cpp:8:55: note: Function 'validate' argument 1 names different: declaration 'input' definition 'input_'. plasma-pa-6.6.4/src/preferreddevice.cpp:41:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RunningState [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/preferreddevice.cpp:60:107: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UniqueConnection [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/preferreddevice.cpp:89:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLASMAPA [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/preferreddevice.cpp:100:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLASMAPA [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/preferreddevice.cpp:86:10: style: Local variable 'sink' shadows outer function [shadowFunction] plasma-pa-6.6.4/src/preferreddevice.h:19:39: note: Shadowed declaration plasma-pa-6.6.4/src/preferreddevice.cpp:86:10: note: Shadow variable plasma-pa-6.6.4/src/preferreddevice.cpp:97:10: style: Local variable 'source' shadows outer function [shadowFunction] plasma-pa-6.6.4/src/preferreddevice.h:20:41: note: Shadowed declaration plasma-pa-6.6.4/src/preferreddevice.cpp:97:10: note: Shadow variable plasma-pa-6.6.4/src/qml/globalservice.cpp:55:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoBlock [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/qml/globalservice.cpp:63:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Block [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/qml/listitemmenu.cpp:192:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Unavailable [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/qml/listitemmenu.cpp:297:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLASMAPA [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/qml/listitemmenu.cpp:252:16: style: Local variable 'hasContent' shadows outer function [shadowFunction] plasma-pa-6.6.4/src/qml/listitemmenu.h:71:10: note: Shadowed declaration plasma-pa-6.6.4/src/qml/listitemmenu.cpp:252:16: note: Shadow variable plasma-pa-6.6.4/src/qml/microphoneindicator.cpp:80:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Hardware [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/qml/plugin.cpp:65:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CppOwnership [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/soundthemeconfig.cpp:16:5: performance: Variable 'm_configWatcher' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] plasma-pa-6.6.4/src/soundthemeconfig.h:22:13: performance: Function 'soundTheme()' should return member 'm_soundTheme' by const reference. [returnByReference] plasma-pa-6.6.4/src/speakertest.cpp:77:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CA_PROP_MEDIA_ROLE [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/speakertest.cpp:118:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CA_SUCCESS [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/speakertest.cpp:37:14: warning: Member variable 'SpeakerTest::m_sink' is not initialized in the constructor. [uninitMemberVar] plasma-pa-6.6.4/src/speakertest.h:28:17: performance: Function 'playingChannels()' should return member 'm_playingChannels' by const reference. [returnByReference] plasma-pa-6.6.4/src/volumefeedback.cpp:17:98: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CA_SUCCESS [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/volumefeedback.cpp:60:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CA_PROP_EVENT_ID [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/volumefeedback.cpp:77:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CA_PROP_EVENT_DESCRIPTION [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/volumefeedback.cpp:30:22: style: Either there is a missing 'override', or the member function 'VolumeFeedback::isValid' can be static. [functionStatic] plasma-pa-6.6.4/src/volumefeedback.h:25:10: note: Either there is a missing 'override', or the member function 'VolumeFeedback::isValid' can be static. plasma-pa-6.6.4/src/volumefeedback.cpp:30:22: note: Either there is a missing 'override', or the member function 'VolumeFeedback::isValid' can be static. plasma-pa-6.6.4/src/volumemonitor.cpp:62:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PA_STREAM_CREATING [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/volumemonitor.cpp:94:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PA_INVALID_INDEX [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/volumemonitor.cpp:178:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLASMAPA [valueFlowBailoutIncompleteVar] plasma-pa-6.6.4/src/volumemonitor.cpp:194:15: style: C-style pointer casting [cstyleCast] plasma-pa-6.6.4/src/volumemonitor.cpp:100:60: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] diff: head plasma-pa-6.6.4/src/gconfitem.cpp:186:76: style:inconclusive: Function 'notify_trampoline' argument 3 names different: declaration '' definition 'entry'. [funcArgNamesDifferentUnnamed] head plasma-pa-6.6.4/src/gconfitem.cpp:186:92: style:inconclusive: Function 'notify_trampoline' argument 4 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] DONE