2025-11-18 22:39 ftp://ftp.de.debian.org/debian/pool/main/q/qjoypad/qjoypad_4.3.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=qt --library=motif --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: 1ca1246 (2025-11-18 18:56:39 +0100) count: 44 44 elapsed-time: 0.2 0.2 head-timing-info: old-timing-info: head results: qjoypad-4.3.1/src/error.h:11:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QJOYPAD_NAME [valueFlowBailoutIncompleteVar] qjoypad-4.3.1/src/joyslider.h:39:13: style:inconclusive: Either there is a missing 'override', or the member function 'JoySlider::deadZone' can be const. [functionConst] qjoypad-4.3.1/src/joyslider.h:40:13: style:inconclusive: Either there is a missing 'override', or the member function 'JoySlider::xZone' can be const. [functionConst] qjoypad-4.3.1/src/keycode.h:22:13: style:inconclusive: Either there is a missing 'override', or the member function 'KeyButton::getValue' can be const. [functionConst] qjoypad-4.3.1/src/keycode.h:23:13: style:inconclusive: Either there is a missing 'override', or the member function 'KeyButton::choseMouse' can be const. [functionConst] qjoypad-4.3.1/src/axis.h:32:3: style: Class 'Axis' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] qjoypad-4.3.1/src/flash.h:19:9: style: Class 'FlashButton' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] qjoypad-4.3.1/src/axis_edit.h:19:3: style: Class 'AxisEdit' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] qjoypad-4.3.1/src/axis_edit.cpp:10:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QJOYPAD_ICON24 [valueFlowBailoutIncompleteVar] qjoypad-4.3.1/src/button_edit.cpp:13:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QJOYPAD_ICON24 [valueFlowBailoutIncompleteVar] qjoypad-4.3.1/src/button.h:17:3: style: Class 'Button' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] qjoypad-4.3.1/src/button_edit.h:18:3: style: Class 'ButtonEdit' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] qjoypad-4.3.1/src/flash.cpp:15:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Inactive [valueFlowBailoutIncompleteVar] qjoypad-4.3.1/src/icon.cpp:9:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WA_QuitOnClose [valueFlowBailoutIncompleteVar] qjoypad-4.3.1/src/icon.cpp:20:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RightButton [valueFlowBailoutIncompleteVar] qjoypad-4.3.1/src/icon.h:15:9: style: Class 'FloatingIcon' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] qjoypad-4.3.1/src/flash.cpp:67:22: style:inconclusive: Either there is a missing 'override', or the member function 'FlashRadioArray::getState' can be const. [functionConst] qjoypad-4.3.1/src/flash.h:43:7: note: Either there is a missing 'override', or the member function 'FlashRadioArray::getState' can be const. qjoypad-4.3.1/src/flash.cpp:67:22: note: Either there is a missing 'override', or the member function 'FlashRadioArray::getState' can be const. qjoypad-4.3.1/src/button.cpp:119:14: style:inconclusive: Either there is a missing 'override', or the member function 'Button::isDefault' can be const. [functionConst] qjoypad-4.3.1/src/button.h:30:8: note: Either there is a missing 'override', or the member function 'Button::isDefault' can be const. qjoypad-4.3.1/src/button.cpp:119:14: note: Either there is a missing 'override', or the member function 'Button::isDefault' can be const. qjoypad-4.3.1/src/joypadw.cpp:92:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JS_EVENT_INIT [valueFlowBailoutIncompleteVar] qjoypad-4.3.1/src/joypad.cpp:80:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JSIOCGAXES [valueFlowBailoutIncompleteVar] qjoypad-4.3.1/src/joypad.cpp:234:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JS_EVENT_INIT [valueFlowBailoutIncompleteVar] qjoypad-4.3.1/src/joypad.cpp:257:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable js_event [valueFlowBailoutIncompleteVar] qjoypad-4.3.1/src/quickset.h:24:9: style: Class 'QuickSet' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] qjoypad-4.3.1/src/joyslider.cpp:147:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gray [valueFlowBailoutIncompleteVar] qjoypad-4.3.1/src/keycode.cpp:87:5: performance: Variable 'buttonname' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] qjoypad-4.3.1/src/keydialog.hpp:19:5: style: Class 'KeyDialog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] qjoypad-4.3.1/src/joypad.cpp:276:31: style:inconclusive: Function 'focusChange' argument 1 names different: declaration 'windowHasFocus' definition 'focusState'. [funcArgNamesDifferent] qjoypad-4.3.1/src/joypad.h:81:31: note: Function 'focusChange' argument 1 names different: declaration 'windowHasFocus' definition 'focusState'. qjoypad-4.3.1/src/joypad.cpp:276:31: note: Function 'focusChange' argument 1 names different: declaration 'windowHasFocus' definition 'focusState'. qjoypad-4.3.1/src/joypad.cpp:129:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] qjoypad-4.3.1/src/joypad.cpp:132:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] qjoypad-4.3.1/src/joyslider.cpp:64:16: style:inconclusive: Either there is a missing 'override', or the member function 'JoySlider::valueFrom' can be const. [functionConst] qjoypad-4.3.1/src/joyslider.h:69:7: note: Either there is a missing 'override', or the member function 'JoySlider::valueFrom' can be const. qjoypad-4.3.1/src/joyslider.cpp:64:16: note: Either there is a missing 'override', or the member function 'JoySlider::valueFrom' can be const. qjoypad-4.3.1/src/keydialog.cpp:26:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Accepted [valueFlowBailoutIncompleteVar] qjoypad-4.3.1/src/keydialog.cpp:45:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Key_Control [valueFlowBailoutIncompleteVar] qjoypad-4.3.1/src/keydialog.cpp:54:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Key_Control [valueFlowBailoutIncompleteVar] qjoypad-4.3.1/src/keydialog.cpp:21:71: style:inconclusive: Function 'getKey' argument 3 names different: declaration 'mousePressed' definition 'mouseOut'. [funcArgNamesDifferent] qjoypad-4.3.1/src/keydialog.hpp:26:79: note: Function 'getKey' argument 3 names different: declaration 'mousePressed' definition 'mouseOut'. qjoypad-4.3.1/src/keydialog.cpp:21:71: note: Function 'getKey' argument 3 names different: declaration 'mousePressed' definition 'mouseOut'. qjoypad-4.3.1/src/layout.cpp:313:24: error: There is an unknown macro here somewhere. Configuration is required. If QJOYPAD_NAME is a macro then please configure it. [unknownMacro] qjoypad-4.3.1/src/keycode.cpp:83:31: performance: Function parameter 'name' should be passed by const reference. [passedByValue] qjoypad-4.3.1/src/layout_edit.cpp:19:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WA_DeleteOnClose [valueFlowBailoutIncompleteVar] qjoypad-4.3.1/src/main.cpp:55:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QJOYPAD_L10N_DIR [valueFlowBailoutIncompleteVar] qjoypad-4.3.1/src/layout_edit.h:20:9: style: Class 'LayoutEdit' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] qjoypad-4.3.1/src/layout_edit.cpp:154:10: style: C-style pointer casting [cstyleCast] qjoypad-4.3.1/src/layout_edit.cpp:177:5: style: Variable 'joypad' can be declared as pointer to const [constVariablePointer] qjoypad-4.3.1/src/quickset.cpp:25:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JS_EVENT_INIT [valueFlowBailoutIncompleteVar] qjoypad-4.3.1/src/main.cpp:189:13: style: The scope of the variable 'pid' can be reduced. [variableScope] qjoypad-4.3.1/src/axis.cpp:256:12: style:inconclusive: Either there is a missing 'override', or the member function 'Axis::isDefault' can be const. [functionConst] qjoypad-4.3.1/src/axis.h:45:8: note: Either there is a missing 'override', or the member function 'Axis::isDefault' can be const. qjoypad-4.3.1/src/axis.cpp:256:12: note: Either there is a missing 'override', or the member function 'Axis::isDefault' can be const. diff: DONE