2025-11-18 22:39 ftp://ftp.de.debian.org/debian/pool/main/q/qjackrcd/qjackrcd_1.2.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --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: 1ca1246 (2025-11-18 18:56:39 +0100) count: 66 66 elapsed-time: 0.1 0.1 head-timing-info: old-timing-info: head results: orouits-qjackrcd-1376037/mainconsole.cpp:10:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] orouits-qjackrcd-1376037/mainconsole.cpp:62:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] orouits-qjackrcd-1376037/qjrmeter.cpp:42:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable white [valueFlowBailoutIncompleteVar] orouits-qjackrcd-1376037/qjrmeter.cpp:61:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable white [valueFlowBailoutIncompleteVar] orouits-qjackrcd-1376037/qjrmeter.cpp:92:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PadSpread [valueFlowBailoutIncompleteVar] orouits-qjackrcd-1376037/mainwindow.cpp:204:126: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShowDirsOnly [valueFlowBailoutIncompleteVar] orouits-qjackrcd-1376037/recorder.h:115:10: style:inconclusive: Either there is a missing 'override', or the member function 'Recorder::isFile' can be const. [functionConst] orouits-qjackrcd-1376037/recorder.h:116:10: style:inconclusive: Either there is a missing 'override', or the member function 'Recorder::isPauseLevel' can be const. [functionConst] orouits-qjackrcd-1376037/recorder.h:134:10: style:inconclusive: Either there is a missing 'override', or the member function 'Recorder::isJackAutoMode' can be const. [functionConst] orouits-qjackrcd-1376037/recorder.h:136:10: style:inconclusive: Either there is a missing 'override', or the member function 'Recorder::isJackTransMode' can be const. [functionConst] orouits-qjackrcd-1376037/recorder.h:138:10: style:inconclusive: Either there is a missing 'override', or the member function 'Recorder::getOutputDir' can be const. [functionConst] orouits-qjackrcd-1376037/recorder.h:140:13: style:inconclusive: Either there is a missing 'override', or the member function 'Recorder::getJackName' can be const. [functionConst] orouits-qjackrcd-1376037/recorder.h:141:10: style:inconclusive: Either there is a missing 'override', or the member function 'Recorder::isShutdown' can be const. [functionConst] orouits-qjackrcd-1376037/recorder.h:144:10: style:inconclusive: Either there is a missing 'override', or the member function 'Recorder::isRecording' can be const. [functionConst] orouits-qjackrcd-1376037/recorder.h:145:10: style:inconclusive: Either there is a missing 'override', or the member function 'Recorder::isPaused' can be const. [functionConst] orouits-qjackrcd-1376037/recorder.h:147:9: style:inconclusive: Either there is a missing 'override', or the member function 'Recorder::getPauseActivationDelay' can be const. [functionConst] orouits-qjackrcd-1376037/recorder.h:149:10: style:inconclusive: Either there is a missing 'override', or the member function 'Recorder::isSplitMode' can be const. [functionConst] orouits-qjackrcd-1376037/recorder.h:151:10: style:inconclusive: Either there is a missing 'override', or the member function 'Recorder::isRecordAtLaunch' can be const. [functionConst] orouits-qjackrcd-1376037/recorder.h:152:13: style:inconclusive: Either there is a missing 'override', or the member function 'Recorder::getCurrentFilePath' can be const. [functionConst] orouits-qjackrcd-1376037/recorder.h:153:13: style:inconclusive: Either there is a missing 'override', or the member function 'Recorder::getProcessFilePath' can be const. [functionConst] orouits-qjackrcd-1376037/recorder.h:155:13: style:inconclusive: Either there is a missing 'override', or the member function 'Recorder::getProcessCmdLine' can be const. [functionConst] orouits-qjackrcd-1376037/recorder.h:156:9: style:inconclusive: Either there is a missing 'override', or the member function 'Recorder::getDiskSpace' can be const. [functionConst] orouits-qjackrcd-1376037/recorder.h:157:9: style:inconclusive: Either there is a missing 'override', or the member function 'Recorder::getOverruns' can be const. [functionConst] orouits-qjackrcd-1376037/recorder.h:159:11: style:inconclusive: Either there is a missing 'override', or the member function 'Recorder::getPauseLevel' can be const. [functionConst] orouits-qjackrcd-1376037/recorder.h:160:11: style:inconclusive: Either there is a missing 'override', or the member function 'Recorder::getLeftLevel' can be const. [functionConst] orouits-qjackrcd-1376037/recorder.h:161:11: style:inconclusive: Either there is a missing 'override', or the member function 'Recorder::getRightLevel' can be const. [functionConst] orouits-qjackrcd-1376037/recorder.h:162:10: style:inconclusive: Either there is a missing 'override', or the member function 'Recorder::getCurrentRecordSize' can be const. [functionConst] orouits-qjackrcd-1376037/recorder.h:163:10: style:inconclusive: Either there is a missing 'override', or the member function 'Recorder::getTotalRecordSize' can be const. [functionConst] orouits-qjackrcd-1376037/mainconsole.h:25:13: style:inconclusive: Either there is a missing 'override', or the member function 'MainConsole::toBoolText' can be const. [functionConst] orouits-qjackrcd-1376037/recorder.h:121:5: style: Class 'Recorder' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] orouits-qjackrcd-1376037/recorder.h:140:13: performance: Function 'getJackName()' should return member 'jackName' by const reference. [returnByReference] orouits-qjackrcd-1376037/recorder.h:152:13: performance: Function 'getCurrentFilePath()' should return member 'currentFilePath' by const reference. [returnByReference] orouits-qjackrcd-1376037/recorder.h:153:13: performance: Function 'getProcessFilePath()' should return member 'processFilePath' by const reference. [returnByReference] orouits-qjackrcd-1376037/recorder.h:155:13: performance: Function 'getProcessCmdLine()' should return member 'processCmdLine' by const reference. [returnByReference] orouits-qjackrcd-1376037/qjrmeter.cpp:41:5: performance: Variable 'colorBack' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] orouits-qjackrcd-1376037/qjrmeter.h:83:5: style: Class 'QJRMeter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] orouits-qjackrcd-1376037/mainwindow.h:49:5: style: Class 'MainWindow' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] orouits-qjackrcd-1376037/recorder.h:131:30: performance: Function parameter 'cns' should be passed by const reference. [passedByValue] orouits-qjackrcd-1376037/recorder.h:132:30: performance: Function parameter 'cns' should be passed by const reference. [passedByValue] orouits-qjackrcd-1376037/recorder.h:154:36: performance: Function parameter 'cmdLine' should be passed by const reference. [passedByValue] orouits-qjackrcd-1376037/mainwindow.cpp:98:56: style:inconclusive: Function 'on_pauseDelaySpin_valueChanged' argument 1 names different: declaration 'value' definition 'secs'. [funcArgNamesDifferent] orouits-qjackrcd-1376037/mainwindow.h:63:48: note: Function 'on_pauseDelaySpin_valueChanged' argument 1 names different: declaration 'value' definition 'secs'. orouits-qjackrcd-1376037/mainwindow.cpp:98:56: note: Function 'on_pauseDelaySpin_valueChanged' argument 1 names different: declaration 'value' definition 'secs'. orouits-qjackrcd-1376037/mainwindow.cpp:103:56: style:inconclusive: Function 'on_pauseLevelSpin_valueChanged' argument 1 names different: declaration 'value' definition 'level'. [funcArgNamesDifferent] orouits-qjackrcd-1376037/mainwindow.h:62:48: note: Function 'on_pauseLevelSpin_valueChanged' argument 1 names different: declaration 'value' definition 'level'. orouits-qjackrcd-1376037/mainwindow.cpp:103:56: note: Function 'on_pauseLevelSpin_valueChanged' argument 1 names different: declaration 'value' definition 'level'. orouits-qjackrcd-1376037/mainwindow.cpp:197:61: style:inconclusive: Function 'on_optRecordAtLaunchCheck_stateChanged' argument 1 names different: declaration 'arg1' definition 'value'. [funcArgNamesDifferent] orouits-qjackrcd-1376037/mainwindow.h:74:53: note: Function 'on_optRecordAtLaunchCheck_stateChanged' argument 1 names different: declaration 'arg1' definition 'value'. orouits-qjackrcd-1376037/mainwindow.cpp:197:61: note: Function 'on_optRecordAtLaunchCheck_stateChanged' argument 1 names different: declaration 'arg1' definition 'value'. orouits-qjackrcd-1376037/recorder.cpp:119:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JackNullOption [valueFlowBailoutIncompleteVar] orouits-qjackrcd-1376037/recorder.cpp:172:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JackTransportStopped [valueFlowBailoutIncompleteVar] orouits-qjackrcd-1376037/recorder.cpp:377:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SF_FORMAT_WAV [valueFlowBailoutIncompleteVar] orouits-qjackrcd-1376037/recorder.cpp:472:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SkipEmptyParts [valueFlowBailoutIncompleteVar] orouits-qjackrcd-1376037/recorder.cpp:482:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JackPortIsOutput [valueFlowBailoutIncompleteVar] orouits-qjackrcd-1376037/recorder.cpp:97:5: performance: Variable 'outputDir' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] orouits-qjackrcd-1376037/recorder.cpp:71:13: style: C-style pointer casting [cstyleCast] orouits-qjackrcd-1376037/recorder.cpp:76:13: style: C-style pointer casting [cstyleCast] orouits-qjackrcd-1376037/recorder.cpp:81:6: style: C-style pointer casting [cstyleCast] orouits-qjackrcd-1376037/recorder.cpp:86:6: style: C-style pointer casting [cstyleCast] orouits-qjackrcd-1376037/recorder.cpp:182:39: style: C-style pointer casting [cstyleCast] orouits-qjackrcd-1376037/recorder.cpp:183:39: style: C-style pointer casting [cstyleCast] orouits-qjackrcd-1376037/recorder.cpp:466:20: style: C-style pointer casting [cstyleCast] orouits-qjackrcd-1376037/recorder.cpp:200:52: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] orouits-qjackrcd-1376037/recorder.cpp:202:52: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] orouits-qjackrcd-1376037/recorder.cpp:411:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] orouits-qjackrcd-1376037/recorder.cpp:200:52: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] orouits-qjackrcd-1376037/recorder.cpp:202:52: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] orouits-qjackrcd-1376037/recorder.cpp:411:42: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] orouits-qjackrcd-1376037/recorder.cpp:93:28: performance: Function parameter 'jackName' should be passed by const reference. [passedByValue] orouits-qjackrcd-1376037/recorder.cpp:471:43: performance: Function parameter 'cnxLine' should be passed by const reference. [passedByValue] orouits-qjackrcd-1376037/recorder.cpp:182:34: style: Variable 'in1' can be declared as pointer to const [constVariablePointer] orouits-qjackrcd-1376037/recorder.cpp:183:34: style: Variable 'in2' can be declared as pointer to const [constVariablePointer] diff: DONE